After living without a microphone input on my computer for a few years, I was shopping for a compatible usb micrphone and realized the WebCam I have has a microphone attached.
After several hours down this rat hole, I need some help. It looks to me like the sound module is not loading for this device.
$ sudo cat /etc/os-release
NAME="openSUSE Leap"
VERSION="42.3"
ID=opensuse
ID_LIKE="suse"
VERSION_ID="42.3"
PRETTY_NAME="openSUSE Leap 42.3"
$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 2: ALC892 Alt Analog [ALC892 Alt Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
$ lsusb |grep Logit
Bus 005 Device 013: ID 046d:082d **Logit**ech, Inc. HD Pro Webcam C920
hwinfo --usb gives:
16: USB 00.0: 0000 Unclassified device
[Created at usb.122]
Unique ID: 0Ce3.pvHYR+pXt90
Parent ID: nzpY.517_uEWzBl2
SysFS ID: /devices/pci0000:00/0000:00:1c.6/0000:04:00.0/usb5/5-1/5-1.4/5-1.4.4/5-1.4.4:1.0
SysFS BusID: 5-1.4.4:1.0
Hardware Class: unknown
Model: "Logitech HD Pro Webcam C920"
Hotplug: USB
Vendor: usb 0x046d "Logitech, Inc."
Device: usb 0x082d "HD Pro Webcam C920"
Revision: "0.11"
Serial ID: "589981AF"
Driver: "uvcvideo"
Driver Modules: "uvcvideo"
Device File: /dev/input/event16
Device Files: /dev/input/event16, /dev/input/by-id/usb-046d_HD_Pro_Webcam_C920_589981AF-event-if00, /dev/input/by-path/pci-0000:04:00.0-usb-0:1.4.4:1.0-event
Device Number: char 13:80
Speed: 480 Mbps
Module Alias: "usb:v046Dp082Dd0011dcEFdsc02dp01ic0Eisc01ip00in00"
Driver Info #0:
Driver Status: uvcvideo is active
Driver Activation Cmd: "modprobe uvcvideo"
Config Status: cfg=no, avail=yes, need=no, active=unknown
Attached to: #23 (Hub)
pavucontrol tool only shows input from the sound card.
The snd-usb-audio module supports some Logitech devices…
modinfo snd-usb-audio|grep 046D
and it is possible to load the driver with VID and PID options like this
modprobe snd-usb-audio vid=0x046D pid=0x082D
*As to whether it can really support this particular Logitech model only experimentation will tell. (It might be supported with a more recent kernel perhaps.)
That reads like progress but to make it persistent it will need to be loaded at boot. That could be done via /etc/modprobe.d/50-sound.conf using something like ‘options snd-usb-audio index=0 vid=0x046D pid=0x082D’
I’m not sure if the existing sound card needs to be explicitly configured, but something like the following might ensure the correct sound card ordering…
For grins, added above and got the error on reboot:
7.686087] **snd**-usb-audio 5-1.4.4:1.2: cannot find the slot for index 1 (range 0-1), error: -16
7.686093] **snd**-usb-audio: probe of 5-1.4.4:1.2 failed with error -16
7.686112] usbcore: registered new interface driver **snd**-usb-audio
unregistering the snd-usb-audio didn’t allow me to add it back successfully.
The module does seem to remain across a reboot after doing the original command. Interestingly. when it does reboot (and the Webcam audio stays online), it’s not seen in Yast (hw->sound) but: