Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-16-2022, 12:59 PM
|
#1
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,207
|
Confirm a dud camera?
My video camera seems dud, but I'd like confirmation.
Instead of a black screen in Zoom resolving into my ugly mug, I have a permanent greyness. dmesg is glum reading.
Code:
[28714.075623] usb 3-4: new high-speed USB device number 20 using xhci_hcd
[28714.245433] usb 3-4: New USB device found, idVendor=0c45, idProduct=64a1, bcdDevice= 6.09
[28714.245437] usb 3-4: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[28714.245439] usb 3-4: Product: USB 2.0 Camera
[28714.245441] usb 3-4: Manufacturer: Sonix Technology Co., Ltd.
[28714.257418] usb 3-4: Found UVC 1.00 device USB 2.0 Camera (0c45:64a1)
[28714.294257] input: USB 2.0 Camera: USB Camera as /devices/pci0000:00/0000:00:08.1/0000:2f:00.3/usb3/3-4/3-4:1.0/input/input27
[28714.299566] udevd[9019]: failed to execute '/opt/VirtualBox/VBoxCreateUSBNode.sh' '/opt/VirtualBox/VBoxCreateUSBNode.sh 189 275 ef': No such file or directory
[28719.013635] usb 3-4: USB disconnect, device number 20
[28719.160633] usb 3-4: new full-speed USB device number 21 using xhci_hcd
[28719.281650] usb 3-4: device descriptor read/64, error -71
[28719.507659] usb 3-4: device descriptor read/64, error -71
[28719.724637] usb 3-4: new full-speed USB device number 22 using xhci_hcd
[28719.845659] usb 3-4: device descriptor read/64, error -71
[28720.075650] usb 3-4: device descriptor read/64, error -71
[28720.178677] usb usb3-port4: attempt power cycle
[28720.558630] usb 3-4: new full-speed USB device number 23 using xhci_hcd
[28720.558695] usb 3-4: Device not responding to setup address.
[28720.762692] usb 3-4: Device not responding to setup address.
[28720.970637] usb 3-4: device not accepting address 23, error -71
[28721.084631] usb 3-4: new full-speed USB device number 24 using xhci_hcd
[28721.084694] usb 3-4: Device not responding to setup address.
[28721.290688] usb 3-4: Device not responding to setup address.
[28721.498637] usb 3-4: device not accepting address 24, error -71
[28721.498685] usb usb3-port4: unable to enumerate USB device
Error 71 is a Protocol error.
Lastly, /opt/VirtualBox/ doesn't exist atm, but that's some script being called from udev. Where would I Find that? I tried /lib/udev/rules.d but I can't find it there.
This is pretty unprovoked component failure on a new part, but that's life.
|
|
|
11-16-2022, 01:15 PM
|
#2
|
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,370
|
Before declaring this problem to be a hardware problem I would check out /opt/VirtualBox/VBoxCreateUSBNode.sh. Does it exist? Do you have permission to execute that file? What is the purpose of the file? Where do you install it from?
|
|
|
11-16-2022, 02:27 PM
|
#3
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,207
Original Poster
|
No, /Opt/VirtualBox/ doesn't exist. I thought it was a pretty fundamental usb negotiation error, and the script is only an aside.The script is stuff in udev I can do without. I think I mentioned most of that in the post.
Last edited by business_kid; 11-16-2022 at 02:28 PM.
|
|
|
11-16-2022, 05:48 PM
|
#4
|
Member
Registered: Jan 2022
Location: Hanover, Germany
Distribution: Slackware
Posts: 304
Rep:
|
If it's an external camera try it on another computer.
|
|
|
11-16-2022, 09:39 PM
|
#5
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,722
|
If it's an internal camera, try booting to a Live CD/USB of one or two other distros and testing it out.
|
|
1 members found this post helpful.
|
11-17-2022, 09:35 AM
|
#6
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,207
Original Poster
|
Quote:
Originally Posted by Arnulf
If it's an external camera try it on another computer.
|
Thanks for the reply. It is an external camera. This proved infuriating.
I have a 1TB backup disk in SATA 1, and after tripping over my shoelaces once, I made it bootable. It boots the same same hardware, same EFI partition, initrd & kernel, same usb port. It has different kernel modules, different / & /home - all backups from the NVME. This is the dmesg output
Code:
[ 2594.799889] usb 3-4: new full-speed USB device number 3 using xhci_hcd
[ 2594.920882] usb 3-4: device descriptor read/64, error -71
[ 2595.151907] usb 3-4: device descriptor read/64, error -71
[ 2595.367883] usb 3-4: new high-speed USB device number 4 using xhci_hcd
[ 2595.538026] usb 3-4: New USB device found, idVendor=0c45, idProduct=64a1, bcdDevice= 6.09
[ 2595.538031] usb 3-4: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[ 2595.538034] usb 3-4: Product: USB 2.0 Camera
[ 2595.538035] usb 3-4: Manufacturer: Sonix Technology Co., Ltd.
[ 2595.550287] usb 3-4: Found UVC 1.00 device USB 2.0 Camera (0c45:64a1)
[ 2595.586902] input: USB 2.0 Camera: USB Camera as /devices/pci0000:00/0000:00:08.1/0000:2f:00.3/usb3/3-4/3-4:1.0/input/input20
[ 2595.603417] udevd[2397]: failed to execute '/opt/VirtualBox/VBoxCreateUSBNode.sh' '/opt/VirtualBox/VBoxCreateUSBNode.sh 189 259 ef': No such file or directory
Here the camera came up working nearly all of the time So I went back from the sata to the NVME, and the camera worked there
I diffed the two copies of uvcvideo.ko, which were identical. I fsck'ed the NVME partitions, and they were fine. So, abandoning a logical process of elimination, I thought about the number of protocol errors in the dmesg outputs.....
Am I correct in saying that I shouldn't have any protocol errors, it shouldn't refuse any adresses?
I tried it just now
Code:
[ 387.015265] usb 3-4: new high-speed USB device number 4 using xhci_hcd
[ 387.654438] usb 3-4: new full-speed USB device number 5 using xhci_hcd
[ 387.776456] usb 3-4: device descriptor read/64, error -71
[ 388.001462] usb 3-4: device descriptor read/64, error -71
[ 388.104318] usb usb3-port4: attempt power cycle
[ 388.484464] usb 3-4: new full-speed USB device number 6 using xhci_hcd
[ 388.484534] usb 3-4: Device not responding to setup address.
[ 388.688427] usb 3-4: Device not responding to setup address.
[ 388.896304] usb 3-4: device not accepting address 6, error -71
[ 389.010294] usb 3-4: new full-speed USB device number 7 using xhci_hcd
[ 389.010368] usb 3-4: Device not responding to setup address.
[ 389.216436] usb 3-4: Device not responding to setup address.
[ 389.424307] usb 3-4: device not accepting address 7, error -71
[ 389.424341] usb usb3-port4: unable to enumerate USB device
[ 397.986461] usb 3-4: new high-speed USB device number 8 using xhci_hcd
[ 398.724488] usb 3-4: device descriptor read/64, error -71
[ 399.002349] usb 3-4: New USB device found, idVendor=0c45, idProduct=64a1, bcdDevice= 6.09
[ 399.002354] usb 3-4: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[ 399.002356] usb 3-4: Product: USB 2.0 Camera
[ 399.002358] usb 3-4: Manufacturer: Sonix Technology Co., Ltd.
[ 399.012335] usb 3-4: Found UVC 1.00 device USB 2.0 Camera (0c45:64a1)
[ 399.048688] input: USB 2.0 Camera: USB Camera as /devices/pci0000:00/0000:00:08.1/0000:2f:00.3/usb3/3-4/3-4:1.0/input/input21
[ 399.054004] udevd[2554]: failed to execute '/opt/VirtualBox/VBoxCreateUSBNode.sh' '/opt/VirtualBox/VBoxCreateUSBNode.sh 189 263 ef': No such file or directory
It has refused or puked on addresses 4, 5, 6, & 7 but is finally working on address 8. I'm going to buy a camera, because when I want it, it won't be there.
As for the Virtualbox script error, I've dug anything VB related out of udev rules and deleted all init scripts. The problem remains
EDIT: 1 hour later, and the camera is teetotally borked, protocol errors and refusing addresses.
Last edited by business_kid; 11-17-2022 at 11:03 AM.
|
|
|
All times are GMT -5. The time now is 11:43 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|