[CentOS] Logitech C922 webcam

Sun Dec 6 04:11:32 UTC 2020
H <agents at meddatainc.com>

On 11/13/2020 12:46 PM, H wrote:
> On 11/13/2020 12:40 PM, H wrote:
>> On 10/02/2020 07:38 AM, H wrote:
>>> On October 1, 2020 11:58:11 AM EDT, Bruce Ferrell <bferrell at baywinds.org> wrote:
>>>> On 9/30/20 8:52 AM, H wrote:
>>>>> 00:14.0 USB controller: Intel Corporation 200 Series/Z370 Chipset
>>>> Family USB 3.0 xHCI Controller
>>>> My system has these:
>>>>
>>>> 00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset
>>>> Family USB xHCI (rev 05)
>>>> 00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset
>>>> Family USB EHCI #2 (rev 05)
>>>> 00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset
>>>> Family USB EHCI #1 (rev 05)
>>>>
>>>> lspci -s 00:14.0 -v
>>>> 00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset
>>>> Family USB xHCI (rev 05) (prog-if 30 [XHCI])
>>>>         Subsystem: ASUSTeK Computer Inc. Device 201f
>>>>         Flags: bus master, medium devsel, latency 0, IRQ 25
>>>>         Memory at dd600000 (64-bit, non-prefetchable) [size=64K]
>>>>         Capabilities: [70] Power Management version 2
>>>>         Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
>>>>         Kernel driver in use: xhci_hcd
>>>>         Kernel modules: xhci_pci
>>>>
>>>> lspci -s 00:1a.0 -v
>>>> 00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset
>>>> Family USB EHCI #2 (rev 05) (prog-if 20 [EHCI])
>>>>         Subsystem: ASUSTeK Computer Inc. Device 201f
>>>>         Flags: bus master, medium devsel, latency 0, IRQ 16
>>>>         Memory at dd618000 (32-bit, non-prefetchable) [size=1K]
>>>>         Capabilities: [50] Power Management version 2
>>>>         Capabilities: [58] Debug port: BAR=1 offset=00a0
>>>>         Capabilities: [98] PCI Advanced Features
>>>>         Kernel driver in use: ehci-pci
>>>>         Kernel modules: ehci_pci
>>>>
>>>> lspci -s 00:1d.0 -v
>>>> 00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset
>>>> Family USB EHCI #1 (rev 05) (prog-if 20 [EHCI])
>>>>         Subsystem: ASUSTeK Computer Inc. Device 201f
>>>>         Flags: bus master, medium devsel, latency 0, IRQ 23
>>>>         Memory at dd617000 (32-bit, non-prefetchable) [size=1K]
>>>>         Capabilities: [50] Power Management version 2
>>>>         Capabilities: [58] Debug port: BAR=1 offset=00a0
>>>>         Capabilities: [98] PCI Advanced Features
>>>>         Kernel driver in use: ehci-pci
>>>>         Kernel modules: ehci_pci
>>>>
>>>> These are my kernel modules:
>>>>
>>>> lsmod | grep usb
>>>> btusb                  53248  0
>>>> btrtl                  16384  1 btusb
>>>> btbcm                  16384  1 btusb
>>>> btintel                20480  1 btusb
>>>> bluetooth             589824  41 btrtl,btintel,bnep,btbcm,rfcomm,btusb
>>>> snd_usb_audio         278528  1
>>>> snd_usbmidi_lib        36864  1 snd_usb_audio
>>>> snd_hwdep              16384  2 snd_hda_codec,snd_usb_audio
>>>> snd_rawmidi            40960  1 snd_usbmidi_lib
>>>> snd_pcm               143360  5
>>>> snd_hda_intel,snd_hda_codec,snd_usb_audio,snd_hda_core,snd_hda_codec_hdmi
>>>> snd                    98304  23 
>>>> snd_hda_intel,snd_hwdep,snd_seq,snd_hda_codec,snd_usb_audio,snd_timer,snd_rawmidi,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_usbmidi_lib,snd_seq_device,snd_hda_codec_realtek,snd_pcm
>>>> usbhid                 57344  0
>>>> usbcore               290816  9
>>>> uvcvideo,usbhid,snd_usb_audio,ehci_hcd,xhci_pci,snd_usbmidi_lib,btusb,xhci_hcd,ehci_pci
>>>>
>>>>
>>>> This line is important:
>>>>
>>>> usbcore               290816  9
>>>> uvcvideo,usbhid,snd_usb_audio,ehci_hcd,xhci_pci,snd_usbmidi_lib,btusb,xhci_hcd,ehci_pci
>>>>
>>>> Notice the last two entries:  xhci_hcd and ehci_pci
>>>>
>>>> Those correspond to:
>>>>
>>>>   for my two usb 2 controllers:
>>>>
>>>>         Kernel driver in use: xhci_hcd
>>>>         Kernel modules: xhci_pci
>>>>
>>>>   for my single usb 3 controller:
>>>>
>>>>         Kernel driver in use: xhci_hcd
>>>>         Kernel modules: xhci_pci
>>>>
>>>>
>>> >from your lspci:
>>>> 00:14.0 USB controller: Intel Corporation 200 Series/Z370 Chipset
>>>> Family USB 3.0 xHCI Controller
>>>>
>>>> This is the sole USB controller in your system and it's a USB 3
>>>> controller
>>>>
>>>> so... in your case let's do:
>>>>
>>>> sudo lspci -s 00:14.0 -v
>>>>
>>>> then try:
>>>>
>>>> sudo modprobe usbcore
>>>>
>>>> and repeat:
>>>>
>>>> sudo lspci -s 00:14.0 -v
>>>>
>>>> see if the Kernel driver/module lines change.  If they do, plug the
>>>> camera in and check for it to be recognized in lsusb
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> CentOS mailing list
>>>> CentOS at centos.org
>>>> https://lists.centos.org/mailman/listinfo/centos
>>> Thank you. Unfortunately I will not have access to this computer for some time, will let you know when I can try what you suggest.
>>> _______________________________________________
>>> CentOS mailing list
>>> CentOS at centos.org
>>> https://lists.centos.org/mailman/listinfo/centos
>> Hmm, did not have an opportunity to try your suggestion at the end of message until today - after I did a BIOS update. The BIOS update, by the way, resulted in the complete loss of recognition of the Logitech camera, regardless of which USB ports I am trying...
>>
>> Anyway, your suggestion above follows:
>> #lspci -s 00:14.0 -v
>> 00:14.0 USB controller: Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller (prog-if 30 [XHCI])
>>     Subsystem: Lenovo Device 103c
>>     Flags: bus master, medium devsel, latency 0, IRQ 28, NUMA node 0
>>     Memory at 43ffff10000 (64-bit, non-prefetchable) [size=64K]
>>     Capabilities: [70] Power Management version 2
>>     Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
>>     Kernel driver in use: xhci_hcd
>>
>> # modprobe usbcore
>> # lspci -s 00:14.0 -v
>> 00:14.0 USB controller: Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller (prog-if 30 [XHCI])
>>     Subsystem: Lenovo Device 103c
>>     Flags: bus master, medium devsel, latency 0, IRQ 28, NUMA node 0
>>     Memory at 43ffff10000 (64-bit, non-prefetchable) [size=64K]
>>     Capabilities: [70] Power Management version 2
>>     Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
>>     Kernel driver in use: xhci_hcd
>>
> Here is the output from tail -f /var/log/messages:
>
> Nov 13 12:41:35 t kernel: usb 1-7: new high-speed USB device number 26 using xhci_hcd
> Nov 13 12:41:35 t kernel: usb 1-7: unable to read config index 0 descriptor/all
> Nov 13 12:41:35 t kernel: usb 1-7: can't read configurations, error -32
> Nov 13 12:41:35 t kernel: usb 1-7: new high-speed USB device number 27 using xhci_hcd
> Nov 13 12:41:35 t kernel: usb 1-7: unable to read config index 0 descriptor/all
> Nov 13 12:41:35 t kernel: usb 1-7: can't read configurations, error -32
> Nov 13 12:41:35 t kernel: usb usb1-port7: attempt power cycle
> Nov 13 12:41:36 t kernel: usb 1-7: new high-speed USB device number 28 using xhci_hcd
> Nov 13 12:41:36 t kernel: usb 1-7: unable to read config index 0 descriptor/all
> Nov 13 12:41:36 t kernel: usb 1-7: can't read configurations, error -32
> Nov 13 12:41:36 t kernel: usb 1-7: new high-speed USB device number 29 using xhci_hcd
> Nov 13 12:41:36 t kernel: usb 1-7: unable to read config index 0 descriptor/all
> Nov 13 12:41:36 t kernel: usb 1-7: can't read configurations, error -32
> Nov 13 12:41:36 t kernel: usb usb1-port7: unable to enumerate USB device
>
> With the above said, there is another issue that has been vexing me, I have an external USB harddisk and when it is attached the computer fails to boot the OS (CentOS 7.8.2003). After the Lenovo logo all I see is a blinking underscore on the screen. Disconnecting the harddisk at this time has no effect. I have to have the harddisk disconnected when I boot and then connect it, after which it works fine. The only noteworthy thing I am aware of is that is encrypted using LUKS so I have to enter a passphrase once it is connected.
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos

On the recommendation by Lenovo, the motherboard has been replaced but the Logitech C922 is still not recognized by the USB subsystem when connected. However, I have now tried Ubuntu 20.10 Live running off the DVD and it does recognize the webcam.

As stated earlier, I have two laptops running CentOS 7 and both recognize the same webcam, thus no high-level deficiency in CentOS 7 itself.

Thus, the problem is not with the hardware, the webcam or the computer, but maybe there is some low-level code for the USB subsystem missing in CentOS 7 required for the Logitech C922 to work on this Lenovo ThinkStation?

What is the opinion of someone more knowledgeable than myself?