Comment 49 for bug 126140

Adam McDaniel (adamrmcd) wrote :

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