keeping USB disk awake

Sherman Grunewagon sugarwagon at ymail.com
Tue Apr 9 18:46:47 UTC 2013


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?



Sherman



More information about the users mailing list