Re: OZ instability/performance C3100

"Justin Patrin" <[email protected]> Wed, 17 Jan 2007 07:25:40 -0800
Newsgroups gmane.comp.handhelds.openzaurus.user
Message-ID <[email protected]>
On 1/17/07, Justin Patrin <[email protected]> wrote:
> On 1/16/07, Ger Apeldoorn <[email protected]> wrote:
> > > > > - I cant seem to find a good audiobook player. (Had Kino2 on the cacko
> > > > > rom, but that depends on some Sharp libraries the author told me) (Now,
> > > > > I use XMMS, but the buttons are really small (uses only part of the
> > > > > screen) and the power is turned off when i close the clamshell.)
> > > >
> > > > What format do you need to play? I use mpd for music playing myself
> > > > with the ncmpc frontend. If you run GPE you can use gmpc or glurp as a
> > > > frontend.
> > >
> > > I've tried the mpd with ncmpc and it looks very promising. I cant seem to
> > > find any documentation though. Can you point me to any?
> >
>
> http://www.musicpd.org/
>
> > By the way, is it possible surpress the standby when playing audio? (Closing
> > the clamshell/standby timeout)
> >
>
> I'll try to put up some files I use in a little bit. I've altered my
> apmd, zaurusd, and ipaq-sleep scripts/config to make it more mpd
> friendly.
>

To set up ipaq-sleep to not auto-suspend while playing music set this
in your ipaq-sleep.conf:
IRQ = 25

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

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