Re: Problems with Webcam and USB 3.X

From: Nilton Jose Rizzo <rizzo_at_i805.com.br>
Date: Tue, 13 Apr 2021 22:05:21 -0300 (-03)
> 
> On 4/14/21 2:49 AM, Nilton Jose Rizzo wrote:
> > ugen1.3: <vendor 0x046d product 0x0825> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)
> 
> Hi,
> 
> This webcam is connected VIA USB2.0 protocols only. No USB 3.x involved.

	I try to connect in 2.0, 3.0 and 3.1 ports, and nothing worked.
> 
> Unstable picture may indicate a bandwidth problem.

	hummm, like a Nathan report.
> 
> You can also compile webcamd with debugging and run it in the 
> foreground. Then webcamd will likely print the UVC decoding glitches.
> 
> You may also try the following command to get more logs:
> 
> usbdump -i usbus1 -f 3

22:02:42.653750 usbus1.3 SUBM-ISOC-EP=00000081,SPD=HIGH,NFR=128,SLEN=0,IVAL=0
22:02:42.653763 usbus1.3 DONE-ISOC-EP=00000081,SPD=HIGH,NFR=128,SLEN=16036,IVAL=0,ERR=0
22:02:42.669780 usbus1.3 SUBM-ISOC-EP=00000081,SPD=HIGH,NFR=128,SLEN=0,IVAL=0
22:02:42.669806 usbus1.3 DONE-ISOC-EP=00000081,SPD=HIGH,NFR=128,SLEN=78424,IVAL=0,ERR=0
22:02:42.685686 usbus1.3 SUBM-ISOC-EP=00000081,SPD=HIGH,NFR=128,SLEN=0,IVAL=0
22:02:42.685709 usbus1.3 DONE-ISOC-EP=00000081,SPD=HIGH,NFR=128,SLEN=34880,IVAL=0,ERR=0
22:02:42.701671 usbus1.3 SUBM-ISOC-EP=00000081,SPD=HIGH,NFR=128,SLEN=0,IVAL=0
22:02:42.701677 usbus1.3 DONE-ISOC-EP=00000081,SPD=HIGH,NFR=128,SLEN=1536,IVAL=0,ERR=0
22:02:42.717703 usbus1.3 SUBM-ISOC-EP=00000081,SPD=HIGH,NFR=128,SLEN=0,IVAL=0
22:02:42.717711 usbus1.3 DONE-ISOC-EP=00000081,SPD=HIGH,NFR=128,SLEN=6656,IVAL=0,ERR=0
22:02:42.733736 usbus1.3 SUBM-ISOC-EP=00000081,SPD=HIGH,NFR=128,SLEN=0,IVAL=0
22:02:42.733765 usbus1.3 DONE-ISOC-EP=00000081,SPD=HIGH,NFR=128,SLEN=77708,IVAL=0,ERR=0
22:02:42.735231 usbus1.3 DONE-ISOC-EP=00000081,SPD=HIGH,NFR=0,SLEN=0,IVAL=0,ERR=CANCELLED
22:02:42.755700 usbus1.3 SUBM-CTRL-EP=00000000,SPD=HIGH,NFR=1,SLEN=8,IVAL=0
22:02:42.755842 usbus1.3 DONE-CTRL-EP=00000000,SPD=HIGH,NFR=1,SLEN=0,IVAL=0,ERR=0

> 
> Then start for a few seconds till you get a picture:
> 
> pwcview -d /dev/video0 -s vga
> 
	The same result

22:03:30.860068 usbus1.3 SUBM-ISOC-EP=00000081,SPD=HIGH,NFR=128,SLEN=0,IVAL=0
22:03:30.860079 usbus1.3 DONE-ISOC-EP=00000081,SPD=HIGH,NFR=128,SLEN=13608,IVAL=0,ERR=0
22:03:30.876112 usbus1.3 SUBM-ISOC-EP=00000081,SPD=HIGH,NFR=128,SLEN=0,IVAL=0
22:03:30.876121 usbus1.3 DONE-ISOC-EP=00000081,SPD=HIGH,NFR=128,SLEN=1536,IVAL=0,ERR=0
22:03:30.892141 usbus1.3 SUBM-ISOC-EP=00000081,SPD=HIGH,NFR=128,SLEN=0,IVAL=0
22:03:30.892148 usbus1.3 DONE-ISOC-EP=00000081,SPD=HIGH,NFR=128,SLEN=1536,IVAL=0,ERR=0
22:03:30.908173 usbus1.3 SUBM-ISOC-EP=00000081,SPD=HIGH,NFR=128,SLEN=0,IVAL=0
22:03:30.908182 usbus1.3 DONE-ISOC-EP=00000081,SPD=HIGH,NFR=128,SLEN=1536,IVAL=0,ERR=0
22:03:30.924075 usbus1.3 SUBM-ISOC-EP=00000081,SPD=HIGH,NFR=128,SLEN=0,IVAL=0
22:03:30.924092 usbus1.3 DONE-ISOC-EP=00000081,SPD=HIGH,NFR=128,SLEN=20912,IVAL=0,ERR=0
22:03:30.940107 usbus1.3 SUBM-ISOC-EP=00000081,SPD=HIGH,NFR=128,SLEN=0,IVAL=0
22:03:30.940116 usbus1.3 DONE-ISOC-EP=00000081,SPD=HIGH,NFR=128,SLEN=1536,IVAL=0,ERR=0
22:03:30.947355 usbus1.3 DONE-ISOC-EP=00000081,SPD=HIGH,NFR=0,SLEN=0,IVAL=0,ERR=CANCELLED
22:03:30.967771 usbus1.3 SUBM-CTRL-EP=00000000,SPD=HIGH,NFR=1,SLEN=8,IVAL=0
22:03:30.967918 usbus1.3 DONE-CTRL-EP=00000000,SPD=HIGH,NFR=1,SLEN=0,IVAL=0,ERR=0


	I forgot report, I can't close the pwcview, only exit with <CTRL>+<C> and report this error

% pwcview -d /dev/video0 -s vga
Webcam set to: 640x480 (vga) at 5 fps
^Clibv4l2: error dequeuing buf: Device not configured
Error reading from webcam: Device not configured


> Have you tried another webcam on the same machine?
> 
> --HPS
> 

TIA

Rizzo
Received on Tue Apr 13 2021 - 23:05:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:28 UTC