← 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

 

Paulo:
I have no idea whether it saves any power or how much - I'll have to sit down and measure it. There might also be side effects but I haven't seen its effect on shutdown mentioned elsewhere.

Adam:
Are you sure? I have an EeePC 900 too and see the same results as Paulo. Remember it's not enough to "just" enable powersaving - you also have to set a timeout in seconds too. Since I have the ability to use modules compiled out of my kernel I can be sure snd_hda_intel is not being unloaded at any point and my machine powers off : )

On a related note my EeePC hits the C3 state for up to 100 ms (but then
I'm using this timeout setting in sysfs/Kconfig for snd_hda). However
according to my power meter this does not save me a watt of power (its
resolution is only to a watt though so if it's saving 0.5W I wouldn't
notice).

-- 
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