PDA

View Full Version : put harddisc into standby



wimpf
2010-04-26, 00:25
Hi

Is there a option to set the usb harddisc into standby after a defined time (hdparm available?).

I was not able to find a option nor to find the hdparm command in the console. Is this available in the next beta or yet a workaround?

Greetings,
wimpf

roubil
2010-04-26, 01:35
There is nothing : Your HD will go in sleep mode after some time without any acces.

http://forums.slimdevices.com/showthread.php?t=77284

wimpf
2010-04-26, 02:13
Thank you for your reply.

But "after some time" must be a parameter in a configuration file. Has somebody an idea where I can find this configuration file?

Thanxs,
wimpf

toby10
2010-04-26, 04:30
Thank you for your reply.

But "after some time" must be a parameter in a configuration file. Has somebody an idea where I can find this configuration file?

Thanxs,
wimpf

This is determined by the Power Management of your HDD, nothing to do with the Touch.

wimpf
2010-04-26, 23:38
No toby, not the power management of the HD. At least the management of the controller inside the usb2ide(sata) -case.

At the moment I use a 4 year old usb2ide controller and there is no "build in HD standby".

Maybe one of the Logitech guys is able to post hdparm as working executable for the squeezebox, because there are no make tools on the box.

wimpf

toby10
2010-04-27, 03:36
.........
Maybe one of the Logitech guys is able to post hdparm as working executable for the squeezebox, because there are no make tools on the box.

wimpf

Yes, I suppose it might be possible, or even a third party Applet. But I wouldn't hold my breath waiting for it. ;)
Other than simply unplugging the HD every time I'd suggest getting a cheap power strip with a ON/OFF button.

JohnSwenson
2010-04-27, 03:42
Maybe one of the Logitech guys is able to post hdparm as working executable for the squeezebox, because there are no make tools on the box.

wimpf

It could be either hdparm or sdparm. Can you confirm if one or the other or both work with your drive? The USB drive I have now is not spun down by either of these. It would be nice to get a confirmation before attempting to make one of them.

I have a development environment setup so I could compile one of them (I suppose I could do both!)

John S.

wimpf
2010-04-27, 04:35
Thank you John

The HD worked on a DreamBox and a FritzBox with hdparm with no problem. So I suggest that it should also work on the SqueezeBox with hdparm (puhh, so much "boxes"...)

wimpf

schmidtbaer
2011-01-08, 06:41
Hello,

just compiled hdparm-6.3 for the SB Touch (running 7.6.0). Trying to set -S1 on my external USB HDD (/dev/sda) results in the following message:

/dev/sda:
setting standby to 1 (5 seconds)
HDIO_DRIVE_CMD(setidle1) failed: Invalid argument

Looks like the kernel is missing from commands!?

Anybody else having more luck?

Marcus