← 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

 

Confirmed, Sitsofe ;)

I upgraded to 0802 and I can now reach C3 state with ease, regardless of
snd_hda_intel's status.

Also, the device powers off cleanly after setting
"/sys/module/snd_hda_intel/parameters/power_save" to "10" Neat!

Rather than running sysctl on bootup each time to set these parameters,
I've created a general modprobe.d file that does the same thing. (It
also loads the 700-series specific parameter when needed, which was
another hack I've previously worked on)


/etc/modprobe.d/eeepc:

install snd_hda_intel \
    if [ `/usr/sbin/dmidecode -s system-product-name` = "700" ]; then \
        /sbin/modprobe --ignore-install snd_hda_intel model=3stack-dig $CMDLINE_OPTS ; \
    else \
        /sbin/modprobe --ignore-install snd_hda_intel $CMDLINE_OPTS; \
    fi
options snd_hda_intel power_save=10 power_save_controller=Y

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