You are not logged in.

#1 2019-05-26 10:24:47

minecraft2048
Member
Registered: 2017-06-22
Posts: 5

USB class compliant sound card not detected

I'm running pulseaudio on a fresh installation of Arch Linux and when I plug in a Unitek USB sound card, pavucontrol does not detect it. Here is the dmesg output:

[  +0.002427] ath9k_htc 1-8:1.0 wlp0s20f0u8: renamed from wlan0
[  +0.003792] audit: type=1130 audit(1558864948.093:83): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  +3.466093] wlp0s20f0u8: authenticate with 00:5d:73:94:f0:a1
[  +0.256927] wlp0s20f0u8: send auth to 00:5d:73:94:f0:a1 (try 1/3)
[  +0.006036] wlp0s20f0u8: authenticated
[  +0.002627] wlp0s20f0u8: associate with 00:5d:73:94:f0:a1 (try 1/3)
[  +0.003239] wlp0s20f0u8: RX AssocResp from 00:5d:73:94:f0:a1 (capab=0x431 status=0 aid=19)
[  +0.008337] wlp0s20f0u8: associated
[  +0.259723] wlp0s20f0u8: Limiting TX power to 8 dBm as advertised by 00:5d:73:94:f0:a1
[  +0.999851] audit: type=1131 audit(1558864953.097:84): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[May24 22:30] wlp0s20f0u8: deauthenticating from 00:5d:73:94:f0:a1 by local choice (Reason: 3=DEAUTH_LEAVING)
[  +1.434384] wlp0s20f0u8: authenticate with 00:5d:73:94:f0:a1
[  +0.264442] wlp0s20f0u8: send auth to 00:5d:73:94:f0:a1 (try 1/3)
[  +0.001152] wlp0s20f0u8: authenticated
[  +0.004855] wlp0s20f0u8: associate with 00:5d:73:94:f0:a1 (try 1/3)
[  +0.003091] wlp0s20f0u8: RX AssocResp from 00:5d:73:94:f0:a1 (capab=0x431 status=0 aid=19)
[  +0.008643] wlp0s20f0u8: associated
[  +0.103764] wlp0s20f0u8: Limiting TX power to 8 dBm as advertised by 00:5d:73:94:f0:a1
[  +0.075914] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s20f0u8: link becomes ready
[May24 22:31] usb 1-4: new full-speed USB device number 26 using xhci_hcd
[  +0.141052] usb 1-4: New USB device found, idVendor=0d8c, idProduct=0014, bcdDevice= 1.00
[  +0.000005] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  +0.000003] usb 1-4: Product: USB Audio Device
[  +0.000002] usb 1-4: Manufacturer: C-Media Electronics Inc.
[  +0.001474] input: C-Media Electronics Inc. USB Audio Device as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.3/0003:0D8C:0014.000C/input/input22
[  +0.054269] hid-generic 0003:0D8C:0014.000C: input,hidraw0: USB HID v1.00 Device [C-Media Electronics Inc. USB Audio Device] on usb-0000:00:14.0-4/input3
[May24 22:40] usb 1-4: USB disconnect, device number 26
[  +2.399085] usb 1-4: new full-speed USB device number 27 using xhci_hcd
[  +0.141042] usb 1-4: New USB device found, idVendor=0d8c, idProduct=0014, bcdDevice= 1.00
[  +0.000005] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  +0.000003] usb 1-4: Product: USB Audio Device
[  +0.000002] usb 1-4: Manufacturer: C-Media Electronics Inc.
[  +0.001297] input: C-Media Electronics Inc. USB Audio Device as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.3/0003:0D8C:0014.000D/input/input23
[  +0.054386] hid-generic 0003:0D8C:0014.000D: input,hidraw0: USB HID v1.00 Device [C-Media Electronics Inc. USB Audio Device] on usb-0000:00:14.0-4/input3
[May24 22:46] usb 1-4: USB disconnect, device number 27
[  +2.798901] usb 1-4: new full-speed USB device number 28 using xhci_hcd
[  +0.141026] usb 1-4: New USB device found, idVendor=0d8c, idProduct=0014, bcdDevice= 1.00
[  +0.000004] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  +0.000003] usb 1-4: Product: USB Audio Device
[  +0.000002] usb 1-4: Manufacturer: C-Media Electronics Inc.
[  +0.001397] input: C-Media Electronics Inc. USB Audio Device as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.3/0003:0D8C:0014.000E/input/input24
[  +0.054278] hid-generic 0003:0D8C:0014.000E: input,hidraw0: USB HID v1.00 Device [C-Media Electronics Inc. USB Audio Device] on usb-0000:00:14.0-4/input3

from 22:46 new USB is detected by hid-generic

Here is the output of lsusb:

[minato@konoha ~]$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 025: ID 0cf3:9271 Qualcomm Atheros Communications AR9271 802.11n
Bus 001 Device 019: ID 1770:ff00  
Bus 001 Device 028: ID 0d8c:0014 C-Media Electronics, Inc. Audio Adapter (Unitek Y-247A)
Bus 001 Device 020: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
Bus 001 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 004: ID 04f2:b521 Chicony Electronics Co., Ltd 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

output of aplay -L

[minato@konoha ~]$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
jack
    JACK Audio Connection Kit
pulse
    PulseAudio Sound Server
default:CARD=PCH
    HDA Intel PCH, ALC898 Analog
    Default Audio Device
sysdefault:CARD=PCH
    HDA Intel PCH, ALC898 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC898 Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC898 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC898 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC898 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC898 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC898 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC898 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
    HDA Intel PCH, ALC898 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
hdmi:CARD=PCH,DEV=1
    HDA Intel PCH, HDMI 1
    HDMI Audio Output
hdmi:CARD=PCH,DEV=2
    HDA Intel PCH, HDMI 2
    HDMI Audio Output
hdmi:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 3
    HDMI Audio Output
hdmi:CARD=PCH,DEV=4
    HDA Intel PCH, HDMI 4
    HDMI Audio Output
usbstream:CARD=PCH
    HDA Intel PCH
    USB Stream Output

output of /proc/asound/cards

[minato@konoha ~]$  cat /proc/asound/cards 
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xdf220000 irq 128

I try to load snd-usb-audio and it doesn't work:

[minato@konoha ~]$ sudo modprobe snd-usb-audio
modprobe: FATAL: Module snd-usb-audio not found in directory /lib/modules/5.1.3-arch1-1-ARCH

I'm running pacman -Syu right now

EDIT: Restarting my laptop makes the sound card detected, probably there is a problem with hotplugging usb sound card. There is a thing about that in the wiki, so I'm not closing this yet

Last edited by minecraft2048 (2019-05-26 10:27:50)

Offline

#2 2019-05-26 11:29:54

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,423

Re: USB class compliant sound card not detected

If you run a system update including the kernel, it's modules are overriden with the new modules from a new kernel. If you now do an action that would mandate the kernel to load a new module, your running, old kernel will not find it's modules anymore. You are always advised to reboot after kernel updates.

Offline

Board footer

Powered by FluxBB