Has anyone had success controlling a Creality Falcon2 laser engraver under Linux with LightBurn? Specifically, Linux debian versions such as Ubuntu and Mint.
When I connect the laser, Lightburn reports “Laser Ready.”
In the terminal window where I started Lightburn from the commandline, I see “Port open succeeded”.
A port /dev/ttyACM0 is created.
However, in the Lightburn console I see “Waiting for connection.”
I’m running Ubuntu 20.04.
I have followed the instructions including “sudo adduser $USER dialout && sudo adduser $USER tty”
Debian is the hardcore Linux OS… it has no proprietary software supplied with it. I think all Linux distributions have their roots in Debian.
Ubuntu is much more lax in terms of proprietary software.
From what I’ve picked up, your laser has a ch340 usb chip that should work with the stock Ubuntu.
On Ubuntu, even if the chip isn’t supported with the installed driver (module) it’s likely present on your machine and you shouldn’t have to download it from anywhere.
You see the ACM0 connection created when you plugged in your laser, so it probably has the proper driver.
Did the adduser $USER dialout && sudo adduser $USER tty execute with no error messages?
When you update a logged in users groups, you probably have to log out and log back in to have it implemented. Or reboot, whichever is most simple.
If so I’d suggest an ls -l on ACM0 to ensure everything is set properly.
It sound like it’s a protection or access violation issue as the OS is seeing the laser, but not allowing a connection.
Can you see the ACM0 entry in the ports for the device in Lightburn?
Might have a watch of this video and see if it helps…
The only time I’ve had to mess with drivers was when I purchased an $80 laser and it had a 2102 usb chip on it. The driver (module) was on the machine, just not installed…
Because that device node is created on the fly, changing the permissions only affects the current instantiation. The next time the device appears (which may be after a USB glitch), it’ll have the default permissions again.
However, maybe the defaults are fine. Take a look at them after you plug it in:
ls -l /dev/ttyACM*
Which looks like this for a knockoff Arduino board from my heap:
crw-rw---- 1 root uucp 166, 0 Oct 21 11:06 /dev/ttyACM0
Note that the board is in the uucp group, which may not be true for your laser controller. Check to make sure you’re in the same group, whatever it may be:
groups
sys tty network scanner power docker video uucp optical lp audio wheel ed plugdev
If you’re not in (for this example) uucp, then add yourself:
sudo adduser $USER uucp
Then log out, log back in again, and it should be all good.