Re: Execute script on ACPI resume

2004-05-31 Thread dircha
Broughton, Derek wrote: dircha wrote: I need to restart /etc/init.d/hotplug on resume from suspend-to-disk to pickup my USB mouse. How do you do the suspend? If you use a script to suspend, then the script itself is still running when you resume (ie, the script is just another process that g

Re: Execute script on ACPI resume

2004-05-31 Thread Andrew McMillan
On Mon, 2004-05-31 at 00:09 -0500, dircha wrote: > With APM I could execute a script on resume by placing a symlink to it > in /etc/apm/resume.d/, /etc/rc*.d/ style. > > I can find no documentation on what events ACPI specifies. As best as I > can tell, the only available method is to perform th

Re: Execute script on ACPI resume

2004-05-31 Thread dircha
Broughton, Derek wrote: dircha wrote: I need to restart /etc/init.d/hotplug on resume from suspend-to-disk to pickup my USB mouse. How do you do the suspend? If you use a script to suspend, then the script itself is still running when you resume (ie, the script is just another process that gets

RE: Execute script on ACPI resume

2004-05-31 Thread Broughton, Derek
dircha wrote: > > With APM I could execute a script on resume by placing a > symlink to it > in /etc/apm/resume.d/, /etc/rc*.d/ style. > > I can find no documentation on what events ACPI specifies. As There is no documentation on what _exact_ events ACPI specifies, because events are machine

Re: Execute script on ACPI resume

2004-05-31 Thread Andrew McMillan
On Mon, 2004-05-31 at 00:09 -0500, dircha wrote: > With APM I could execute a script on resume by placing a symlink to it > in /etc/apm/resume.d/, /etc/rc*.d/ style. > > I can find no documentation on what events ACPI specifies. As best as I > can tell, the only available method is to perform th

RE: Execute script on ACPI resume

2004-05-31 Thread Broughton, Derek
dircha wrote: > > With APM I could execute a script on resume by placing a > symlink to it > in /etc/apm/resume.d/, /etc/rc*.d/ style. > > I can find no documentation on what events ACPI specifies. As There is no documentation on what _exact_ events ACPI specifies, because events are machine

Execute script on ACPI resume

2004-05-31 Thread dircha
With APM I could execute a script on resume by placing a symlink to it in /etc/apm/resume.d/, /etc/rc*.d/ style. I can find no documentation on what events ACPI specifies. As best as I can tell, the only available method is to perform the ACPI action that would cause the intended event, and th

Execute script on ACPI resume

2004-05-30 Thread dircha
With APM I could execute a script on resume by placing a symlink to it in /etc/apm/resume.d/, /etc/rc*.d/ style. I can find no documentation on what events ACPI specifies. As best as I can tell, the only available method is to perform the ACPI action that would cause the intended event, and the