After a newfound interest in using acpid, I looked up a howto, and then tried to debug. After some googling, I found that the problem was that default.sh in /etc/acpid is stupid, and when It finds an event it doesn't understand (all events) it shuts down the machine and complains. I changed this line, and it now works perfectly. Now alsactl restore is another story. I tried alsactl store 0 and alsactl store 1, but alsactl restore doesn't do anything. It works, but I still have to go through my ritual of playing with the volume. Any other ideas?
Thanks, -Peter On Tuesday 22 August 2006 03:29, Richard Fish wrote: > On 8/21/06, > > Peter Davoust <[EMAIL PROTECTED]> wrote: > > I haven't, but how do I specify that it should be run on resume? Or do I > > have to run it myself? > > emerge hibernate-script > > Then "man hibernate.conf", edit /etc/hibernate/ram.conf to suit, and > when you want to go to S3 standby, do "hibernate -F > /etc/hibernate/ram.conf". Assuming you have ACPI button events setup, > you can even edit /etc/acpi/default.sh to set that as the command that > is run in response to your power/sleep/lid button. > > I really cannot recommend hibernate-script strongly enough. > > -Richard -- [email protected] mailing list
