[Soekris] Putting harddrive to sleep

Okan Demirmen okan at demirmen.com
Sun Oct 31 20:58:35 UTC 2004


On Sun 2004.10.31 at 20:52 -0000, Martin Crossley wrote:
> Check out the atactl(8) command - according to the manpage it can put an ATA
> device to sleep although I have not tried this.

This works on OpenBSD at least. I've used it (atactl <device>
setstandby <sec>) in the past when I had a harddrive in my net4801
- worked very well.

> For example, on my 4801:
> 
> # atactl wd0 identify
> Model: IC25N040ATMR04-0, Rev: MO2OAD4A, Serial #:       MRG203K2CYT1EC
> Device type: ATA, fixed
> Cylinders: 16383, heads: 16, sec/track: 63, total sectors: 78140160
> Device capabilities:
>         IORDY operation
>         IORDY disabling
> Device supports the following standards:
> ATA-2 ATA-3 ATA-4 ATA-5 ATA-6
> Master password revision code 0xfffe
> Device supports the following command sets:
>         NOP command
>         READ BUFFER command
>         WRITE BUFFER command
>         Host Protected Area feature set
>         Read look-ahead
>         Write cache
>         Power Management feature set
>         Security Mode feature set
>         SMART feature set
>         Flush Cache Ext command
>         Flush Cache command
>         Device Configuration Overlay feature set
>         48bit address feature set
>         Automatic Acoustic Management feature set
>         Set Max security extension commands
>         Set Features subcommand required
>         Power-up in standby feature set
>         Advanced Power Management feature set
>         SMART self-test
>         SMART error logging
> Device has enabled the following command sets/features:
>         NOP command
>         READ BUFFER command
>         WRITE BUFFER command
>         Host Protected Area feature set
>         Read look-ahead
>         Write cache
>         Power Management feature set
>         Flush Cache Ext command
>         Flush Cache command
>         Device Configuration Overlay feature set
>         48bit address feature set
>         Set Features subcommand required
>         Advanced Power Management feature set
> 
> Good luck; let us know if it works...
> 
> MartinC
> 
> _______________________________________________
> Soekris-tech mailing list
> Soekris-tech at lists.soekris.com
> http://lists.soekris.com/mailman/listinfo/soekris-tech

-- 
Okan Demirmen <okan at demirmen.com>
PGP-Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xB3670934
PGP-Fingerprint: 226D B4AE 78A9 7F4E CD2B 1B44 C281 AF18 B367 0934



More information about the Soekris-tech mailing list