USB cam not working

I have a USB webcam and have difficulties making it work. Video ist there for 1 second and then black screen. Often black screen always.
Output from dmesg:

  809.143892] usb 1-2: USB disconnect, device number 100
[  809.143923] usb 1-2: cannot submit urb (err = -19)
[  809.145558] usb 1-2: cannot submit urb 0, error -19: no device
[  809.463560] usb 1-2: new high-speed USB device number 101 using xhci_hcd
[  809.747262] usb 1-2: New USB device found, idVendor=0c45, idProduct=6366, bcdDevice= 1.00
[  809.747266] usb 1-2: New USB device strings: Mfr=2, Product=1, SerialNumber=3
[  809.747269] usb 1-2: Product: USB 2.0 Camera
[  809.747271] usb 1-2: Manufacturer: Sonix Technology Co., Ltd.
[  809.747272] usb 1-2: SerialNumber: SN0001
[  809.764260] uvcvideo: Found UVC 1.00 device USB 2.0 Camera (0c45:6366)
[  809.880425] uvcvideo 1-2:1.0: Entity type for entity Extension 4 was not initialized!
[  809.880427] uvcvideo 1-2:1.0: Entity type for entity Extension 3 was not initialized!
[  809.880429] uvcvideo 1-2:1.0: Entity type for entity Processing 2 was not initialized!
[  809.880431] uvcvideo 1-2:1.0: Entity type for entity Camera 1 was not initialized!
[  809.880500] input: USB 2.0 Camera: USB Camera as /devices/pci0000:00/0000:00:01.3/0000:01:00.0/usb1/1-2/1-2:1.0/input/input107
[  809.937297] usb 1-2: 3:1: cannot get freq at ep 0x84
[  810.260343] usb 1-2: 3:1: cannot get freq at ep 0x84
[  810.325333] usb 1-2: 3:1: cannot get freq at ep 0x84
[  814.226212] usb 1-2: USB disconnect, device number 101

Any help is greatly appreciated!
Also putting my phone does not work:

[ 1418.619031] usb 1-2: USB disconnect, device number 126
[ 1427.067268] usb usb1-port4: Cannot enable. Maybe the USB cable is bad?
[ 1428.018294] usb usb1-port4: Cannot enable. Maybe the USB cable is bad?
[ 1428.018327] usb usb1-port4: attempt power cycle
[ 1429.282274] usb usb1-port4: Cannot enable. Maybe the USB cable is bad?
[ 1430.234290] usb usb1-port4: Cannot enable. Maybe the USB cable is bad?
[ 1430.234321] usb usb1-port4: unable to enumerate USB device
[ 1538.314230] usb usb1-port3: Cannot enable. Maybe the USB cable is bad?
[ 1539.266215] usb usb1-port3: Cannot enable. Maybe the USB cable is bad?
[ 1539.266246] usb usb1-port3: attempt power cycle
[ 1540.530231] usb usb1-port3: Cannot enable. Maybe the USB cable is bad?
[ 1541.482231] usb usb1-port3: Cannot enable. Maybe the USB cable is bad?
[ 1541.482265] usb usb1-port3: unable to enumerate USB device

I think I have something very critical missing.

Hi @danko welcome to Ask Fedora.

About your problem with the camera:

I think that it is a problem related with the módulo uvcvideo what can not be load in the kernel by default you can check it with the follow command:

lsmod | grep -i uvcvideo

If the command does not give us any results, it means that the module is not loaded and therefore we can load it without any problem.

you can see information about this module with the commad:

modinfo uvcvideo

First we will update the module dependency database by executing the following command in the terminal:

sudo depmod

Finally we load the module by executing the sudo modprobe command followed by the module name

sudo modprobe -v uvcvideo

When executing the command, the module uvcvideo will be loaded together with all its dependencies in the kernel of our equipment.

About USB in the phone

Try use other cable and/or other USB port to check.

Regards.

Hi, I think the module is loaded. I will try it tho.

The module uvcvideo is well and loaded I think. lsusb also lists the camera. It still does not work :confused:
[danko@hekuser1054r ~]$ lsusb
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 003: ID 1e7d:2e22 ROCCAT ROCCAT Kone XTD
Bus 005 Device 002: ID 1e7d:2fa8 ROCCAT ROCCAT Suora
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 042: ID 0c45:6366 Microdia USB 2.0 Camera
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

The phone worked in the rear usbs (both 2.0 and 3.0), but no in the front ones. There it is only charging.

So it can be simply a bug. Similar to this one https://bugzilla.kernel.org/show_bug.cgi?id=111291

Edit: Try see if your keyboard roccat Suora has a key to control the acces to the webcam F5 maybe?? if your keyboard has one, try to put it on and off.