You are not logged in.

#1 2021-03-09 17:10:42

joshuabl97
Member
Registered: 2021-03-09
Posts: 1

UVC video failed to query and usb set interface failure

I have a webcam that works perfectly fine on another machine running arch, that will randomly freeze and return a usb_set_interface error when I run dmesg | tail

If i unplug the camera and plug it back in it works completely fine, but returns a UVC failed to query error posted below.

dmesg | tail output after it freezes:

[   85.896091] usb 1-2: 3:0: usb_set_interface failed (-110)
[   91.015519] usb 1-2: 3:0: usb_set_interface failed (-110)
[   96.138575] usb 1-2: 3:1: usb_set_interface failed (-110)
[  101.255122] usb 1-2: 3:0: usb_set_interface failed (-110)
[  106.375424] usb 1-2: 3:0: usb_set_interface failed (-110)
[  111.495740] usb 1-2: 3:1: usb_set_interface failed (-110)
[  116.139044] audit: type=1100 audit(1615307950.902:109): pid=1775 uid=1000 auid=1000 ses=1 msg='op=PAM:authentication grantors=pam_faillock,pam_permit,pam_faillock acct="josh" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
[  116.141195] audit: type=1101 audit(1615307950.902:110): pid=1775 uid=1000 auid=1000 ses=1 msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="josh" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
[  116.142625] audit: type=1110 audit(1615307950.905:111): pid=1775 uid=1000 auid=1000 ses=1 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
[  116.149970] audit: type=1105 audit(1615307950.912:112): pid=1775 uid=1000 auid=1000 ses=1 msg='op=PAM:session_open grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'

dmesg | tail output before it freezes

[  779.214378] uvcvideo: Failed to query (GET_INFO) UVC control 9 on unit 2: -32 (exp. 1).
[  779.240622] uvcvideo: Failed to query (GET_INFO) UVC control 4 on unit 2: -32 (exp. 1).
[  779.261623] uvcvideo: Failed to query (GET_INFO) UVC control 11 on unit 2: -32 (exp. 1).
[  779.288972] input: HD Web Camera: HD Web Camera as /devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1:1.0/input/input26
[  779.308924] usb 1-1: Warning! Unlikely big volume range (=3072), cval->res is probably wrong.
[  779.308932] usb 1-1: [6] FU [Mic Capture Volume] ch = 1, val = -1536/1536/1
[  787.412990] audit: type=1100 audit(1615308622.167:121): pid=2333 uid=1000 auid=1000 ses=1 msg='op=PAM:authentication grantors=pam_faillock,pam_permit,pam_faillock acct="josh" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
[  787.415321] audit: type=1101 audit(1615308622.167:122): pid=2333 uid=1000 auid=1000 ses=1 msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="josh" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
[  787.416698] audit: type=1110 audit(1615308622.170:123): pid=2333 uid=1000 auid=1000 ses=1 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
[  787.424016] audit: type=1105 audit(1615308622.177:124): pid=2333 uid=1000 auid=1000 ses=1 msg='op=PAM:session_open grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'

I have tried several ports and have the same issue, I can clearly see the usb set interface failure is coming from my webcam after running lsusb:

Bus 001 Device 002: ID 05a3:9331 ARC International Camera

Hopefully some other helpful information:

lsusb -t output:
/:  Bus 11.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
/:  Bus 10.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Audio, Driver=snd-usb-audio, 12M
    |__ Port 1: Dev 2, If 1, Class=Audio, Driver=snd-usb-audio, 12M
    |__ Port 1: Dev 2, If 2, Class=Audio, Driver=snd-usb-audio, 12M
    |__ Port 1: Dev 2, If 3, Class=Audio, Driver=snd-usb-audio, 12M
/:  Bus 09.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
/:  Bus 08.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
    |__ Port 2: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 1: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 1: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 3: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
/:  Bus 07.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/4p, 12M
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/2p, 12M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/5p, 12M
    |__ Port 5: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/5p, 12M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/4p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/5p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/5p, 480M
    |__ Port 2: Dev 2, If 0, Class=Video, Driver=, 480M
    |__ Port 2: Dev 2, If 1, Class=Video, Driver=, 480M
    |__ Port 2: Dev 2, If 2, Class=Audio, Driver=snd-usb-audio, 480M
    |__ Port 2: Dev 2, If 3, Class=Audio, Driver=snd-usb-audio, 480M

I also noticed that I have two /dev/video* files

I noticed I can't run diff against these files, but when i run edevadm info -a -n video* they both look VERY similar. However, because I am a noob I did not want to remove one of them.

This portion is exactly the same minus the KERNEL=="video*" part

KERNEL=="video1"
    SUBSYSTEM=="video4linux"
    DRIVER==""
    ATTR{dev_debug}=="0"
    ATTR{index}=="1"
    ATTR{name}=="HD Web Camera: HD Web Camera"
    ATTR{power/control}=="auto"
    ATTR{power/runtime_active_time}=="0"
    ATTR{power/runtime_status}=="unsupported"
    ATTR{power/runtime_suspended_time}=="0"

Offline

Board footer

Powered by FluxBB