All of lore.kernel.org
 help / color / mirror / Atom feed
* hdparm with USB disk
@ 2009-03-18 11:29 Jan Engelhardt
  2009-03-18 12:44 ` Douglas Gilbert
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Engelhardt @ 2009-03-18 11:29 UTC (permalink / raw)
  To: linux-scsi

Hi,


so it happens I have to work with one of those shitty "green" devices 
again that think their power management is smarter than me. 
Unfortunately, hdparm just does not fly with USB devices, so what is the 
preferred tool here?

# hdparm -B 254 /dev/sdb

/dev/sdb:
 setting Advanced Power Management level to 0xfe (254)
 HDIO_DRIVE_CMD failed: Input/output error



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: hdparm with USB disk
  2009-03-18 11:29 hdparm with USB disk Jan Engelhardt
@ 2009-03-18 12:44 ` Douglas Gilbert
  0 siblings, 0 replies; 2+ messages in thread
From: Douglas Gilbert @ 2009-03-18 12:44 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: linux-scsi

Jan Engelhardt wrote:
> Hi,
> 
> 
> so it happens I have to work with one of those shitty "green" devices 
> again that think their power management is smarter than me. 
> Unfortunately, hdparm just does not fly with USB devices, so what is the 
> preferred tool here?
> 
> # hdparm -B 254 /dev/sdb
> 
> /dev/sdb:
>  setting Advanced Power Management level to 0xfe (254)
>  HDIO_DRIVE_CMD failed: Input/output error

A SAT layer that supports the SCSI ATA PASS-THROUGH command
is required in the device. Some USB external drives (often
from major disk manufacturers) now support that.

A version of hdparm that knows about SAT is also required.
 From memory that is from around hdparm version 7.0 onwards.

Doug Gilbert


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-18 12:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-18 11:29 hdparm with USB disk Jan Engelhardt
2009-03-18 12:44 ` Douglas Gilbert

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.