Have been working on setting up the new laser today, and having trouble getting Lightburn to “find my laser”.
I’m running Ubuntu 20.04, trying to connect to a Longer B1 40w. The manual has a Lightburn section, but when I try to import the machine file from the included SD card (Longer B1 40w.lbdev), that file is missing from the card. Probably was left out when shipped from the factory; that’s the kind of luck I have with stuff.
I can see the laser connected to the system on my usb port when looking at dmesg and lsusb.
Does anyone have a copy of Longer B1 40w.lbdev that you could send me? As near as I can tell, it’s probably just a standard settings file, and shouldn’t really be OS specific, but might be helpful for tweaking settings.
Thanks in advance, I’m getting a little bit frustrated with this. Probably should have gone with an older, more established machine for my first laser.
Try configuring the laser manually:
GRBL
450x440 mm (X, Y)
Serial/USB
Front-left origin
Enable Auto-home on startup
1 Like
Thanks, have done that, no joy. I’m hoping there some other setting missing in my Device Settings page. I have baud rate set to 115,200 as recommended.
EDIT: my working area I have set to 400x400, fyi
Is a port being created for the laser?
What does dmesga nd lsusb show?
Did you also go through the process of setting group permissions for your user as specified in the documentation?
Yes, on the group settings, added my user (well, the generic $USER) to the dialout and tty groups. I can see the laser on dmesg and lsusb.
Can you post the actual results of those commands? Can you confirm that a TTL port is being created for the laser?
Yes. I’ll need to go back out to the shop to reconnect. I’ll sent you the tail on dmesg, no reason to spit the whole mess out here.
Any reason for this? It should work but you won’t be addressing the full area of the laser.
One other thing to check is to make sure the correct port is being selected in Laser window. That’s how LightBurn determines which port to connect to.
root@bezalel:/home/kkuehn# uname -a
Linux bezalel 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
root@bezalel:/home/kkuehn# groups
root tty dialout
root@bezalel:/home/kkuehn# lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 05e3:0761 Genesys Logic, Inc. Genesys Mass Storage Device
Bus 003 Device 004: ID 0408:5300 Quanta Computer, Inc. USB Storage
Bus 003 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0bda:b00b Realtek Semiconductor Corp. Bluetooth Radio
Bus 001 Device 008: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 001 Device 002: ID 062a:5918 MosArt Semiconductor Corp. 2.4G Keyboard Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@bezalel:/home/kkuehn# dmesg | tail -n 30
[ 4704.777047] wlo1: deauthenticating from 50:d4:f7:d1:56:5d by local choice (Reason: 3=DEAUTH_LEAVING)
[ 4704.831058] rtw_pci 0000:01:00.0: sta 50:d4:f7:d1:56:5d with macid 0 left
[ 4709.300341] wlo1: authenticate with 50:d4:f7:d1:56:5d
[ 4709.831083] wlo1: send auth to 50:d4:f7:d1:56:5d (try 1/3)
[ 4709.834634] wlo1: authenticated
[ 4709.835048] wlo1: associate with 50:d4:f7:d1:56:5d (try 1/3)
[ 4709.855694] wlo1: RX AssocResp from 50:d4:f7:d1:56:5d (capab=0xc11 status=0 aid=11)
[ 4709.855723] rtw_pci 0000:01:00.0: sta 50:d4:f7:d1:56:5d joined with macid 0
[ 4709.856019] wlo1: associated
[ 4710.338897] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
[ 4716.611663] wlo1: deauthenticating from 50:d4:f7:d1:56:5d by local choice (Reason: 3=DEAUTH_LEAVING)
[ 4716.671240] rtw_pci 0000:01:00.0: sta 50:d4:f7:d1:56:5d with macid 0 left
[ 4725.444776] wlo1: authenticate with b0:7f:b9:9e:b6:55
[ 4726.035300] wlo1: send auth to b0:7f:b9:9e:b6:55 (try 1/3)
[ 4726.035765] wlo1: authenticated
[ 4726.039280] wlo1: associate with b0:7f:b9:9e:b6:55 (try 1/3)
[ 4726.040253] wlo1: RX AssocResp from b0:7f:b9:9e:b6:55 (capab=0x1011 status=0 aid=11)
[ 4726.040279] rtw_pci 0000:01:00.0: sta b0:7f:b9:9e:b6:55 joined with macid 0
[ 4726.040633] wlo1: associated
[ 4726.054584] IPv6: ADDRCONF(NETDEV_CHANGE): wlo1: link becomes ready
[ 4726.609500] [UFW BLOCK] IN=wlo1 OUT= MAC=01:00:5e:00:00:01:b0:7f:b9:9e:b6:56:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2
[ 4727.834008] [UFW BLOCK] IN=wlo1 OUT= MAC=01:00:5e:00:00:01:b0:7f:b9:9e:b6:56:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2
[ 4727.850799] [UFW BLOCK] IN=wlo1 OUT= MAC=ec:5c:68:83:45:67:44:d8:78:d2:cb:fd:08:00 SRC=192.168.1.11 DST=192.168.1.47 LEN=349 TOS=0x00 PREC=0x00 TTL=64 ID=35634 DF PROTO=UDP SPT=1900 DPT=49086 LEN=329
[ 4728.190876] [UFW BLOCK] IN=wlo1 OUT= MAC=ec:5c:68:83:45:67:74:ec:b2:2f:c0:25:08:00 SRC=192.168.1.23 DST=192.168.1.47 LEN=397 TOS=0x00 PREC=0x00 TTL=64 ID=24643 DF PROTO=UDP SPT=60000 DPT=49086 LEN=377
[ 4729.073222] [UFW BLOCK] IN=wlo1 OUT= MAC=ec:5c:68:83:45:67:62:38:e0:3a:04:a2:08:00 SRC=192.168.1.3 DST=192.168.1.47 LEN=390 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=1900 DPT=49086 LEN=370
[ 4729.073698] [UFW BLOCK] IN=wlo1 OUT= MAC=ec:5c:68:83:45:67:62:38:e0:3a:04:a2:08:00 SRC=192.168.1.3 DST=192.168.1.47 LEN=390 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=1900 DPT=49086 LEN=370
[ 4729.141854] [UFW BLOCK] IN=wlo1 OUT= MAC=ec:5c:68:83:45:67:74:ec:b2:2f:c0:25:08:00 SRC=192.168.1.23 DST=192.168.1.47 LEN=397 TOS=0x00 PREC=0x00 TTL=64 ID=24677 DF PROTO=UDP SPT=60000 DPT=49086 LEN=377
[ 4729.218725] [UFW BLOCK] IN=wlo1 OUT= MAC=ec:5c:68:83:45:67:62:38:e0:3a:04:a4:08:00 SRC=192.168.1.17 DST=192.168.1.47 LEN=514 TOS=0x00 PREC=0x00 TTL=128 ID=53960 PROTO=UDP SPT=1900 DPT=49086 LEN=494
[ 4729.493956] [UFW BLOCK] IN=wlo1 OUT= MAC=ec:5c:68:83:45:67:44:d8:78:d2:cb:fd:08:00 SRC=192.168.1.11 DST=192.168.1.47 LEN=349 TOS=0x00 PREC=0x00 TTL=64 ID=35685 DF PROTO=UDP SPT=1900 DPT=49086 LEN=329
[ 4729.536234] [UFW BLOCK] IN=wlo1 OUT= MAC=ec:5c:68:83:45:67:62:38:e0:3a:04:a2:08:00 SRC=192.168.1.3 DST=192.168.1.47 LEN=390 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=1900 DPT=49086 LEN=370
root@bezalel:/home/kkuehn#
That’s what I thought the working area of the laser is. 400x400 is what is advertised. The working area of my honeycomb is only 400x400.
Still looking for the port setting in Lightburn…oops, nm, it shows up dynamically. it’s finding port ttyUSB0
berainlb
(PY)
January 6, 2024, 8:14pm
12
I don’t see anything in that dmesg output relevant to a USB device. Can you re-power the device while connected and capture the latest information?
Port selection is here in yellow:
berainlb
(PY)
January 6, 2024, 8:15pm
13
oh, yep, you’re right on the working area. My honeycomb only goes to 400x400, I don’t want to go beyond that and set my bench on fire.
jkwilborn
(Jack Wilborn)
January 6, 2024, 8:23pm
15
You need to unplug then plug the machine back in… using tail you only get the last things in dmesg.
This is on Ubuntu also… it should look similar.
jack@Kilo:~$ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 25a7:fa67
Bus 001 Device 003: ID 062a:4102 MosArt Semiconductor Corp.
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 005: ID 9588:9899 BJJCZ USBLMCV4
Bus 003 Device 003: ID 056a:0011 Wacom Co., Ltd ET-0405A [Graphire2 (4x5)]
Bus 003 Device 006: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
jack@Kilo:~$ sudo dmesg | tail
[sudo] password for jack:
[203504.439440] usb 3-4: SerialNumber: 20200507
[213947.768526] usb 3-2: USB disconnect, device number 2
[213947.768781] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[213947.768804] ch341 3-2:1.0: device disconnected
[213959.122920] usb 3-2: new full-speed USB device number 6 using xhci_hcd
[213959.271702] usb 3-2: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.64
[213959.271710] usb 3-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[213959.271714] usb 3-2: Product: USB Serial
[213959.273325] ch341 3-2:1.0: ch341-uart converter detected
[213959.273751] usb 3-2: ch341-uart converter now attached to ttyUSB0
jack@Kilo:~$
Quick script to show the port :
for sysdevpath in $(find /sys/bus/usb/devices/usb*/ -name dev); do ( syspath=“${sysdevpath%/dev}”; devname=“$(udevadm info -q name -p $syspath)”; [[ “$devname” == “bus/”* ]] && exit; eval “$(udevadm info -q property --export -p $syspath)”; [[ -z “$ID_SERIAL” ]] && exit; echo “/dev/$devname - $ID_SERIAL”; ); done
/dev/ttyUSB0 - 1a86_USB_Serial
/dev/input/event6 - MOSART_Semi._2.4G_Keyboard_Mouse
/dev/input/event8 - MOSART_Semi._2.4G_Keyboard_Mouse
/dev/input/event9 - MOSART_Semi._2.4G_Keyboard_Mouse
/dev/input/event7 - MOSART_Semi._2.4G_Keyboard_Mouse
/dev/input/mouse1 - MOSART_Semi._2.4G_Keyboard_Mouse
/dev/input/event10 - MOSART_Semi._2.4G_Keyboard_Mouse
/dev/sdc - Generic_MassStorageClass_000000002402-0:0
/dev/video1 - Quanta_HP_Wide_Vision_HD_Camera_200901010001
/dev/video0 - Quanta_HP_Wide_Vision_HD_Camera_200901010001
/dev/input/event14 - Quanta_HP_Wide_Vision_HD_Camera_200901010001
and the dmesg again:
root@bezalel:/home/kkuehn# dmesg | tail -n 30
[ 5692.694490] rtw_pci 0000:01:00.0: failed to send h2c command
[ 5714.359042] [UFW BLOCK] IN=wlo1 OUT= MAC=01:00:5e:00:00:01:b0:7f:b9:9e:b6:56:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2
[ 5744.874130] rtw_pci 0000:01:00.0: failed to send h2c command
[ 5746.103158] [UFW BLOCK] IN=wlo1 OUT= MAC=01:00:5e:00:00:01:b0:7f:b9:9e:b6:56:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2
[ 5747.126998] [UFW BLOCK] IN=wlo1 OUT= MAC=01:00:5e:00:00:01:b0:7f:b9:9e:b6:56:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2
[ 5774.570459] [UFW BLOCK] IN=wlo1 OUT= MAC=01:00:5e:00:00:01:b0:7f:b9:9e:b6:56:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2
[ 5806.110303] [UFW BLOCK] IN=wlo1 OUT= MAC=01:00:5e:00:00:01:b0:7f:b9:9e:b6:56:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2
[ 5806.110503] [UFW BLOCK] IN=wlo1 OUT= MAC=33:33:00:00:00:00:b0:7f:b9:9e:b6:56:86:dd SRC=0000:0000:0000:0000:0000:0000:0000:0000 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=72 TC=0 HOPLIMIT=1 FLOWLBL=0 PROTO=ICMPv6 TYPE=130 CODE=0
[ 5807.338453] [UFW BLOCK] IN=wlo1 OUT= MAC=01:00:5e:00:00:01:b0:7f:b9:9e:b6:56:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2
[ 5834.781910] [UFW BLOCK] IN=wlo1 OUT= MAC=01:00:5e:00:00:01:b0:7f:b9:9e:b6:56:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2
[ 5866.526383] [UFW BLOCK] IN=wlo1 OUT= MAC=01:00:5e:00:00:01:b0:7f:b9:9e:b6:56:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2
[ 5867.549952] [UFW BLOCK] IN=wlo1 OUT= MAC=01:00:5e:00:00:01:b0:7f:b9:9e:b6:56:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2
[ 5877.403302] usb 1-3: USB disconnect, device number 9
[ 5877.403737] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 5877.403765] ch341 1-3:1.0: device disconnected
[ 5885.033248] usb 1-3: new full-speed USB device number 10 using xhci_hcd
[ 5885.194901] usb 1-3: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.64
[ 5885.194905] usb 1-3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 5885.194908] usb 1-3: Product: USB Serial
[ 5885.208992] ch341 1-3:1.0: ch341-uart converter detected
[ 5885.223032] usb 1-3: ch341-uart converter now attached to ttyUSB0
[ 5894.993390] [UFW BLOCK] IN=wlo1 OUT= MAC=01:00:5e:00:00:01:b0:7f:b9:9e:b6:56:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2
[ 5923.664946] rtw_pci 0000:01:00.0: failed to send h2c command
[ 5926.737311] [UFW BLOCK] IN=wlo1 OUT= MAC=01:00:5e:00:00:01:b0:7f:b9:9e:b6:56:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2
[ 5927.763552] [UFW BLOCK] IN=wlo1 OUT= MAC=01:00:5e:00:00:01:b0:7f:b9:9e:b6:56:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2
[ 5931.447990] [UFW BLOCK] IN=wlo1 OUT= MAC=33:33:00:00:00:00:b0:7f:b9:9e:b6:56:86:dd SRC=0000:0000:0000:0000:0000:0000:0000:0000 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=72 TC=0 HOPLIMIT=1 FLOWLBL=0 PROTO=ICMPv6 TYPE=130 CODE=0
[ 5955.204822] [UFW BLOCK] IN=wlo1 OUT= MAC=01:00:5e:00:00:01:b0:7f:b9:9e:b6:56:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2
[ 5955.716167] rtw_pci 0000:01:00.0: failed to send h2c command
[ 5986.948722] [UFW BLOCK] IN=wlo1 OUT= MAC=01:00:5e:00:00:01:b0:7f:b9:9e:b6:56:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2
[ 5987.972635] [UFW BLOCK] IN=wlo1 OUT= MAC=01:00:5e:00:00:01:b0:7f:b9:9e:b6:56:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2
root@bezalel:/home/kkuehn#
berainlb
(PY)
January 6, 2024, 8:39pm
18
Does ttyUSB0 show in LightBurn?
Yeah, I’ve manually removed and re-added the device in lightburn, swapped usb connections, and it keeps auto-discovering ttyUSB0. It looks like it can see it, but can’t “home” or anything.
berainlb
(PY)
January 6, 2024, 8:42pm
20
So the device is being detected and connecting? What does Console show?
Also, noticed you’re running as root. Do you always do so?