USB controller crashing? Failed to query (SET_CUR) UVC control - kernel log message

Edit:

So this is definitely something caused by me using guvcview for my Logitech StreamCam. I use OBS to capture the guvcview window, that way I can control my camera with the settings in guvcview. I've always done this and have never had this issue.

The error doesn't appear when I use OBS to capture the cam's video directly. If I open guvcview though, it immediately fills logs.

I'll be testing with cheese and webcamoid as well.

Original post:

USB controller seems to be crashing due to one of my devices. It's either the keyboard, mouse, or webcam. Not sure but feelers say webcam since I've seen a lot of stuff related to it in logs. What is the same as my previous errors is that this seems to happen while using QEMU virt manager and leaving my VM open and running. Maybe whatever is causing this only crashes while VM is running?

It might be related to my other issue (possibly faulty RAM stick), which I posted about here, but I'm not so sure that it is. I might have figured out what was causing that memory issue, because I'v been playing musical DIMMs, and so far I haven't had what looks like memory module problems.

What happens now is my keyboard and mouse lose functionality completely, usually overnight while I'm asleep, and I've left my VM running. I SSHed into the system, and I can still run commands. It's just that lsusb doesn't show any devices except the standard 2 root hubs. The kernal log reads this same error forever.

usb 2-4: Failed to query (SET_CUR) UVC control 10 on unit 3

Here is the syslog for around the time I think the USB controller crashes

Jan 12 03:31:42 pleiades kernel: [70247.941716] usb 2-4: Failed to query (SET_CUR) UVC control 6 on unit 1: -32 (exp. 2).
Jan 12 03:31:44 pleiades kernel: [70249.944868] usb 2-4: Failed to query (SET_CUR) UVC control 6 on unit 1: -32 (exp. 2).
Jan 12 03:31:46 pleiades kernel: [70251.947604] usb 2-4: Failed to query (SET_CUR) UVC control 6 on unit 1: -32 (exp. 2).
Jan 12 03:31:44 pleiades org.mate.panel.applet.MateMenuAppletFactory[6927]: message repeated 25 times: [ GUVCVIEW: error setting spin value]
Jan 12 03:31:47 pleiades org.mate.panel.applet.MateMenuAppletFactory[6927]: V4L2_CORE: Could not grab image (select timeout): Resource temporarily unavailable
Jan 12 03:31:53 pleiades org.mate.panel.applet.MateMenuAppletFactory[6927]: message repeated 6 times: [ V4L2_CORE: Could not grab image (select timeout): Resource temporarily unavailable]

Jan 12 03:31:54 pleiades org.mate.panel.applet.MateMenuAppletFactory[6927]: V4L2_CORE: Could not grab image (select timeout): Resource temporarily unavailable
Jan 12 03:31:56 pleiades org.mate.panel.applet.MateMenuAppletFactory[6927]: message repeated 2 times: [ V4L2_CORE: Could not grab image (select timeout): Resource temporarily unavailable]
Jan 12 03:31:56 pleiades org.mate.panel.applet.MateMenuAppletFactory[6927]: V4L2_CORE: not decoding empty raw frame (frame of size 0 at 0x0x7f6d70237000)
Jan 12 03:31:56 pleiades org.mate.panel.applet.MateMenuAppletFactory[6927]: V4L2_CORE: Error - Couldn't decode frame
Jan 12 03:31:56 pleiades org.mate.panel.applet.MateMenuAppletFactory[6927]: GUVCVIEW: error setting spin value
Jan 12 03:31:56 pleiades org.mate.panel.applet.MateMenuAppletFactory[6927]: V4L2_CORE: (VIDIOC_QBUF) Unable to queue buffer 0: No such device
Jan 12 03:31:56 pleiades kernel: [70262.244526] xhci_hcd 0000:00:14.0: xHCI host not responding to stop endpoint command.
Jan 12 03:31:56 pleiades kernel: [70262.244538] xhci_hcd 0000:00:14.0: USBSTS: 0x00000000
Jan 12 03:31:56 pleiades kernel: [70262.244547] xhci_hcd 0000:00:14.0: xHCI host controller not responding, assume dead
Jan 12 03:31:56 pleiades kernel: [70262.244585] xhci_hcd 0000:00:14.0: HC died; cleaning up
Jan 12 03:31:56 pleiades kernel: [70262.244629] usb 1-1: USB disconnect, device number 2
Jan 12 03:31:56 pleiades kernel: [70262.244891] usb 2-4: Failed to query (GET_CUR) UVC control 6 on unit 1: -110 (exp. 2).
Jan 12 03:31:56 pleiades kernel: [70262.244946] usb 2-4: Failed to query (GET_CUR) UVC control 6 on unit 1: -19 (exp. 2).
Jan 12 03:31:56 pleiades kernel: [70262.245096] usb 2-4: USB disconnect, device number 2
Jan 12 03:31:56 pleiades org.mate.panel.applet.MateMenuAppletFactory[6927]: V4L2_CORE: (VIDIOC_DQBUF) Unable to dequeue buffer: No such device

Any help or input is appreciated. Thanks for your time.

1 Like