keeping USB disk awake
Bill Davidsen
davidsen at tmr.com
Wed Apr 10 18:41:03 UTC 2013
Sherman Grunewagon wrote:
> On Tue Apr 9, 2013, at 06:02:08, pomo wrote:
>> On 09.04.2013 07:38, Sherman Grunewagon wrote:
>>
>>> I have an external SATA disk in a USB-3 / eSATA docking
>>> station. When I connect using eSATA, the disk stays awake. But when I
>>> connect using the USB-3 port, it goes to sleep after a few
>>> minutes. How do I make it work like the eSATA?
>>
>> - autosuspend
>> less /usr/share/doc/kernel-doc-3.8.5/Documentation/usb/power-management.txt
>
> Thanks. Nicely written doc. But nothing I've tried after reading it works.
> Here's what I did.
>
> gdisk -l /dev/sdd (to wakeup the disk)
> echo -1 > /sys/devices/pci0000:00/0000:00:14.0/usb4/power/autosuspend (it was 0)
>
> <After a few minutes the disk suspends>
>
> gdisk -l /dev/sdd (to wakeup the disk again)
>
> echo "on" > /sys/devices/pci0000:00/0000:00:14.0/usb4/power/control (was "auto")
>
> <Disk suspends again after a few minutes>
>
> gdisk -l /dev/sdd (wakeup it up again)
>
> echo on > /sys/devices/pci0000:00/0000:00:14.0/usb4/4-3/4-3:1.0/host20/target20:0:0/20:0:0:0/block/sdd/power/control (was "auto")
>
> <No luck. Disk still suspends>
>
> Other suggestions?
>
Have you tried just disabling spindown? (hdparm -S0 drive)
--
Bill Davidsen <davidsen at tmr.com>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot
More information about the users
mailing list