From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A1C741382C5 for ; Fri, 25 Dec 2020 11:35:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8337AE0977; Fri, 25 Dec 2020 11:35:00 +0000 (UTC) Received: from mail-gw.thundermail.uk (mail-gw.thundermail.uk [149.255.60.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B45DDE08F6 for ; Fri, 25 Dec 2020 11:34:59 +0000 (UTC) Received: from mailgw01.thundermail.uk (mail-gw.thundermail.uk [149.255.60.66]) by mail-gw.thundermail.uk (Postfix) with ESMTPS id 8E978600009B for ; Fri, 25 Dec 2020 11:34:57 +0000 (GMT) X-ASG-Debug-ID: 1608896096-055413665b2a19290001-LfjuLa Received: from cloud307.thundercloud.uk (cloud307.thundercloud.uk [149.255.58.40]) by mailgw01.thundermail.uk with ESMTP id UJO3CCbLirgEcuRw (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Fri, 25 Dec 2020 11:34:56 +0000 (GMT) X-Barracuda-Envelope-From: confabulate@kintzios.com X-Barracuda-Effective-Source-IP: cloud307.thundercloud.uk[149.255.58.40] X-Barracuda-Apparent-Source-IP: 149.255.58.40 Received: from lenovo.localdomain (230.3.169.217.in-addr.arpa [217.169.3.230]) by cloud307.thundercloud.uk (Postfix) with ESMTPSA id 5F991CEA8D7 for ; Fri, 25 Dec 2020 11:34:55 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kintzios.com; s=default; t=1608896095; bh=yLqIaHiK74AgPskHffWPADl0STJkUPGpJvbg8XabecU=; h=From:To:Subject; b=gCz1Kd/yN+r1wIGUfiBdS4HGrgKv2NfTCaVIEaJAI7LZ7jbCcMI2gJMs9Kpz6j61F AZdJQH9Mta5Tq8YQOm94PwUc7dXWxr+x5Mipk/dgEUaGX0oA3de+XMa3r9srkKCPNu 4xCzh/6IO/nNX3bkHHx0NDXBz11E3JXEEdY3mg9E= Authentication-Results: cloud307.thundercloud.uk; spf=pass (sender IP is 217.169.3.230) smtp.mailfrom=confabulate@kintzios.com smtp.helo=lenovo.localdomain Received-SPF: pass (cloud307.thundercloud.uk: connection is authenticated) From: Michael To: Gentoo Users Subject: Re: [gentoo-user] U.V.C. Webcam Disconnects shortly after Registration Date: Fri, 25 Dec 2020 11:34:54 +0000 X-ASG-Orig-Subj: Re: [gentoo-user] U.V.C. Webcam Disconnects shortly after Registration Message-ID: <1846042.PYKUYFuaPT@lenovo.localdomain> In-Reply-To: <20201225035658.iul7cajadxmdubse@ad-gentoo-main> References: <20201225035658.iul7cajadxmdubse@ad-gentoo-main> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart20899954.EfDdHjke4D"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <20201225113455.4148586.10832@cloud307.thundercloud.uk> X-PPP-Vhost: kintzios.com X-Barracuda-Connect: cloud307.thundercloud.uk[149.255.58.40] X-Barracuda-Start-Time: 1608896096 X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256 X-Barracuda-URL: https://149.255.60.66:443/cgi-mod/mark.cgi X-ASG-Orig-Subj: Re: [gentoo-user] U.V.C. Webcam Disconnects shortly after Registration X-Virus-Scanned: by bsmtpd at thundermail.uk X-Barracuda-Scan-Msg-Size: 3373 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1.9 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.86777 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Archives-Salt: a34ffa6f-49df-40c8-99f1-abb2f7bea53d X-Archives-Hash: 191d892610c0793ca80bae29e140f2cc --nextPart20899954.EfDdHjke4D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Michael To: Gentoo Users Reply-To: confabulate@kintzios.com Subject: Re: [gentoo-user] U.V.C. Webcam Disconnects shortly after Registration Date: Fri, 25 Dec 2020 11:34:54 +0000 Message-ID: <1846042.PYKUYFuaPT@lenovo.localdomain> In-Reply-To: <20201225035658.iul7cajadxmdubse@ad-gentoo-main> References: <20201225035658.iul7cajadxmdubse@ad-gentoo-main> On Friday, 25 December 2020 03:56:58 GMT Ashley Dixon wrote: > How's it going dudes? >=20 > I bought a Logitech C270 webcam from Argos about a year ago, which, > according to the LKDDb [1] and U.V.C. driver website [2], should work well > on Linux. Despite working flawlessly until recently, some strange > behaviour has appeared. Have you changed anything recently on this PC, coincidental with this probl= em=20 arriving? Anything related to kernel/drivers, webcam related apps and audi= o? Besides dmesg, do you get any other errors in syslog? Have you disconnected all other USB devices on other ports hanging off the= =20 same MoBo USB hub controller? > When I connect the webcam, `dmesg` registers it as would be expected > (timestamps omitted): >=20 > usb 3-7: new high-speed USB device number 14 using xhci_hcd > usb 3-7: New USB device found, idVendor=3D046d, idProduct=3D0825, > bcdDevice=3D 0.12 usb 3-7: New USB device strings: Mfr=3D0, Product=3D0, > SerialNumber=3D2 usb 3-7: SerialNumber: 9EEFE4E0 > uvcvideo: Found UVC 1.00 device (046d:0825) > input: UVC Camera (046d:0825) as > /devices/pci0000:00/0000:00:14.0/usb3/3-7/3-7:1.0/input/input27 usb 3-7: > set resolution quirk: cval->res =3D 384 >=20 > However, about two seconds later, me having done nothing, the kernel ring > buffer suggests it has been physically unplugs, and thus deregisters the > device... >=20 > USB disconnect, device number 14 I don't have the same camera, but it could be something related to power. = =20 When the device is detected and initialised by udev + kernel driver, it sta= rts=20 drawing more current to deal with features like autofocus/exposure. Once i= t=20 settles the current consumption reduces. > I have tested this on another very similar machine, and this problem is = not > to be seen, and everything works perfectly; thus ruling out a hardware=20 > issue with the camera. Furthermore, no other devices---even other U.V.C= =2E=20 > webcams---do not present with the same symptoms on my machine, in the sa= me > U.S.B. port; thus ruling out any issue with the physical port or > motherboard controller. Not necessarily. Stating the obvious, other machines are not the *same* machine. Difference= s=20 in mV/=CE=BCA between MoBos could cause a marginal case to manifest itself. Other UVC webcams, are not the same webcam in terms of sensitivity and=20 electrical consumption. > I have no idea how to triage this further. I feel like my head has been= =20 > nailed to a coffee table by Dinsdale Piranha. Any tips? My kernel is= =20 > 5.9.13-zen1, although this trouble presents identically on a vanilla > kernel. Do you have an external USB hub, with its own separate power supply, to see= if=20 connecting the camera to it overcomes with this problem? Check if the driver has any power saving features with 'modinfo' and if=20 switchable, disable them and try again. Camera sensors and chips can degrade over time and change their performance= =20 with differences in temperature. I appreciate a year is not long enough, b= ut=20 I had camera sensors fail in a matter of months - thankfully still under=20 warranty. > Cheers. >=20 > Hope everyone is remaining well. >=20 > [1] https://linux-hardware.org/index.php?id=3Dusb:046d-0825 > [2] https://www.ideasonboard.org/uvc/#devices --nextPart20899954.EfDdHjke4D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAl/lzl4ACgkQseqq9sKV ZxnXdhAAhwZ6l8rTZxEB48GKvGIGHbU3nx7g1o2NRAQcS7rhLZiqDdZcxna09Ua3 pPk87F88mensP6bW2zrDrymyWlWdsyFUsgotIdNMLdvFDxDIwj26rEBo+L4q27Si jConyHRRzTI9EmP4vocpmw2cBfvVt6vBG23zzGxhdkc8DVb6A8d9KGUZXXjxFhd1 xVPijsIA39ErMnxwiWZnuWRRn8Re+nPBgLI9wO/rqyXwcH/8Im7S5c+ikbE7o0s0 WOlBirdhXSotk6TPIAlk2i3HPn+dAFc6+auHOSBNcIFE1IO3xCRuQ9JMSNwd0/Fj PYEUB81n/O2vggJToRlJmQMFhdI/a1+PP00y+I3jT0Go6Zyi/EBhFfyKRXZTHUGY PMEHOF97sqc+Ju09XspQj6JU1Q5sIC1YsAXBT7cGE8jQ3M6T91b97KcCfAOixOhm ipar7hTwbq547Hh8nmZ9SBlMDH53Ok1MwJjylHkMMCmg540Dx+SWGRGsXSLyEb/B XTODw6beOeGHnpvm+C+0Dl2NUjM4UpTsSWSphpeOQf8stqCIF7YewbFEq9wF/BnC d00I+9nSh4OdupRqVgZe5tEXX46QgOptbFRbmva3Du+8ga2fnLeFyJqWOPmnYnA3 fj8IhmqpkoCF63k4LCNoB8+Eu4qS6kqA0Bi+Pj2TC38Mb2qP72g= =n7Wz -----END PGP SIGNATURE----- --nextPart20899954.EfDdHjke4D--