From: Jonathan C. R. <jon...@ba...> - 2004-03-31 22:05:38
|
Hi all, I have just 'ported' hdparm to my iPod, and added the following line to my /etc/rc: hdparm -S 1 /dev/ide/host0/bus0/target0/lun0/disc now my harddisk spins down after 5 seconds of inactivity, and spins up again quite happily when needed. I will do some tests over the next couple of days to see how long the battery lasts in various circumstances - perhaps 10 seconds spindown will prove better. The patch is quite simple, just affecting the Makefile: $ diff hdparm-5.5/Makefile.orig hdparm-5.5/Makefile 13c13 < CC = gcc --- > CC = arm-elf-gcc 17c17 < LDFLAGS = -s --- > LDFLAGS = -s -elf2flt Cheers, Jonathan. |
From: Bernard L. <le...@bo...> - 2004-04-01 07:27:23
|
Great job, I'll see about getting a binary up on in the beta area for download. I'd be very interested to hear what sort of results you see from that. So whats next? ;) cheers, bern. "Jonathan C. Ross" <jon...@ba...> said: > Hi all, > > I have just 'ported' hdparm to my iPod, and added the following line to > my /etc/rc: > > hdparm -S 1 /dev/ide/host0/bus0/target0/lun0/disc > > now my harddisk spins down after 5 seconds of inactivity, and spins up > again quite happily when needed. I will do some tests over the next > couple of days to see how long the battery lasts in various > circumstances - perhaps 10 seconds spindown will prove better. > > The patch is quite simple, just affecting the Makefile: > > $ diff hdparm-5.5/Makefile.orig hdparm-5.5/Makefile > 13c13 > < CC = gcc > --- > > CC = arm-elf-gcc > 17c17 > < LDFLAGS = -s > --- > > LDFLAGS = -s -elf2flt > > Cheers, > Jonathan. > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > iPodlinux-devel mailing list > iPo...@li... > https://lists.sourceforge.net/lists/listinfo/ipodlinux-devel > -- |
From: Jonathan C. R. <jon...@ba...> - 2004-04-01 14:37:57
|
On Apr 1, 2004, at 9:27 AM, Bernard Leach wrote: > > Great job, I'll see about getting a binary up on in the beta area for > download. I'd be very interested to hear what sort of results you see > from that. Last night I left the unit on - I wasn't very surprised to find that the battery had drained fully this morning. Today, I managed 4 hours on a more-or-less fully charged battery, simulating low to semi-normal usage - listening to a song once in a while, playing around with podzilla, letting the unit 'sleep' for a bit, etc., waking it up every ten minutes or so. I'll do another drain test tonight (last night I didn't have a fully charged unit. > So whats next? ;) I guess twice as much battery life, continuous playback of mp3s and some funky userland tools? (-: > cheers, > bern. > Ditto, Jonathan. Ir. Jonathan C. Ross Senior Developer IMC Holding B.V. Tel: +31 20 7988462 For general information, please visit our web site: http://www.imc.nl. This e-mail and its attachments are only intended for the individual(s) or entity(entities) named above to whom they are addressed and may contain personal and/or confidential information. Please notify us immediately if you are not the intended recipient. Any dissemination, duplication, publication to third parties or other use of the contents of this e-mail or its attachments is forbidden. Although this information has been compiled with great care, neither IMC International Marketmakers Combination B.V. nor its subsidiaries shall accept any responsibility for any errors, omissions or other inaccuracies in this information or for the consequences thereof, nor shall it be bound in any way by the contents of this e-mail or its attachments. In the event of incomplete or incorrect transmission please return the e-mail to the sender. |
From: Robert D <ro...@op...> - 2004-04-01 08:21:33
|
Wow, well done, thats just what was needed :) Robert D ----- Original Message ----- From: "Jonathan C. Ross" <jon...@ba...> To: <ipo...@li...> Sent: Thursday, April 01, 2004 8:05 AM Subject: [Ipodlinux-devel] Powersaving with hdparm > Hi all, > > I have just 'ported' hdparm to my iPod, and added the following line to > my /etc/rc: > > hdparm -S 1 /dev/ide/host0/bus0/target0/lun0/disc > > now my harddisk spins down after 5 seconds of inactivity, and spins up > again quite happily when needed. I will do some tests over the next > couple of days to see how long the battery lasts in various > circumstances - perhaps 10 seconds spindown will prove better. > > The patch is quite simple, just affecting the Makefile: > > $ diff hdparm-5.5/Makefile.orig hdparm-5.5/Makefile > 13c13 > < CC = gcc > --- > > CC = arm-elf-gcc > 17c17 > < LDFLAGS = -s > --- > > LDFLAGS = -s -elf2flt > > Cheers, > Jonathan. > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > iPodlinux-devel mailing list > iPo...@li... > https://lists.sourceforge.net/lists/listinfo/ipodlinux-devel |