Re: wakeup mess up function keys on powerbook
On Tue, 2003-11-25 at 14:11, Paul van Tilburg wrote:
> On Tue, Nov 25, 2003 at 01:43:45PM +0100, Michel Dänzer wrote:
> > On Tue, 2003-11-25 at 09:18, Stefano Zacchiroli wrote:
> > >
> > > BTW I also want to mimic apm.d behaviour for scripts located in
> > > /etc/apm/*.d. I'm using the attached /etc/power/pwrctl-local, but I'm
> > > not sure if the semantic I implemented is correct or not wrt to the
> > > mapping of events between pmud and apm.
> >
> > Neither am I, but here's what I'm using, FWIW:
> >
> > function pwrctl_Core99()
> > {
> > case "$1" in
> > [...]
> > sleep)
> > [...]
> > # Invoke APM scripts
> > if [ -d /etc/apm/event.d ]; then
> > run-parts --arg="suspend" --arg="resume" /etc/apm/event.d
>
> Note that some package seem to install in /etc/apm/scripts.d. For example
> ifplugd. I don't know what that is about, but you might want to add:
>
> run-parts --arg="suspend" --arg="resume" /etc/apm/event.d
>
> too.
This is explained in /etc/apm/apmd_proxy, which I'm using now.
--
Earthling Michel Dänzer | Debian (powerpc), X and DRI developer
Software libre enthusiast | http://svcs.affero.net/rm.php?r=daenzer
Reply to: