public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Douglas Gilbert <dougg@torque.net>
To: monz@danbbs.dk
Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
	jgarzik@pobox.com
Subject: Re: [ANNOUNCE] sdparm 0.92
Date: Wed, 25 May 2005 11:40:40 +1000	[thread overview]
Message-ID: <4293D798.4020606@torque.net> (raw)
In-Reply-To: <4293BD80.1050503@danbbs.dk>

Mogens Valentin wrote:
> Douglas Gilbert wrote:
> 
>> sdparm is a command line utility designed to get and set
>> SCSI disk parameters (cf hdparm for ATA disks). More generally
>> it gets and sets mode page information on SCSI devices or devices
>> that use a SCSI command set (e.g. CD/DVD drives (any transport)
>> and SCSI tape drives). It also can list VPD pages including
>> the device identification page.
>>
>> For more information and downloads (tarball, rpm and deb
>> packages) see:
>> http://www.torque.net/sg/sdparm.html
> 
> 
> Nice! Just got it and tried on an external usb disk.
> One feature I could use, probably others as well:
> Could you add the ability to spin down/up a scsi disk?
> I'd really like this for exteral (usb) disks.

Mogens,
With sg_start (in the sg3_utils package) I have tried
to spin up and down an ATA disk inside a USB enclosure
without success. The same command on a USB connected
CD/DVD combo drive did work.

Could you try sg_start on your USB external enclosure
which I assume contains an ATA disk rather than a
SCSI (SPI) disk and report if it works?

BTW I just checked libata (for SATA disks) and it does
not seem to support the START STOP UNIT command.
Jeff, could that one be added?

> Doesn't seem it can; if I missed it, I'm sorry..

It is hard to know where to stop with sdparm ;-)
At the moment I am adding transport (protocol) specific
mode page support. So currently sdparm specializes
in mode pages (for all SCSI command sets) and INQUIRY
information (including the device identification VPD
page).

Doug Gilbert


  reply	other threads:[~2005-05-25  1:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-20 11:12 [ANNOUNCE] sdparm 0.92 Douglas Gilbert
2005-05-23 20:06 ` Bill Davidsen
2005-05-24 23:49 ` Mogens Valentin
2005-05-25  1:40   ` Douglas Gilbert [this message]
2005-05-25  2:42     ` Mogens Valentin
     [not found]       ` <429466EC.3080801@torque.net>
     [not found]         ` <429478C2.3000003@danbbs.dk>
     [not found]           ` <429480F9.6050802@torque.net>
2005-05-25 15:43             ` Mogens Valentin
2005-05-25 18:07               ` Mogens Valentin

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=4293D798.4020606@torque.net \
    --to=dougg@torque.net \
    --cc=jgarzik@pobox.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=monz@danbbs.dk \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox