camera issues - drivers and hubs #543
Replies: 1 comment
-
In case someone else has a similar camera fail manifestation, I found a workaround for my problem. I noticed a repeat pattern in dmesg:
A USB port was connecting and disconnecting untill the camera eventually went dead. using lsusb I figured out some hub was doing this:
I then searched for cdc_acm in logs and startup scrips and found this log file:
The hub failures coincides with the laser plug state changes, so I unplugged the laser and lo and behold, the problem went away. So it looks like the hub, "Bus 001 Device 004: ID 1a86:55d3 QinHeng Electronics USB2.0 Hub" is actually inside the laser sensor and is in fact a single usb to serial device. It looks like this device connects and disconnects causing all cameras to eventually fail. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I believe I figured what the specific manifestation on my printer is that causes the camera failures, but I am out of my depths trying to figure our how the services and drivers work on the Creality K1 busybox Linux implementation and was hoping to gain some deeper insights from the participants here since I cannot piece this together from web searches or chatgpt.
So listing the usb devices using "lsusb" and "lsusb -t" and dmesg I identified the failing device as the Linux foundation root hub. This then causes the camera disconection since it runs through the hub. The hub reconnects up to 25 times and then finally terminates.
The driver for the hub is dwc2 and lives here:
Beta Was this translation helpful? Give feedback.
All reactions