The camera appears to work, for instance with Cheese, but then randomly stops working after some time. I can see the camera with lsusb, but Cheese doesn’t find the camera anymore. The only way to make the camera work again is to unplug it and replugged it. I tried to disable USB autosusped with usbcore.autosuspend=-1 in /boot/extlinux/extlinux.conf but it doesn’t help. Any suggestions?
@DaneLLL we can’t upgrade to 4.6 for the moment, as our target system has a custom firmware provided by the carrier board manufacturer, which is based on JetPack 4.5.
@DaneLLL disabling libv42l_nvargus didn’t seem to make any difference: the camera still works when plugged in, but it stops working after some random amount of time.
After some troubleshooting, I noticed that after the webcam stops working, a bunch of these messages appear in dmesg:
[ 1174.464915] uvcvideo: Non-zero status (-71) in video completion handler.
[ 1174.466996] uvcvideo: Non-zero status (-71) in video completion handler.
[ 1174.468795] uvcvideo: Non-zero status (-71) in video completion handler.
[...]
And after some additional time I noticed this one (close entries added for context):
Hi,
So it may not be due to libv42l_nvargus.so. Could you try to connect Xavier type-A port to a USB hub with external power supply, and then connect to the camera? Would like to know if it is more stable when there is an external power supply to the camera.
@DaneLLL I tried that and the camera froze again. However, this time I didn’t see any error in dmesg till I unplugged the frozen camera. Is there any other log that may help figure out what’s going on?
@kayccc thank for the follow-up. I haven’t resolved the issue, but I now believe that is not specific to the Jetson. I reproduced the same issue on a Linux laptop.