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 |