You are not logged in.

#1 2022-11-04 09:07:10

luntik20120
Member
Registered: 2017-11-25
Posts: 14

Sound disappears for random time after connecting usb webcam

My sound disappears for some random time (5s-5m) right after connecting sven usb webcam:

```sh
< Bus 007 Device 006: ID 1871:0143 Aveo Technology Corp. USB2.0 Camera
```

dmesg:
```sh
[  291.855378] usb 7-2.3: new high-speed USB device number 5 using xhci_hcd
[  291.958427] usb 7-2.3: New USB device found, idVendor=1871, idProduct=0143, bcdDevice= 6.30
[  291.958431] usb 7-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  291.958433] usb 7-2.3: Product: USB2.0 Camera
[  291.958434] usb 7-2.3: Manufacturer: AVEO Technology Corp.
[  292.541710] mc: Linux media interface: v0.10
[  292.548947] videodev: Linux video capture interface: v2.00
[  297.608769] usb 7-2.3: 3:1: cannot set freq 48000 to ep 0x84
[  297.764815] usb 7-2.3: Warning! Unlikely big volume range (=8191), cval->res is probably wrong.
[  297.764818] usb 7-2.3: [3] FU [Mic Capture Volume] ch = 1, val = 0/8191/1
[  297.765221] usbcore: registered new interface driver snd-usb-audio
[  297.765840] usb 7-2.3: Found UVC 1.00 device USB2.0 Camera (1871:0143)
[  297.767869] usb 7-2.3: Failed to query (GET_INFO) UVC control 1 on unit 3: -32 (exp. 1).
[  297.770387] input: USB2.0 Camera: USB2.0 Camera as /devices/pci0000:00/0000:00:08.1/0000:0e:00.3/usb7/7-2/7-2.3/7-2.3:1.0/input/input24
[  297.770441] usbcore: registered new interface driver uvcvideo
[  297.807867] usb 7-2.3: Failed to query (GET_DEF) UVC control 1 on unit 3: -32 (exp. 2).
[  302.942088] usb 7-2.3: 3:1: cannot set freq 48000 to ep 0x84
[  302.977570] usb 7-2.3: 3:0: usb_set_interface failed (-32)
[  308.062039] usb 7-2.3: 3:1: cannot set freq 48000 to ep 0x84
[  308.097569] usb 7-2.3: 3:0: usb_set_interface failed (-32)
[  313.182275] usb 7-2.3: 3:1: cannot set freq 48000 to ep 0x84
[  313.217569] usb 7-2.3: 3:0: usb_set_interface failed (-32)
```

```sh
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 9: HDMI 3 [LG ULTRAGEAR]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 10: HDMI 4 [LG ULTRAGEAR]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: ALC1220 Analog [ALC1220 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 1: ALC1220 Digital [ALC1220 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

```

I'm using my motherboard's 3.5 jack output (x570s aorus master), selecting "Starship/Matisse HD Audio Controller Analog Stereo" as output in xfce pulseaudio plugin.

Offline

#2 2022-11-20 13:12:32

luntik20120
Member
Registered: 2017-11-25
Posts: 14

Re: Sound disappears for random time after connecting usb webcam

solved by blacklisting snd_usb_audio kernel module

```sh
cat /etc/modprobe.d/usb_audio.conf
blacklist snd_usb_audio
```

Offline

Board footer

Powered by FluxBB