Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB-soundcard not detected by alsa after 4.14 upgrade
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Letharion
Veteran
Veteran


Joined: 13 Jun 2005
Posts: 1289
Location: Sweden

PostPosted: Wed Jan 17, 2018 2:18 pm    Post subject: USB-soundcard not detected by alsa after 4.14 upgrade Reply with quote

I have audio working just fine on 4.12, but when upgrading to 4.14, all audio disappears.

Pulling and plugging the usb-soundcard back in yields:

Code:
kernel: [  356.972556] usb 3-12: USB disconnect, device number 5
kernel: [  358.329144] usb 3-12: new full-speed USB device number 6 using xhci_hcd
kernel: [  358.456068] usb 3-12: New USB device found, idVendor=0b05, idProduct=17a0
kernel: [  358.456071] usb 3-12: New USB device strings: Mfr=3, Product=1, SerialNumber=0
kernel: [  358.456073] usb 3-12: Product: USB Advanced Audio Device
kernel: [  358.456074] usb 3-12: Manufacturer: C-Media Electronics Inc.
kernel: [  358.457198] input: C-Media Electronics Inc. USB Advanced Audio Device as /devices/pci0000:00/0000:00:14.0/usb3/3-12/3-12:1.3/0003:0B05:17A0.0005/input/input8
kernel: [  358.509309] hid-generic 0003:0B05:17A0.0005: input,hidraw3: USB HID v1.00 Device [C-Media Electronics Inc. USB Advanced Audio Device] on usb-0000:00:14.0-12/input3
mtp-probe: checking bus 3, device 6: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-12"
mtp-probe: bus: 3, device: 6 was not an MTP device


So the kernel appears to correctly identify the card. However at higher levels the card doesn't appear to exist.
Code:
# aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server

Code:
# ls /sys/class/sound/
seq  sequencer  sequencer2  timer
Back to top
View user's profile Send private message
blopsalot
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jan 2017
Posts: 119

PostPosted: Wed Jan 17, 2018 3:52 pm    Post subject: Reply with quote

have you updated alsa and pulseaudio too? i don't know if it's normal for USB audio, but that looks like it's only loading an input portion of the device? I just compile audio device driver as module and let udev load it.
Back to top
View user's profile Send private message
Letharion
Veteran
Veteran


Joined: 13 Jun 2005
Posts: 1289
Location: Sweden

PostPosted: Thu Jan 18, 2018 7:51 am    Post subject: Reply with quote

blopsalot wrote:
have you updated alsa and pulseaudio too? i don't know if it's normal for USB audio, but that looks like it's only loading an input portion of the device? I just compile audio device driver as module and let udev load it.


I haven't recompiled any particular packages, but I suppose it could be worthwhile trying. ALSA is mostly in the kernel, right? So that would be upgraded as part of that.

Here's the kernel log when it works. The mtp-probe bit is missing, not sure what that means or if it's important.

Code:
kernel: [    1.625965] usb 3-12: new full-speed USB device number 5 using xhci_hcd
kernel: [    1.754780] usb 3-12: New USB device found, idVendor=0b05, idProduct=17a0
kernel: [    1.755320] usb 3-12: New USB device strings: Mfr=3, Product=1, SerialNumber=0
kernel: [    1.755790] usb 3-12: Product: USB Advanced Audio Device
kernel: [    1.756250] usb 3-12: Manufacturer: C-Media Electronics Inc.
kernel: [    1.757347] input: C-Media Electronics Inc. USB Advanced Audio Device as /devices/pci0000:00/0000:00:14.0/usb3/3-12/3-12:1.3/0003:0B05:17A0.0004/input/input7
kernel: [    1.810065] hid-generic 0003:0B05:17A0.0004: input,hidraw3: USB HID v1.00 Device [C-Media Electronics Inc. USB Advanced Audio Device] on usb-0000:00:14.0-12/input3


Code:
# ls /sys/class/sound/
audio2  card0  card2  controlC0  controlC2  dsp2  hwC0D0  mixer   mixer2  pcmC2D0c  pcmC3D0p  sequencer   timer
audio3  card1  card3  controlC1  controlC3  dsp3  hwC1D0  mixer1  mixer3  pcmC3D0c  seq       sequencer2
Back to top
View user's profile Send private message
blopsalot
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jan 2017
Posts: 119

PostPosted: Sun Jan 21, 2018 1:01 am    Post subject: Reply with quote

ok yeah, reinstalling alsa and/or pulseaudio probably will not help. from my experience nowadays, as long as you compile audio device drivers as modules, alsa and udev figure it out, and it "just works"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum