You are not logged in.

#1 2015-11-10 15:55:42

HyperLink
Member
From: In front of my Linux box...?!
Registered: 2014-03-14
Posts: 44

[SOLVED] Onboard sound stopped working?

Yesterday my onboard sound jack on my laptop stopped working. I have no idea why, as I didn't update my system on that day, the only thing I did was install LogMeIn Hamachi from the AUR (that shouldn't have anythong to do with that)
My soundcard uses the snd-hda-intel driver.
Alsamixer lists only the default device (pulseaudio) and pavucontrol as only output device "Dummy output"

When I plug my G430 USB headset in, sound works over that, but not over the onboard speakers nor the headphones jack.
Is my sound card dead or what

Output of lsmod | grep snd

snd_usb_audio         147456  6
snd_usbmidi_lib        28672  1 snd_usb_audio
snd_rawmidi            28672  1 snd_usbmidi_lib
snd_seq_device         16384  1 snd_rawmidi
snd_hda_codec_conexant    24576  2
snd_hda_codec_generic    69632  1 snd_hda_codec_conexant
snd_hda_intel          32768  0
snd_hda_codec         106496  3 snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_intel
snd_hda_core           49152  4 snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
snd_hwdep              16384  2 snd_usb_audio,snd_hda_codec
snd_pcm                86016  6 snd_usb_audio,snd_hda_codec,snd_hda_intel,snd_hda_core
snd_timer              28672  3 snd_pcm
snd                    65536  19 snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_conexant,snd_pcm,snd_rawmidi,snd_hda_codec_generic,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device
soundcore              16384  1 snd
usbcore               196608  8 btusb,snd_usb_audio,snd_usbmidi_lib,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci

Output of lspci | grep Audio

00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)

Output of dmesg | grep snd

[   18.883016] snd_hda_codec_conexant hdaudioC1D0: CX20585: BIOS auto-probing.
[   18.883451] snd_hda_codec_conexant hdaudioC1D0: autoconfig for CX20585: line_outs=1 (0x1f/0x0/0x0/0x0/0x0) type:speaker
[   18.883453] snd_hda_codec_conexant hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   18.883455] snd_hda_codec_conexant hdaudioC1D0:    hp_outs=1 (0x19/0x0/0x0/0x0/0x0)
[   18.883456] snd_hda_codec_conexant hdaudioC1D0:    mono: mono_out=0x0
[   18.883457] snd_hda_codec_conexant hdaudioC1D0:    inputs:
[   18.883459] snd_hda_codec_conexant hdaudioC1D0:      Mic=0x1b
[   18.883461] snd_hda_codec_conexant hdaudioC1D0:      Internal Mic=0x1a
[   18.884594] snd_hda_codec_conexant hdaudioC1D0: Enable sync_write for stable communication
[   18.884718] snd_hda_codec_conexant hdaudioC1D0: fail to setup default for PCM CX20585 Analog
[  240.337959]  [<ffffffffa04ba260>] ? widget_tree_free.isra.4+0x90/0xb0 [snd_hda_core]
[  240.337971]  [<ffffffffa04b8fa5>] snd_hdac_device_unregister+0x25/0x30 [snd_hda_core]
[  240.337984]  [<ffffffffa04f8b3a>] snd_hda_codec_reset+0x2a/0x70 [snd_hda_codec]
[  240.337995]  [<ffffffffa04f915b>] snd_hda_codec_build_pcms+0x18b/0x1b0 [snd_hda_codec]
[  240.338004]  [<ffffffffa04f344e>] hda_codec_driver_probe+0xbe/0x140 [snd_hda_codec]
[  240.338066]  [<ffffffffa04f30da>] __hda_codec_driver_register+0x5a/0x60 [snd_hda_codec]
[  240.338076]  [<ffffffffa04b401e>] conexant_driver_init+0x1e/0x1000 [snd_hda_codec_conexant]
[...] (it just keeps repeating this)
[ 1081.052722]  [<ffffffffa04ba260>] ? widget_tree_free.isra.4+0x90/0xb0 [snd_hda_core]
[ 1081.052728]  [<ffffffffa04b8fa5>] snd_hdac_device_unregister+0x25/0x30 [snd_hda_core]
[ 1081.052733]  [<ffffffffa04f8b3a>] snd_hda_codec_reset+0x2a/0x70 [snd_hda_codec]
[ 1081.052738]  [<ffffffffa04f915b>] snd_hda_codec_build_pcms+0x18b/0x1b0 [snd_hda_codec]
[ 1081.052742]  [<ffffffffa04f344e>] hda_codec_driver_probe+0xbe/0x140 [snd_hda_codec]
[ 1081.052769]  [<ffffffffa04f30da>] __hda_codec_driver_register+0x5a/0x60 [snd_hda_codec]
[ 1081.052774]  [<ffffffffa04b401e>] conexant_driver_init+0x1e/0x1000 [snd_hda_codec_conexant]
[ 1151.416089] usbcore: registered new interface driver snd-usb-audio <-- this is when I plug my usb headset in

EDIT: The whole stacktrace is this

[ 1081.052641] INFO: task modprobe:258 blocked for more than 120 seconds.
[ 1081.052649]       Tainted: G           O    4.2.5-1-ARCH #1
[ 1081.052650] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 1081.052653] modprobe        D ffff88021fa35200     0   258    257 0x00000000
[ 1081.052660]  ffff880212b43918 0000000000000086 ffff880216229b80 ffff880214a48dc0
[ 1081.052664]  ffff8802143fe8e8 ffff880212b44000 ffff880212b31864 ffff880214a48dc0
[ 1081.052668]  00000000ffffffff ffff880212b31868 ffff880212b43938 ffffffff8157283e
[ 1081.052672] Call Trace:
[ 1081.052691]  [<ffffffff8157283e>] schedule+0x3e/0x90
[ 1081.052694]  [<ffffffff81572c25>] schedule_preempt_disabled+0x15/0x20
[ 1081.052699]  [<ffffffff8157404a>] __mutex_lock_slowpath+0xca/0x140
[ 1081.052704]  [<ffffffff815740db>] mutex_lock+0x1b/0x30
[ 1081.052710]  [<ffffffff813d455b>] device_release_driver+0x1b/0x30
[ 1081.052714]  [<ffffffff813d3bc5>] bus_remove_device+0x105/0x180
[ 1081.052717]  [<ffffffff813d0099>] device_del+0x139/0x260
[ 1081.052722]  [<ffffffffa04ba260>] ? widget_tree_free.isra.4+0x90/0xb0 [snd_hda_core]
[ 1081.052728]  [<ffffffffa04b8fa5>] snd_hdac_device_unregister+0x25/0x30 [snd_hda_core]
[ 1081.052733]  [<ffffffffa04f8b3a>] snd_hda_codec_reset+0x2a/0x70 [snd_hda_codec]
[ 1081.052738]  [<ffffffffa04f915b>] snd_hda_codec_build_pcms+0x18b/0x1b0 [snd_hda_codec]
[ 1081.052742]  [<ffffffffa04f344e>] hda_codec_driver_probe+0xbe/0x140 [snd_hda_codec]
[ 1081.052745]  [<ffffffff813d4ad4>] driver_probe_device+0x1f4/0x460
[ 1081.052748]  [<ffffffff813d4dd0>] __driver_attach+0x90/0xa0
[ 1081.052750]  [<ffffffff813d4d40>] ? driver_probe_device+0x460/0x460
[ 1081.052754]  [<ffffffff813d26fc>] bus_for_each_dev+0x6c/0xc0
[ 1081.052758]  [<ffffffff813d42ce>] driver_attach+0x1e/0x20
[ 1081.052761]  [<ffffffff813d3e2b>] bus_add_driver+0x1eb/0x280
[ 1081.052763]  [<ffffffffa04b4000>] ? 0xffffffffa04b4000
[ 1081.052766]  [<ffffffff813d56e0>] driver_register+0x60/0xe0
[ 1081.052769]  [<ffffffffa04f30da>] __hda_codec_driver_register+0x5a/0x60 [snd_hda_codec]
[ 1081.052774]  [<ffffffffa04b401e>] conexant_driver_init+0x1e/0x1000 [snd_hda_codec_conexant]
[ 1081.052778]  [<ffffffff81002123>] do_one_initcall+0xb3/0x200
[ 1081.052782]  [<ffffffff8157009c>] do_init_module+0x60/0x1e7
[ 1081.052787]  [<ffffffff810f8c06>] load_module+0x2206/0x2850
[ 1081.052791]  [<ffffffff810f59a0>] ? symbol_put_addr+0x40/0x40
[ 1081.052796]  [<ffffffff810f93a4>] SyS_init_module+0x154/0x1a0
[ 1081.052799]  [<ffffffff8157626e>] entry_SYSCALL_64_fastpath+0x12/0x71

I'll try a pacman -Syu and see if that fixes it but I highly doubt it.

Thanks in advance

Last edited by HyperLink (2015-11-10 16:58:25)

Offline

#2 2015-11-10 16:58:06

HyperLink
Member
From: In front of my Linux box...?!
Registered: 2014-03-14
Posts: 44

Re: [SOLVED] Onboard sound stopped working?

Well, a reboot/full update fixed it.
Reboot didn't fix it before and upgrade didn't install anything sound related. But it works now, guess I will set this to solved.

Offline

#3 2016-01-02 09:11:05

victl
Member
Registered: 2014-12-07
Posts: 25

Re: [SOLVED] Onboard sound stopped working?

I've got a similar problem like you: internal speakers for my Thinkpad X201T is not working but headphone's ok. And thankfully, the problem is solved with the same method like you - do a `pacman -Syu` upgrade!
I think this has something to do with the Linux kernel. I've googled about this problem, most threads point to the kernel, specifically something related to power-saving mechanism of kernel or something from dual-boot (I've got another Windows 10 on my laptop).
I've noticed the Linux kernel had upgraded from 4.2.5 to 4.3.3 after doing `pacman -Syu`. Hope this information might help any people encountered the same problem.
PS, we might have similar hardware:

victor@think-arch ~ % lsmod | grep snd
snd_hda_codec_hdmi     49152  1
snd_hda_codec_conexant    24576  1
snd_hda_codec_generic    69632  1 snd_hda_codec_conexant
snd_hda_intel          32768  4
snd_hda_codec         106496  4 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_intel
snd_hda_core           49152  5 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
snd_hwdep              16384  1 snd_hda_codec
snd_pcm                86016  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core
snd_timer              28672  1 snd_pcm
snd                    65536  17 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,thinkpad_acpi
soundcore              16384  1 snd

and lspci | grep Audio:

00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)

Offline

#4 2016-01-02 09:27:13

victl
Member
Registered: 2014-12-07
Posts: 25

Re: [SOLVED] Onboard sound stopped working?

Oh, bad luck, the internal speaker is not working again. They did worked when the system is up with the new kernel. But after several minutes running, same problem comes back again!
I'll start a new thread about this!
Nevertheless, thank you for pointing out `pacman -Syu` might help.

Offline

Board footer

Powered by FluxBB