All of lore.kernel.org
 help / color / mirror / Atom feed
From: Douglas Gilbert <dgilbert@interlog.com>
To: Jan Engelhardt <jengelh@medozas.de>
Cc: linux-scsi@vger.kernel.org
Subject: Re: hdparm with USB disk
Date: Wed, 18 Mar 2009 08:44:41 -0400	[thread overview]
Message-ID: <49C0ECB9.2030500@interlog.com> (raw)
In-Reply-To: <alpine.LSU.2.00.0903181226530.27821@fbirervta.pbzchgretzou.qr>

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


      reply	other threads:[~2009-03-18 12:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-18 11:29 hdparm with USB disk Jan Engelhardt
2009-03-18 12:44 ` Douglas Gilbert [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49C0ECB9.2030500@interlog.com \
    --to=dgilbert@interlog.com \
    --cc=jengelh@medozas.de \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.