LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Disabling USB power management for external HD (https://www.linuxquestions.org/questions/linux-hardware-18/disabling-usb-power-management-for-external-hd-794969/)

Gallifrey 03-12-2010 09:45 AM

Disabling USB power management for external HD
 
Hello all,
I am just trying to get a little help with a problem I have been having of late. I have an external Seagate drive (not a FreeAgent), which spins down, but won't wake up. I have googled for answers, and tried everything from sdparm to writing udev rules, but nothing seems to be helping. The most I have accomplished is keeping the drive alive for 45 minutes or so before it fails to respond. What's more, it won't mount on boot-up.

I am wondering if this might be down to USB power management not playing nicely with the HD's power management. Is there any way to disable the USB power management??
Or is there something else that I am missing which might help?

Your help would be most appreciated.

tredegar 03-12-2010 10:49 AM

You may be able to change the drive's behaviour with hdparm
Please see man hdparm there are many options, but -B and -C look applicable

Gallifrey 03-12-2010 11:02 AM

Quote:

Originally Posted by tredegar (Post 3895936)
You may be able to change the drive's behaviour with hdparm
Please see man hdparm there are many options, but -B and -C look applicable

Tried hdparm. It fails with the message: Invalid Exchange...

I am at a loose end. I hear this is a common problem with Seagate external drives.

A320 12-14-2018 10:10 AM

Quote:

Originally Posted by Gallifrey (Post 3895951)
Tried hdparm. It fails with the message: Invalid Exchange...

I am at a loose end. I hear this is a common problem with Seagate external drives.

I wish I would have known about this prior to switching to Linux!

Did you find a fix? Tried doing the following commands but I'm not sure it worked or if the results were actually error reports. Here's what I tried....
Code:


sudo hdparm -Z /dev/sdb1

[sudo] password for Xxxxxx:

/dev/sdb1:
 disabling Seagate auto powersaving mode
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


sudo hdparm -C /dev/sdb1

/dev/sdb1:
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


onebuck 12-15-2018 05:39 AM

Moderator Response
 
@A320
Please do not resurrect necro threads, this thread is over 8 years old.

You should start a new thread since; LQ Rules
Quote:

  • Do not post if you do not have anything constructive to say in the post.
  • When posting in an existing thread, ensure that what you're posting is on-topic and relevant to the thread. If the content of your post will interfere with the current discussion, you should start a new thread.

I suggest that you read; https://www.linuxquestions.org/quest...#faq_lqwelcome


All times are GMT -5. The time now is 05:44 AM.