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. |