DarthKeizer
Posts: 3
Joined: Wed Mar 16, 2016 8:25 am

Troubleshooting USB camera Rapbian

Wed Mar 16, 2016 8:46 am

Dear Raspberry Pi enthousiast,

I have been google and trying things on my own and I just cant seem to fix this damn USB camera.

Here is my lsusb

Code: Select all

pi@raspberrypi:~ $ lsusb
Bus 001 Device 013: ID 04fc:6333 Sunplus Technology Co., Ltd 
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Here is my dmesg

Code: Select all

[   38.323174] usb 1-1.3: Product: iCatchtek SPCA6330
[   38.323180] usb 1-1.3: Manufacturer: iCatchtek Co Ltd 
[   38.323186] usb 1-1.3: SerialNumber: 01.00.00
[   38.323734] uvcvideo: Found UVC 1.00 device iCatchtek SPCA6330 (04fc:6333)
[   38.326228] uvcvideo: Unable to create debugfs 1-13 directory.
[   38.326488] input: iCatchtek SPCA6330 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input1
Here is the deal, I noticed here that is is detected as an uvcvideo however the input as is really weird, it isnt an input as video0 or something? I don't know if it is wrong to be at that location. But here is what i get when i try fswebcam

Code: Select all

pi@raspberrypi:~ $ fswebcam -r 1280*720 img.jpg
--- Opening /dev/video0...
Trying source module v4l2...
/dev/video0 opened.
No input was specified, using the first.
Adjusting resolution from 1280x-1 to 640x480.
--- Capturing frame...
Captured frame in 0.00 seconds.
--- Processing captured image...
Writing JPEG image to 'img.jpg'.
after this command I get a nice blue picture :(
Image

Any further thoughts, thanks in advance!

aniaclug
Posts: 1
Joined: Sat Nov 03, 2018 1:31 pm

Re: Troubleshooting USB camera Rapbian

Sat Nov 03, 2018 1:37 pm

I have a similar problem (in my case fswebcam exits with a timeout error waiting for a frame).
Here my dmesg dump:

Code: Select all

[  213.622953] usb 1-1.3: new high-speed USB device number 8 using dwc2
[  213.754766] usb 1-1.3: New USB device found, idVendor=2aad, idProduct=6353
[  213.754780] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  213.754789] usb 1-1.3: Product: iCatchtek SPCA6350
[  213.754797] usb 1-1.3: Manufacturer: iCatchtek Co Ltd
[  213.754812] usb 1-1.3: SerialNumber: 01.00.00
[  213.828825] media: Linux media interface: v0.10
[  213.854753] Linux video capture interface: v2.00
[  213.887121] usbcore: registered new interface driver snd-usb-audio
[  213.892708] uvcvideo: Found UVC 1.00 device iCatchtek SPCA6350 (2aad:6353)
[  213.895697] uvcvideo: Unable to create debugfs 1-8 directory.
[  213.897679] uvcvideo 1-1.3:1.0: Entity type for entity Extension 3 was not initialized!
[  213.897708] uvcvideo 1-1.3:1.0: Entity type for entity Processing 2 was not initialized!
[  213.897719] uvcvideo 1-1.3:1.0: Entity type for entity Camera 1 was not initialized!
[  213.898269] input: iCatchtek SPCA6350 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input3
[  213.898777] usbcore: registered new interface driver uvcvideo
[  213.898785] USB Video Class driver (1.1.1)
[  213.922244] dwc2 3f980000.usb: dwc2_hc_halt() Channel can't be halted
[  214.225926] dwc2 3f980000.usb: dwc2_hc_halt() Channel can't be halted
[  214.457269] dwc2 3f980000.usb: dwc2_do_reserve: No host channel available for periodic transfer
[  214.457290] dwc2 3f980000.usb: DWC OTG HCD URB Enqueue failed adding QTD. Error status -28
[  214.457332] uvcvideo: Failed to submit URB 0 (-28).
[  749.415056] dwc2 3f980000.usb: dwc2_hc_halt() Channel can't be halted
[  749.416230] dwc2 3f980000.usb: dwc2_hc_halt() Channel can't be halted
[  777.710103] dwc2 3f980000.usb: dwc2_hc_halt() Channel can't be halted
[  777.711114] dwc2 3f980000.usb: dwc2_hc_halt() Channel can't be halted
[  787.934581] uvcvideo: Non-zero status (-5) in status completion handler.
[  792.643706] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[  797.683751] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[  802.723799] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[  807.764045] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[  812.803917] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[  817.843950] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[  822.884015] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[  827.924071] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[  832.964131] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[  838.004202] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[  843.044248] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[  848.084302] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[  853.124358] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[  858.164385] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[  863.204439] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[  868.244501] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[  873.284572] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[  908.523583] uvcvideo: Non-zero status (-5) in status completion handler.
[  913.444939] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[  918.484986] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[  923.525050] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[  928.565073] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[  933.605107] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[  938.645161] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[  943.685209] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[  948.725268] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[  953.765295] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[  958.805356] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[  963.845383] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[  968.885434] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[  973.925464] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
Have you foind a way to solve the issue?

Return to “Troubleshooting”