Re: Save trackpad settings during sleep
On Sat, Jun 09, 2001 at 08:35:29PM +0200, Michael Schmitz wrote:
> > Hey all. I got tired of accidently highting text 'cuz I touched the trackpad
> > and forgot to re-run /sbin/trackpad after waking up the ibook, so I
> > wrote the following for /etc/power/pwrct-local. I figured it might be of
> > use to others, so here it is:
> pmud 0.7 does save the trackpad state before sleep and restore it after
> wakeup (the very same way the trackpad tool did). If that doesn't work on
> the iBook it should be fixed. Can you send me the source for your trackpad
> tool so I can check if anything iBook related was added there?
Er, I'm using the current powerpc-utils (and pmud) in woody. I did a
little bit of digging, and I _think_ the reason this happens is that pmud
tries to restore the trackpad settings before the device is probed (and
when probed again, it resets to the defaults). This is why in my script
on wakeup i have a sleep 2 in there, so the device gets probed again.
On other machines, does a complete adb-reprobe happen on wakeup? I'm
wondering if it's something new/different benh is doing..
Tom Rini (TR1265)