bobertuk wrote: 
> hdparm parameters aren't sticky' so are lost at hard and soft resets. So
> to always force HDD into standby...
> 
> pacman -S cron
> pacman -S hdparm
> 
> Use 'crontab -e' to edit the cron config file
> 
> You will need to be familiar with Unix 'vi' or 'nano' to edit the file -
> it's a bit quirky
> 
> Add the line 
> @reboot /usr/bin/hdparm -B127 -S240 /dev/sda1
> 
> OR
> 
> Edit the file directly...
> /var/spool/cron/root
> 
> You may need to create the file 'root' it first and past in the
> following...
> 
> # Edit with "crontab" for proper functionality, "man 5 crontab" for
> formatting
> #
> # mm  hh  DD  MM  W /path/progam [--option]...  ( W = weekday: 0-6
> [Sun=0] )
> #
> @reboot /usr/bin/hdparm -B127 -S240 /dev/sda1
> 
> 
> Then reboot Wandboard.
> 
> -B127   sets APM to allow HDD TO go into standby
> -S249   sets timeout of 20 minutes
> /dev/sda1   is the hard drive
> 
> Use 'man hdparm' and 'man cron' for details of usage. Be careful if you
> change the numeric parameters - they aren't all as obvious as it may
> seem.
> 
> Hope that helps. 
> 
> Bob

Hi Bob,

Many thanks for your very useful notes. I will give it a go in the
weekend.

Thanks again!



Primary system: Squeezebox Touch/Wandboard Quad with CSOS F19 R8,
iPengHD/Squeezepad on iPad3, Rega DAC, Virtue Audio One, Cambridge Audio
Azur 640C V2, Mission M34i.
Secondary system: Wandboard Dual with SoA, Orange Squeeze on Nexus 7,
Little Doc DAC I, Little Dot III, AKG K 702.
------------------------------------------------------------------------
albertone74's Profile: http://forums.slimdevices.com/member.php?userid=23863
View this thread: http://forums.slimdevices.com/showthread.php?t=101624

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to