Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 2021 08:40:32 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        Nilton Jose Rizzo <rizzo@i805.com.br>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Problems with Webcam and USB 3.X
Message-ID:  <9352181b-12ce-d36d-1da3-0c0a55dee38e@selasky.org>
In-Reply-To: <202104140149.13E1noVg042171@server.i805.com.br>
References:  <202104140149.13E1noVg042171@server.i805.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/14/21 3:49 AM, Nilton Jose Rizzo wrote:
>>
>> On 4/14/21 3:05 AM, Nilton Jose Rizzo wrote:
>>> 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
> 
>   :< ---- CUT ---- >:
> 
>>
>> Hi,
>>
>> I see data is received, so far so good. Try to run webcamd in debug mode
>> (need to recompile from ports).
>>
>> ps auxw | grep webcamd
>>
>> killall webcamd
>>
>> Then remove "-B" option for background.
> 
> No error messages, only get error when I shutdown the pwcview
> 
> root@valfenda:/usr/ports/multimedia/webcamd # webcamd -d ugen1.3
> webcamd 66180 - - IR NEC protocol handler initialized
> webcamd 66180 - - IR RC5(x/sz) protocol handler initialized
> webcamd 66180 - - IR RC6 protocol handler initialized
> webcamd 66180 - - IR JVC protocol handler initialized
> webcamd 66180 - - IR Sony protocol handler initialized
> webcamd 66180 - - IR SANYO protocol handler initialized
> webcamd 66180 - - IR XMP protocol handler initialized
> webcamd 66180 - - b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded successfully
> webcamd 66180 - - USB Video Class driver (1.1.1)
> webcamd 66180 - - cpia2: V4L-Driver for Vision CPiA2 based cameras v3.0.1
> webcamd 66180 - - Attached to ugen1.3[0]
> webcamd 66180 - - uvcvideo: Found UVC 1.00 device  (046d:0825)
> webcamd 66180 - - Creating /dev/video0
> webcamd 66180 - - Creating /dev/video1
> webcamd 66180 - - uvcvideo: Failed to resubmit video URB (-6).
> webcamd 66180 - - uvcvideo: Failed to resubmit video URB (-6).
> webcamd 66180 - - uvcvideo: Failed to resubmit video URB (-6).
> webcamd 66180 - - uvcvideo: Failed to resubmit video URB (-6).
> webcamd 66180 - - uvcvideo: Failed to resubmit video URB (-6).
> 
> The last three erros was occured when I turn off cam in Meet on Jitsi ( via Firefox)

Try to add:

"-m uvc_driver.trace=1"

To the command line.

So far so good :-)

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9352181b-12ce-d36d-1da3-0c0a55dee38e>