On 04/12/2013 04:27 PM, Bill Davidsen issued this missive:
Sherman Grunewagon wrote:
> On Wed Apr 10, 2013 at 11:41 AM, Bill Davidsen wrote:
>> 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?
> <snip>
>
>>> Other suggestions?
>>>
>> Have you tried just disabling spindown? (hdparm -S0 drive)
> Thanks. I have now, as well as hdparm -B 255 drive.
> The disk/docking station still suspends after a few minutes.
> I'm ready to try recompling the kernel with CONFIG_USB_SUSPEND=n
> But since
>
> for i in /sys/bus/usb/devices/*/power/autosuspend; do echo -1 >
> $i; done
>
> also has no effect, I think it will be a waste of time.
I believe you should be doing
for i in /sys/bus/usb/devices/*/power/autosuspend_delay_ms; do echo
"-1" >$i; done
Or
for i in /sys/bus/usb/devices/*/power/control; do echo "on" >$i; done
They're supposedly equivalent (according to the kernel docs).
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital ricks(a)alldigital.com -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
- -
- Which is worse: ignorance or apathy? I don't know. Who cares? -
----------------------------------------------------------------------