Can´t run ls /dev/serial/by-id/*

Basic Information:

Printer Model: Ender 3 Stock
MCU / Printerboard: 4.2.2 chip: GD32F303
klippy.log
klippy.log (56.8 KB)

Describe your issue:

Hello,
im trying to use klipper on my stock ender 3 im using a linux mint laptop and when I run:
ls /dev/serial/by-id/*
Or
ls /dev/serial/by-path/*
The error is no such file or directory
ive trien difernt usb cables and ports but is the same the cable used is good becouse i used it before to upload code to an esp32.
i runned sudo dmesg and the outcome is:
````Preformatted text`

[68320.296543] usb 7-1: USB disconnect, device number 3
[68320.815613] [UFW BLOCK] IN=enp0s25 OUT= MAC=33:33:00:00:00:0c:00:21:5c:69:e6:1d:86:dd SRC=fe80:0000:0000:0000:9eef:d941:eafb:7415 DST=ff02:0000:0000:0000:0000:0000:0000:000c LEN=655 TC=0 HOPLIMIT=1 FLOWLBL=530613 PROTO=UDP SPT=51463 DPT=3702 LEN=615
[68322.580856] [UFW BLOCK] IN=enp0s25 OUT= MAC=00:1e:ec:9e:82:9a:38:14:28:13:1c:84:08:00 SRC=192.168.1.5 DST=192.168.1.18 LEN=1255 TOS=0x00 PREC=0x00 TTL=128 ID=36494 PROTO=UDP SPT=3702 DPT=46561 LEN=1235
[68322.758599] [UFW BLOCK] IN=enp0s25 OUT= MAC=00:1e:ec:9e:82:9a:38:14:28:13:1c:84:08:00 SRC=192.168.1.5 DST=192.168.1.18 LEN=1255 TOS=0x00 PREC=0x00 TTL=128 ID=36495 PROTO=UDP SPT=3702 DPT=46561 LEN=1235
[68322.984910] [UFW BLOCK] IN=wlp16s0 OUT= MAC=00:21:5c:69:e6:1d:38:14:28:13:1c:84:08:00 SRC=192.168.1.5 DST=192.168.1.17 LEN=1255 TOS=0x00 PREC=0x00 TTL=128 ID=62894 PROTO=UDP SPT=3702 DPT=51751 LEN=1235
[68323.089908] [UFW BLOCK] IN=enp0s25 OUT= MAC=00:1e:ec:9e:82:9a:38:14:28:13:1c:84:08:00 SRC=192.168.1.5 DST=192.168.1.18 LEN=1255 TOS=0x00 PREC=0x00 TTL=128 ID=36496 PROTO=UDP SPT=3702 DPT=46561 LEN=1235
[68323.189644] [UFW BLOCK] IN=wlp16s0 OUT= MAC=00:21:5c:69:e6:1d:38:14:28:13:1c:84:08:00 SRC=192.168.1.5 DST=192.168.1.17 LEN=1255 TOS=0x00 PREC=0x00 TTL=128 ID=62895 PROTO=UDP SPT=3702 DPT=51751 LEN=1235
[68323.496780] [UFW BLOCK] IN=wlp16s0 OUT= MAC=00:21:5c:69:e6:1d:38:14:28:13:1c:84:08:00 SRC=192.168.1.5 DST=192.168.1.17 LEN=1255 TOS=0x00 PREC=0x00 TTL=128 ID=62896 PROTO=UDP SPT=3702 DPT=51751 LEN=1235
[68328.460422] usb 7-1: new full-speed USB device number 4 using uhci_hcd
[68328.644476] usb 7-1: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.64
[68328.644494] usb 7-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[68328.644503] usb 7-1: Product: USB Serial
[68328.647660] ch341 7-1:1.0: ch341-uart converter detected
[68328.656673] usb 7-1: ch341-uart converter now attached to ttyUSB0
[68329.294136] input: BRLTTY 6.4 Linux Screen Driver Keyboard as /devices/virtual/input/input29
[68329.326464] usb 7-1: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1
[68329.328950] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[68329.328987] ch341 7-1:1.0: device disconnected
[68329.347982] [UFW BLOCK] IN=enp0s25 OUT= MAC=33:33:00:00:00:0c:00:21:5c:69:e6:1d:86:dd SRC=fe80:0000:0000:0000:9eef:d941:eafb:7415 DST=ff02:0000:0000:0000:0000:0000:0000:000c LEN=655 TC=0 HOPLIMIT=1 FLOWLBL=552366 PROTO=UDP SPT=60356 DPT=3702 LEN=615

This has been a subject that has been near and dear to my heart for the past week or so.

I don’t know if Mint is affected by the Debian bug, but you might want to start here to see if you have the problem (and it offers a process to resolve it if you do have the problem):

ok ill try that and respond with results

1 Like

Nope same error nothing changed and it dosent seem that ive am affected by bug
any another idea?

Just did a quick search, other people have had the same problem with Mint and you might want to go through:

https://www.reddit.com/r/klippers/comments/11gf40c/not_able_to_run_ls_devserialbyid_advice_greatly/

or

Good luck!

2 Likes

It WORKS finally thank you a lot have a great day

2 Likes