THANKS danr!
I'll add your tip to my ipk of 'fixes' etc. See end.
I've also got a working (somewhat) of apmsleep with wakeup checking kopi. I can't take all the credit since Chistoph created a script that almost fulfilled my needs and I just modified it a bit. (See discussion at
This Thread).
I've packaged everything in ipk's and put them on my server. To install, add the following as a feed: -
src updates
http://www.worldguard.com.au/projects/zaur...urrent/cookpot/The following ipks are there currently: -
-
apmwrapper - More advanced apm script that wraps the real apm executable.
This is compatible with the pdaxrom apm wrapper and should work with
the original apm file as well. It creates /etc/apm/suspend.d and
/etc/apm/resume.d directories and will execute the scripts in there
on a suspend or resume.
Will also wake the device up on events.
-
chkhinge-scripts - Enhances the clamshell scripts
Creates closed.d, landscape.d and portrait.d under /etc/sysconfig/clamshell.
Scripts in these dirs will be executed each time the device enters one
of these states.
-
mplay - mplayer wrapper for Zaurus.
Will drop the resolution to 320x240 and execute mplayer with commandline
useful for playing video fullscreen.
-
pdaxrom-patchlist - A list of fixes/hacks I find useful.
- Creates a cron.hourly job that sets the "hardware" clock to minimize timeloss on a crash
- Adds scripts to /etc/apm directories to unmount all smbfs mounts before a suspend and to set the "hardware" clock on both suspend and resume to minimize time loss on crash
- Wraps xrandr so that when full resolution is selected (IE: xrandr -s 0) and matchbox-panel is running, it will restart matchbox-panel. This restores the applets that were killed due to lack of screen space.
- Patches /etc/profile PS1 to display in colour
- Adds .Xdefaults to root as posted by jerrybme
- Modify esd.conf to terminate and wait longer to start (rgrep)
- Added /usr/bin/playwave. It calls play. Fixes kopi alarm issue (danr, gromituk)
-
wakeup-kopi - Provides a wakeup event for kopi. The zaurus will wake up
in time to view the next alarm
To install the alarm wakup, install 'wakeup-kopi'. It will in turn install apmwrapper. Install the pdaxrom-patchlist to include the fix for playwave. The wakeup-kopi stuff is placed in /etc/apm/wakeup.d and /etc/apm/scripts.d
I must stress I've not had much chance to test out the wake-kopi stuff. It seems to work for me, but theres lots I've not tested. Recurring events definately do not yet work, and perhaps events on daylight saving days etc...
- Bundabrg