rcalsa isn't on my system, but rcalsasound was and rcalsasound restart fixed all my problems.
Whatever, I didn't check spelling :-)
Now, I want to make rcalsasound restart run automagically after the
system
resumes. Googling around, I found the homepage http://suspend2.net which has information about a file called /etc/hibernate and /proc/software_suspend. Neither of these exist on my SuSE 9.3 install - does anyone know of a way of making swsusp run a script upon resume ?
Try:
APMD_STOP_SOUND_BEFORE_SUSPEND="yes"
in "/etc/sysconfig/powermanagement" and report here ;-)
Else, check "/etc/sysconfig/powersave/*", there might be something.
Another way, what I do, is create your own script that calls whatever is needed, including swsusp in the middle.
APMD_STOP_SOUND_BEFORE_SUSPECT="yes" didnt seem to have any effect whatsoever I couldnt find anything in /etc/sysconfig/powersave/* that was related to either forcing an unload and reload of modules, nor anything to let me call a script. If I could somehow call a script when the pc has resumed, I am laughing because I can get a script to stop and then reload the sound, and I can do some other housekeeping etc. Is there any other means of automatically calling a script once the resume is complete ? I.e., do any events occur to signal that the resume is complete ?