From owner-freebsd-current@freebsd.org Wed Apr 14 06:41:46 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C16E95CBD93 for ; Wed, 14 Apr 2021 06:41:46 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FKtDT6jjgz4d1c for ; Wed, 14 Apr 2021 06:41:45 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (unknown [178.17.145.105]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 13069260535; Wed, 14 Apr 2021 08:41:44 +0200 (CEST) Subject: Re: Problems with Webcam and USB 3.X To: Nilton Jose Rizzo Cc: freebsd-current@freebsd.org References: <202104140149.13E1noVg042171@server.i805.com.br> From: Hans Petter Selasky Message-ID: <9352181b-12ce-d36d-1da3-0c0a55dee38e@selasky.org> Date: Wed, 14 Apr 2021 08:40:32 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <202104140149.13E1noVg042171@server.i805.com.br> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FKtDT6jjgz4d1c X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 88.99.82.50 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-2.40 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net:c]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; RBL_DBL_DONT_QUERY_IPS(0.00)[88.99.82.50:from]; SPAMHAUS_ZRD(0.00)[88.99.82.50:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.10)[-0.099]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2021 06:41:46 -0000 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