No connection to Lightburn after upgrading to Ubuntu 22.04

I have been using Lightburn 1.1 under Ubuntu 21.10 with no troubles on an Asus Core I7 laptop.
I then upgraded Ubuntu to 22.04 and found that Lightburn could not connect to my Sculpfun S9 laser.
I performed an lsusb command and found the"1a86:7523 QinHeng Electronics CH340 serial converter(found in my Sculpfun) was recognised by Ubuntu. I then performed a dmesg command and found that the CHG340 serial converter had been linked to my Webcam, making it unavailable to Lightburn.

Then I issued the command grep -riIn ā€œ1a86:7523ā€ /usr/lib/udev/rules.d/*
and this returned the result
/usr/lib/udev/rules.d/85-brltty.rules:330:# Device: 1A86:7523

Ah, that was what was wrong. My 1A86:7523 CHG340 had been claimed as a Braille device.
I commented out the offending line,
ENV{PRODUCT}==ā€œ1a86/7523/*ā€, ENV{BRLTTY_BRAILLE_DRIVER}=ā€œbmā€, GOTO=ā€œbrltty_usb_runā€

But I still wasn’t out of the woods. I still could not access the laser.
Next I added the following line to /usr/lib/udev/rules.d/70-uaccess.rules
SUBSYSTEM==ā€œttyā€, ATTRS{idVendor}==ā€œ1a86ā€, ATTRS{idProduct}==ā€œ7523ā€, GROUP=ā€œusersā€, MODE=ā€œ0666ā€
after
3D printers, CNC machines, laser cutters, 3D scanners, etc.

I restarted the machine and success. Lightburn can access my Sculpfun S9 from Ubuntu 22.04

I hope this information can be useful to any other Ubuntu user who cannot access his laser after upgrading Ubuntu.

Probably needed to reload udev rules…

Should stop communications, reload ā€˜rules’ and the triggers and restart communications… I usually get away with just

udevadm control --reload-rules
udevadm trigger

It should avoid a re-boot.

:smile_cat:

Good point

Anytime you modify the source data to a system ā€˜part’ you need to ā€˜roll it over’ so it restarts and re-reads the data. You have to play the same game with DHCP and other system ā€˜things’…


Funny, when I first went to work in computers, I fixed terminals. It was rather surprising to go to someone cubical at night and find they have a braille terminal…

Couldn’t fix it without their help… :crazy_face:


Take care

:smile_cat: