FS#16586 - [kernel26]-2.6.31.3 Soundcard not recognized anymore

Attached to Project: Arch Linux
Opened by Julien (ganymede) - Monday, 12 October 2009, 11:55 GMT
Last edited by Aaron Griffin (phrakture) - Thursday, 15 October 2009, 17:06 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

After upgrading the kernel to the current stable version (from 2.6.30.6 to 2.6.31.3), my soundcard is not recognized anymore.
- the little LED showing the state of my sound system is orange (it sould be white)
- alsamixer says : "No soundcard found"
- KDE displays an error message (approximative translation from french) : "Sound device removed" (see attachment for screenshot).
Of course, I have no sound.

My audio device, according to lspci is :
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
The kernel sound module for this audio controller is snd_hd_intel. According to 'lsmod', the module is loaded (and also the other snd_* stuff).

I first tried to :
- reinstall alsa-lib, alsa-oss and alsa-utils
- make a new config with alsaconf
But it didn't solve my problem.

Then I came back to the previous kernel version (kernel26-2.6.30.6-1)... and after rebooting the sound was back !

It looks like support for my soundcard was removed from the current stable version of the kernel.
But this sound component is relatively recent and common in laptops (I'm using a HP Pavilion dv7-1299ef laptop, bought in february this year).
This task depends upon

Closed by  Aaron Griffin (phrakture)
Thursday, 15 October 2009, 17:06 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Use enable_msi=1. See comments
Comment by Julien (ganymede) - Monday, 12 October 2009, 19:50 GMT
I just made a step towards understanding the problem.
Since I installed Arch, a few month ago, I used to pass some options to snd_hda_intel via /etc/modprobe.d/modprobe.conf :

options snd-hda-intel enable=1 enable_msi=1 single_cmd=1 power_save_controller=1

These options are needed to have my audio controller working properly ; without them, the sound is very strange (jerky, doesn't stop after closing a music player...).

Removing these options or replacing them by the options suggested in Arch's wiki ('options snd-hda-intel model=laptop' or 'options snd-hda-intel model=laptop enable=1 index=0') solve partly my problem : the soundcard is now recognized when running kernel 2.6.31.3.
The options I used to pass where preventing the hardware to be properly detected / initialized.

Yes... But the sound I have now is buggy as it was with previous kernel versions and without my usual options !
My problem is now : ho to make my sound system work properly with kernel 2.6.31 ?
Comment by Julien (ganymede) - Tuesday, 13 October 2009, 09:25 GMT
I had some help from the french forum...
After trying some options, it appears that :

options snd-hda-intel enable_msi=1

solves the problem.
The sound is now totally functionnal on my system.

This bug was not related to the new kernel, as I thought first, but to the options passed to snd-hda-intel in /etc/modprobe.d/modprobe.conf. Sorry for the mistake !
The only thing that has probably to be updated is the 'alsa' section onf the wiki.
Comment by Julien (ganymede) - Thursday, 15 October 2009, 16:59 GMT
My soundcard is also correctly recognized with kernel26-2.6.31.4-1 (last update at this time) and

options snd-hda-intel enable_msi=1

in /etc/modprobe.d/modprobe.conf

Loading...