Bug 58351

Summary: No sound with Linux 3.9.2 on Acer laptop
Product: Drivers Reporter: Star Brilliant (coder)
Component: Sound(ALSA)Assignee: Jaroslav Kysela (perex)
Status: RESOLVED CODE_FIX    
Severity: normal CC: coder, tiwai
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.9.2 (ArchLinux) Subsystem:
Regression: No Bisected commit-id:
Attachments: alsa-info.sh running on 3.8.11 kernel
alsa-info.sh running on 3.9.2 kernel

Description Star Brilliant 2013-05-16 15:25:14 UTC
After upgrading to 3.9.2 kernel, the sound did not work.
However, the system CAN recognize my sound card, and my sound card appeared in `alsamixer`.
Playing music in MPlayer resulted in silence, and 'Audio device got stuck!' occasionally (not always) appears in output of MPlayer.
Downgrading the kernel to 3.8.11 can solve the problem.


Providing more info:

Acer Aspire laptop, with Intel i5 CPU, 2nd generation SandyBridge.

`uname -a`:
> Linux brilliant-laptop 3.9.2-1-ARCH #1 SMP PREEMPT Sat May 11 20:31:08 CEST
> 2013 x86_64 GNU/Linux

`lspci | grep Audio`:
> 00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family
> High Definition Audio Controller (rev 04)

`dmesg`:
> Pasted here: http://pastebin.com/yRYaHRpa

`cat .pulse/daemon.pa`:
> default-sample-rate = 48000
> alternate-sample-rate = 44100
> default-sample-format = float32le

`cat /etc/modprobe.d/alsa-base.conf`:
> options snd-hda-intel model=acer
(This file aims to fix another bug. Trying to remove this file could not fix this problem. I paste this file only because it is related to sound.)

`lsmod`:
> Pasted here: http://pastebin.com/ZRHrnVWj

`cat /etc/bluetooth/{main,audio}.conf`:
> Pasted here: http://pastebin.com/5JhrK1jz
(My bluetooth module sometimes stops working and causes freeze of the whole ALSA. This is why I paste these files.)


My other bug reports:
> https://mailman.archlinux.org/pipermail/arch-general/2013-May/033559.html
Comment 1 Takashi Iwai 2013-05-16 15:37:48 UTC
Could you give the alsa-info.sh outputs taken from both 3.8 and 3.9 kernels?
Run it with --no-upload option and attach to bugzilla.

Also, which output did you test?  Both speaker and headphone ouputs don't work, right?
Comment 2 Star Brilliant 2013-05-16 15:47:51 UTC
alsa-info.sh with 3.8 kernel: http://pastebin.com/F570xESU

However, since ArchLinux allows only to install one version of kernel at once, I will uninstall 3.8 and reinstall 3.9 kernel to paste alsa-info.sh of 3.9 on weekend tomorrow in order not to affect my work or study.

Also, I tested with both speaker and headphone when the problem happened, but not testing with HDMI or SPDIF.
Comment 3 Takashi Iwai 2013-05-16 16:25:49 UTC
Please attach the real outputs taken with --no-upload option instead of pastebin URL, so that the information won't be lost.  Thanks.
Comment 4 Star Brilliant 2013-05-17 10:39:36 UTC
Created attachment 101831 [details]
alsa-info.sh running on 3.8.11 kernel
Comment 5 Star Brilliant 2013-05-17 10:40:05 UTC
Created attachment 101841 [details]
alsa-info.sh running on 3.9.2 kernel
Comment 6 Takashi Iwai 2013-05-17 11:07:16 UTC
Thanks.

This should be an issue that has been already fixed in 3.10-rc1 by the commit
ff359b14919c379a365233aa2e1dd469efac8ce8
    ALSA: hda - Fix 3.9 regression of EAPD init on Conexant codecs

The fix patch will land in 3.9.3 stable kernel soon later.
Comment 7 Star Brilliant 2013-05-17 11:13:27 UTC
Thanks a lot.
If it works in 3.9.3, I will mark it as RESOLVED.
Comment 8 Star Brilliant 2013-05-22 15:15:46 UTC
Solved, thanks!