site  contact  subhomenews

(SP1) ALSA shutdown

October 19, 2008 — BarryK
It was reported on the forum that if the ALSA sound module was not unloaded at shutdown then the PC did not power-off. This only happens on certain hardware (only reported for the Asus EeePC as far as I know).

4.1 does not execute /etc/rc.d/rc.alsa at startup, as it seemed more trouble that it was worth, instead we have our own startup code in rc.services. However, at shutdown I have put in rc.alsa as it seems sane and does unload the sound modules. rc.shutdown now has this:

#/usr/sbin/alsactl store
#v411 run rc.alsa as it also unloads modules (if not done, prevents shutdown some systems)...
/etc/rc.d/rc.alsa stop

Note, for the EeePC, it is also reported that the wifi module needs to also be unloaded for reliable shutdown. See this thread:
http://murga-linux.com/puppy/viewtopic.php?t=34159&start=15

...hmmm, maybe rc.shutdown needs some generic code that unloads whatever network module(s) is(are) loaded. This can be determined by 'lsmod' and checking against /etc/networkmodules.

Comments

eee Shutdown



Tags: puppy