← Back to team overview

ubuntu-eeepc team mailing list archive

[Bug 126140] Re: snd_hda_intel fails to unload (or unload correctly) on shut down; laptop fails to halt

 

Tested on EeePC 900 (Realtek ALC62 rev1) using Hardy (Alsa 1.0.16) with
the powersaving technique quoted by Sitsofe.

This is still a problem. The device will not shutdown if snd_hda_intel
is still loaded.

Interesting side note #1: A known issue with snd_hda_intel is that the
CPU never reaches C3 state while this module is loaded, according to
powertop. Even after setting the power_save parameter, it never makes it
there.

Interesting side note #2: Forcing the module to reload with "sudo alsa
force-reload" will allow the CPU to move into C3, but playing anything
out out of the soundcard keeps something active in the module as the C3
state is no longer attainable.

So, what's my point? :) ... If the CPU is able to reach C3 state with
snd_hda_intel loaded, the device can power-off properly without manually
unloading the module.

-- 
snd_hda_intel fails to unload (or unload correctly) on shut down; laptop fails to halt
https://bugs.launchpad.net/bugs/126140
You received this bug notification because you are a member of Ubuntu
EEEPC, which is a direct subscriber.

Status in Ubuntu: Invalid
Status in “linux” source package in Ubuntu: Triaged
Status in “linux-source-2.6.22” source package in Ubuntu: Invalid
Status in Fedora: Confirmed

Bug description:
Binary package hint: kernel-image-2.6.22-8-generic-di

I chose to file this under the current Gutsy kernel, but this issue has plagued me since Dapper.  Ever since Dapper my laptop wouldn't shut down properly.  I would get the infamous "will now halt" message, but my computer would never completely shut down.  Today I found the culprit: the snd_hda_intel module.  If I manually remove this module (rmmod snd_hda_intel) before shutting down everything works perfectly.  My laptop is a Toshiba Satellite A105-S2716.

I also came across a post from bug #43961 that confirms the same behavior. Coincidentally, he has the same model laptop I do:
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.15/+bug/43961/comments/157

Workaround:

To work around this problem, I created an init.d script to run at shutdown.  All the script does is remove the snd_hda_intel module at shutdown (rmmod snd-hda-intel) and things work smoothly.
See this thread for more detail: http://ubuntuforums.org/showthread.php?t=500268