View Single Post
Old 03-25-2011, 03:29 AM   #2
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 3,055
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
I have no idea if this will work on the PB device, but android devices can use a wake_lock to keep from going into suspend mode. Try bracketing your call to timidity with:

echo test > /sys/power/wake_lock
timidity ...
echo test > /sys/power/wake_unlock

and see if that keeps the system from suspending.

Last edited by rkomar; 03-25-2011 at 03:35 AM. Reason: cat -> echo
rkomar is offline   Reply With Quote