-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
usb_serial_generic_read_bulk_callback - urb stopped: -32 (on bullseye) #5541
Comments
After that it seems Linux rebuilds /dev/tty* devices and all programs that have them open It happens too often on various systems. It seems there is something not quite right with usb subsystem in bullseye (at least on arm64) I see resets of usb ports followed by and programs using usb stopping working. In some cases mouse stops working. Serial to usb adapters. USB thumb drives. I’m not convinced it’s power supply issue as it happens in rather different set ups with different hardware. nothing is plugged or unplugged when this happens. Any ideas? thanks |
What's the output of |
|
I've updated bootloader now using raspi-config and it updated vl805 firmware as well.
|
Is this related? |
I have replaced powered usb hub, usb cable, power supply to usb hub and same issues persist. When I plugin the device raising errors into pi4 USB 2.0 socket, it works without errors. Any ideas? |
On DeskPi Pro I've added (required to enable front usb ports)
into /boot/config.txt I'm still seeing same issues, plus additional messages in dmesg:
|
I think (hope) I've found something. I noticed that /dev/ttyUSB0 is opened by a process called pwmFanControl64. ttyUSB0 is FTDI USB to serial adapter which has nothing to do with deskpi pro!
I think it was sending fan control commands into it without checking what device is on that port. And that was overflowing some buffers because nothing reads from that port at the moment. Not sure why second FTDI device on separate /dev/ttyUSB1 port was affected too though. I've opened related issue: |
After I solved this issue with /dev/ttyUSB0 the issue with /dev/ttyUSB1 still exists:
serial device is getting reset and rebuilt in my case the process that reads it is SignalK 2.0.0 (https://signalk.org/):
which is NodeJs program which reads serial using NodeJs serialport (version 11) https://www.npmjs.com/package/serialport and after that parses data using CanboatJS |
Another program which was messing it up turned out to be autoadb (https://github.com/rom1v/autoadb) which I was starting at desktop startup as:
After I disabled it my USB errors seem disapeared. Thanks |
So you'll be closing this issue then? |
I think it can be closed |
Why it only happened with USB 3.0 ports? |
There is no electrical difference between the USB3.0 and 2.0 ports as far as USB full-speed hardware is concerned - they both connect to the same hub, and ignore the USB3.0 pairs. |
Describe the bug
Steps to reproduce the behaviour
Plugin USB to serial with FTDI chipset
Device (s)
Raspberry Pi 4 Mod. B
System
Logs
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: