I am running Fedora 45 on a new machine that I have been setting up over the past few days. Today I was in a Discord call and decided to turn on my webcam (Logitech StreamCam) at which point my Bluetooth headphones and the mic integrated into the webcam disconnected and reconnected after a couple of seconds delay. The webcam did not show video at any point, and Discord needed to be restarted to hear or be heard again on the call.
Running journalctl --no-pager -b -p3 I get the following (repetition cut for brevity):
Nov 21 21:48:51 Minilith kernel: usb 4-1: cannot submit urb (err = -19)
Nov 21 21:48:51 Minilith pipewire[2059]: spa.alsa: front:3c: snd_pcm_start: Broken pipe
Nov 21 21:48:51 Minilith kernel: usb 4-1: cannot submit urb 0, error -19: no device
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:0: usb_set_interface failed (-19)
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:0: usb_set_interface failed (-19)
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:4: cannot set freq 48000 to ep 0x84
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:0: usb_set_interface failed (-19)
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:0: usb_set_interface failed (-19)
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:4: cannot set freq 48000 to ep 0x84
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:0: usb_set_interface failed (-19)
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:0: usb_set_interface failed (-19)
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:4: cannot set freq 48000 to ep 0x84
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:0: usb_set_interface failed (-19)
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:0: usb_set_interface failed (-19)
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:4: cannot set freq 48000 to ep 0x84
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:0: usb_set_interface failed (-19)
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:0: usb_set_interface failed (-19)
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:4: cannot set freq 48000 to ep 0x84
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:4: cannot set freq 48000 to ep 0x84
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:4: cannot set freq 48000 to ep 0x84
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:4: cannot set...
...48000 to ep 0x84
Nov 21 21:48:52 Minilith kernel: usb 4-1: 3:4: cannot set freq 48000 to ep 0x84
Nov 21 21:48:57 Minilith kernel: uvcvideo 4-1:1.1: Failed to set UVC probe control : -110 (exp. 26).
Nov 21 21:49:17 Minilith kernel: Bluetooth: hci0: SCO packet for unknown connection handle 3584
Nov 21 21:50:07 Minilith bluetoothd[896]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: g
etpeername: Transport endpoint is not connected (107)
Running sudo dmesg --level=emerg,alert,crit,err I get the following (repetition cut for brevity):
[ 0.222267] virt/tdx: TDX not supported by the host platform
[ 714.471576] Bluetooth: hci0: SCO packet for unknown connection handle 3584
[ 4439.570063] usb 4-1: cannot submit urb (err = -19)
[ 4439.576904] usb 4-1: cannot submit urb 0, error -19: no device
[ 4439.809645] usb 4-1: 3:0: usb_set_interface failed (-19)
[ 4440.038551] usb 4-1: 3:0: usb_set_interface failed (-19)
[ 4440.040026] usb 4-1: 3:4: cannot set freq 48000 to ep 0x84
[ 4440.040036] usb 4-1: 3:0: usb_set_interface failed (-19)
[ 4440.040050] usb 4-1: 3:0: usb_set_interface failed (-19)
[ 4440.042023] usb 4-1: 3:4: cannot set freq 48000 to ep 0x84
[ 4440.042031] usb 4-1: 3:0: usb_set_interface failed (-19)
[ 4440.042041] usb 4-1: 3:0: usb_set_interface failed (-19)
[ 4440.044023] usb 4-1: 3:4: cannot set freq 48000 to ep 0x84
[ 4440.044029] usb 4-1: 3:0: usb_set_interface failed (-19)
[ 4440.044050] usb 4-1: 3:0: usb_set_interface failed (-19)
[ 4440.046023] usb 4-1: 3:4: cannot set freq 48000 to ep 0x84
[ 4440.046029] usb 4-1: 3:0: usb_set_interface failed (-19)
[ 4440.046047] usb 4-1: 3:0: usb_set_interface failed (-19)
[ 4440.048023] usb 4-1: 3:4: cannot set freq 48000 to ep 0x84
[ 4440.050024] usb 4-1: 3:4: cannot set freq 48000...
...to ep 0x84
[ 4440.240022] usb 4-1: 3:4: cannot set freq 48000 to ep 0x84
[ 4444.962987] uvcvideo 4-1:1.1: Failed to set UVC probe control : -110 (exp. 26).
[ 4453.462863] Bluetooth: hci0: SCO packet for unknown connection handle 3584
Google has so far been unhelpful and I do not have the skill to diagnose the issue myself. I have used this webcam on a different Fedora 45 system previously, so it is unlikely to be the issue.
On the surface, what appears to be happening is the USB controller is crashing and resetting whenever I try to activate my webcam. The only thing I could think of that might cause this is that my new PC has a MT7922 Mediatek wireless adapter which has caused me other problems already, though disabling Bluetooth and Wi-Fi did not prevent the issue.
I greatly appreciate any assistance that can be provided, and will happily provide any additional information needed to diagnose.
Edits:
Update: I tried a third party webcam testing page to see if it was just Discord, which it was not. However, after the initial disconnect and reconnect of all USB audio devices, the camera did work, as did those audio devices, so the system is able to use the webcam, but the initial connection seems to break something temporarily.
Update 2: I have been just now been able to get it working without crashing the controller(?) by plugging it into the front USB-C port which is 3.2 Gen1 rather than Gen2 like the rear port. I do not know why this makes the difference though.
Update 3: connecting the webcam to a USB-A 3.2 Gen2 port with a C-to-A adapter works fine, the adapter is only rated to 3.1 speed though and I do not have anything faster. It may be that limiting the bandwidth is what makes it work without crashing. I still do not understand why the crash would be occurring though.
Update 4: the USB-IF's retroactive renaming of their standards strikes again. USB 3.1 is USB 3.2 Gen2, so the adapter has the full bandwidth of the port. This means that only the USB-C 3.2 Gen2 port has the issue. I am no longer certain of anything with this accursed naming scheme. I checked the product page and the adapter is USB 5Gbps, so it is in fact the full bandwidth of the webcam, so (in theory) only the USB-C port has the issue..
Update 5: Logitech specs state that the webcam requires USB-C 3.1, but if connected over USB 2 it is limited to 720p/30fps. However, it also states separately that it uses the USB 3.1 Gen1 protocol (A.K.A 3.0/SuperSpeed/3.2 Gen1/5Gbps). This is interesting given that when I plugged it into a USB-C 3.2 Gen1 it was still restricted to 720p/30fps.
Update 6: Where previously any attempt to activate the webcam would crash the controller, now I am able to view in Firefox and in the Discord settings preview. Activating the webcam in a call still crashes the controller though. I am unsure what has changed.
Update 7: Using Cameractrls I am able to get the webcam working everywhere except Discord calls (except for one time I cannot repeat). To do this I must change the Pixel Format from YUYV, which it resets to on each crash, to either MJPG or NV12. Notably, the Discord settings preview will automatically set it to MJPG 720p every time.
Update 8: I have run out of ideas and steam on this issue for the time being. Barring any miraculous revelations, I will get myself a USB-C to USB-A adapter (I had to borrow one for the tests), and at some point replace my Wi-Fi card, which is the only thing I have been able to think of as a potential cause. If that fixes the issue I will try to remember to update here saying so for posterity.