[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Intermittent problem with integrated webcam / Thinkpad E130/ Stretch



On 06/01/2021 08:21, deloptes wrote:
Ottavio Caruso wrote:

Thanks. This is the dmesg log while giving the 2 commands as above:

After `sudo rmmod uvcvideo`:
[15630.304614] usbcore: deregistering interface driver uvcvideo

After `sudo modprobe -v uvcvideo`:

[15651.636552] uvcvideo: Found UVC 1.00 device Integrated Camera
[(5986:0299) 15651.639063] uvcvideo 2-4:1.0: Entity type for entity
[Processing 2 was
not initialized!
[15651.639074] uvcvideo 2-4:1.0: Entity type for entity Camera 1 was not
initialized!
[15651.639082] uvcvideo 2-4:1.0: Entity type for entity Extension 4 was
not initialized!
[15651.639381] input: Integrated Camera: Integrated C as
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/input/input67
[15651.639689] usbcore: registered new interface driver uvcvideo
[15651.639698] USB Video Class driver (1.1.1)



I'll try again from a live usb image.

may be it will not help as looking for the output I find this bug report
still in recent kernels.

https://bugzilla.kernel.org/show_bug.cgi?id=111291

And a proposed solution

https://bbs.archlinux.org/viewtopic.php?id=259134

I've tried  the "solution" at the end of that thread.

# dmesg -c

# cd /sys/bus/pci/drivers/xhci_hcd
# echo -n "0000:00:14.0" > unbind

dmesg output:

[18795.009028] xhci_hcd 0000:00:14.0: remove, state 4
[18795.009056] usb usb3: USB disconnect, device number 1
[18795.009739] xhci_hcd 0000:00:14.0: USB bus 3 deregistered
[18795.009768] xhci_hcd 0000:00:14.0: remove, state 4
[18795.009785] usb usb2: USB disconnect, device number 1
[18795.009793] usb 2-4: USB disconnect, device number 30
[18795.050157] xhci_hcd 0000:00:14.0: Slot 1 endpoint 2 not removed from BW list!
[18795.052139] xhci_hcd 0000:00:14.0: USB bus 2 deregistered


# echo -n "0000:00:14.0" > bind

dmesg:

[18819.641772] xhci_hcd 0000:00:14.0: xHCI Host Controller
[18819.641795] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2 [18819.642999] xhci_hcd 0000:00:14.0: hcc params 0x20007181 hci version 0x100 quirks 0x000000000000b930
[18819.643016] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
[18819.643801] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19 [18819.643812] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[18819.643817] usb usb2: Product: xHCI Host Controller
[18819.643822] usb usb2: Manufacturer: Linux 4.19.0-0.bpo.9-amd64 xhci-hcd
[18819.643826] usb usb2: SerialNumber: 0000:00:14.0
[18819.644328] hub 2-0:1.0: USB hub found
[18819.644370] hub 2-0:1.0: 4 ports detected
[18819.646720] xhci_hcd 0000:00:14.0: xHCI Host Controller
[18819.646742] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 3
[18819.646757] xhci_hcd 0000:00:14.0: Host supports USB 3.0 SuperSpeed
[18819.646932] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19 [18819.646941] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[18819.646949] usb usb3: Product: xHCI Host Controller
[18819.646956] usb usb3: Manufacturer: Linux 4.19.0-0.bpo.9-amd64 xhci-hcd
[18819.646964] usb usb3: SerialNumber: 0000:00:14.0
[18819.649176] hub 3-0:1.0: USB hub found
[18819.649225] hub 3-0:1.0: 4 ports detected
[18819.980958] usb 2-4: new high-speed USB device number 2 using xhci_hcd
[18820.140287] usb 2-4: New USB device found, idVendor=5986, idProduct=0299, bcdDevice= 0.10 [18820.140299] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[18820.140305] usb 2-4: Product: Integrated Camera
[18820.140309] usb 2-4: Manufacturer: Vimicro corp.
[18820.144438] uvcvideo: Found UVC 1.00 device Integrated Camera (5986:0299)
[18820.147743] uvcvideo 2-4:1.0: Entity type for entity Processing 2 was not initialized! [18820.147758] uvcvideo 2-4:1.0: Entity type for entity Camera 1 was not initialized! [18820.147768] uvcvideo 2-4:1.0: Entity type for entity Extension 4 was not initialized! [18820.148049] input: Integrated Camera: Integrated C as /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/input/input78



--
Ottavio Caruso


Reply to: