Quit interesting case. This is not going to be a solution, but it might help to add some information to this: I think there is more to it, I had this happening on a more recent laptop (all asus running Ubuntu 20.04)
Linux zenny 5.15.0-48-generic #54~20.04.1-Ubuntu SMP Thu Sep 1 16:17:26 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Plugged in a ESP32-WROOM-32U, I can't get it to be recognised, dmesg:
[ 1843.387388] usb 1-2: new full-speed USB device number 7 using xhci_hcd
[ 1843.388118] usb 1-2: Device not responding to setup address.
[ 1843.599268] usb 1-2: Device not responding to setup address.
[ 1843.807258] usb 1-2: device not accepting address 7, error -71
[ 1844.143286] usb 1-2: new full-speed USB device number 8 using xhci_hcd
[ 1844.144268] usb 1-2: Device not responding to setup address.
[ 1844.355375] usb 1-2: Device not responding to setup address.
[ 1844.563032] usb 1-2: device not accepting address 8, error -71
[ 1844.563165] usb usb1-port2: unable to enumerate USB device
[ 1844.835099] usb 1-2: new full-speed USB device number 9 using xhci_hcd
[ 1845.179156] usb 1-2: device descriptor read/64, error -71
[ 1845.631161] usb 1-2: device descriptor read/64, error -71
[ 1845.867108] usb 1-2: new full-speed USB device number 10 using xhci_hcd
I can't for the life of me find out what is different with my 'older' laptop in terms of packages and modules. But on the older hardware i get this:
Linux glenn-UX51VZA 5.13.0-41-generic #46~20.04.1-Ubuntu SMP Wed Apr 20 13:16:21 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
[723508.913130] usb 3-3: new full-speed USB device number 4 using xhci_hcd
[723509.092460] usb 3-3: New USB device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00
[723509.092474] usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[723509.092479] usb 3-3: Product: CP2102 USB to UART Bridge Controller
[723509.092482] usb 3-3: Manufacturer: Silicon Labs
[723509.092485] usb 3-3: SerialNumber: 0001
[723509.130632] usbcore: registered new interface driver cp210x
[723509.130646] usbserial: USB Serial support registered for cp210x
[723509.130678] cp210x 3-3:1.0: cp210x converter detected
[723509.131479] usb 3-3: cp210x converter now attached to ttyUSB0
So there it works on the older hardware (both are top zenbooks) so I'm not thinking it's a hardware issue.
When I plug in an ESP32-WROVER-DEV (freenove), it works on both:
[725211.887101] usb 3-3: new full-speed USB device number 5 using xhci_hcd
[725212.036287] usb 3-3: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.64
[725212.036301] usb 3-3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[725212.036305] usb 3-3: Product: USB Serial
[725212.037269] ch341 3-3:1.0: ch341-uart converter detected
[725212.037824] usb 3-3: ch341-uart converter now attached to ttyUSB0
The difference here is that the latter uses ch341 module, the former uses cp210x module.
It's like on the newer laptop (also minor kernel version upgrade) it just won't 'connect' with the cp210x driver.
Hope this still helps
EDIT
I tested the kernel version that matches the one on the working machine on the newer laptop and it's not working either.
lsusb -t
with board connected? Have you tried to use other cable? What are the board model, vendor and URL? – N0rbert Jan 25 '22 at 13:23No module named serial
, but I have installedpyserial
viapip
– gabor aron Jan 25 '22 at 14:32