Skip to content

Instantly share code, notes, and snippets.

@mhp
Last active April 25, 2018 08:35
Show Gist options
  • Save mhp/0ae67edca8c13f4f3753ab4b8302ad7a to your computer and use it in GitHub Desktop.
Save mhp/0ae67edca8c13f4f3753ab4b8302ad7a to your computer and use it in GitHub Desktop.
Running LaserCutEngrave under Linux

Running LaserCutEngrave under Linux

These steps were written for Ubuntu 17.10. They may work for other versions and distributions.

Install Wine

sudo apt-get install wine-stable

Unpack LaserCutEngrave in a suitable directory and run once

unzip ~/Downloads/LaserCutEngrave.zip -d ~

wine ~/LaserCutEngrave/LaserCutEngrave.exe

Running once ensures wine is set up correctly, before we start adding access to the device. You can use all the normal functionality at this point except accessing the laser cutter itself.

Configure access to lasercutter device

echo 'SUBSYSTEM=="tty", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="0220",SYMLINK+="lasercutter"' | sudo tee /etc/udev/rules.d/50-lasercutter.rules

ln -s /dev/lasercutter ~/.wine/dosdevices/com1

sudo adduser $USER dialout

You will probably need to log out and log back in after the adduser.

Run LaserCutEngrave!

Connect the USB cable and run the software:

wine ~/LaserCutEngrave/LaserCutEngrave.exe

In the panel on the right, the UnConnected message should change to COM1:Laser-Idle after a few seconds. If not, click ... and try to connect to COM1 manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment