Re: OZ instability/performance C3100
"Justin Patrin" <[email protected]> Fri, 19 Jan 2007 06:35:56 -0800
| Newsgroups | gmane.comp.handhelds.openzaurus.user |
|---|---|
| Message-ID | <[email protected]> |
Please send replies to the list. On 1/18/07, Ger Apeldoorn <[email protected]> wrote: > Hi Justin, > > Thanks for your reply! I seem to have a few difficulties: > > > To set up ipaq-sleep to not auto-suspend while playing music set this > > in your ipaq-sleep.conf: > > IRQ = 25 > > I didnt have this file, so I created it. It doesnt seem bothered by it > though :) It still suspends after the set timeout. > You don't have an /etc/ipaq-sleep.conf? You must have ipaq-sleep if your Z is sleeping.... > > To have your zaurus not suspend when closing the lid while music is > > playing, install mpc and edit /etc/zaurusd/hinge-close.d/99-suspend to > > read: > > #!/bin/sh > > if ! mpc | grep -q playing; then > > apm -s > > fi > > This works very well! I already was attempting to create something similar, > but I wasnt aware of the mpc command so I tried to get the status from the > telnet connection.. This is also possible, but you could try using bashmc in this case (which uses shell scripts and netcat :-). > > > Here's my /etc/mpd.conf: > > music_directory "/music" > > playlist_directory "/media/hdd/Documents/playlists" > > log_file "/etc/mpd/mpd.log" > > error_file "/etc/mpd/mpd.error" > > db_file "/etc/mpd/mpd.db" > > state_file "/etc/mpd/mpdstate" > > port "6600" > > > > I then have symlinks in /music for various other directories, such as: > > /media/hdd/Documents/Music_Files > > /media/card/music > > > > I've documented this on my wiki as well: > > http://pear.reversefold.com/dokuwiki/doku.php?id=zaurus:mpd > > -- Justin Patrin ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV