linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: thomas schorpp <t.schorpp@gmx.de>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: usb-storage@lists.one-eyed-alien.net, linux-ide@vger.kernel.org
Subject: Re: [usb-storage] [Merging ATA passthru] on integrating SMART/ATA-Security in usb-storage driver
Date: Wed, 02 Nov 2005 21:41:08 +0100	[thread overview]
Message-ID: <43692464.2060109@gmx.de> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0511021422450.5719-100000@iolanthe.rowland.org>

Alan Stern wrote:
> On Wed, 2 Nov 2005, thomas schorpp wrote:
> 
> 
>>Alan Stern wrote:
> 
> 
>>>Is there any standard way to pass ATA commands over a USB transport?  I've 
>>>never heard of one.
>>>
>>>Alan Stern
>>>
>>>
>>
>>yes, ive read on the smartmontools page theres none, at present.
>>
>>since therere rw-commands issued, why not possible to issue other, too?
> 
> 
> They aren't ATA read/write commands; they are SCSI commands.  If there is 
> a version of SMART that runs over SCSI, you might be able to use it.
> 
> 
>>and sata is short of smart support. both use scsi-emu(?).
>>
>>i dont think theres a hardware problem.
> 
> 
> Yes there is.  The USB interface on the drive won't recognize an ATA SMART
> command and won't pass it on to the drive controller.

maybe yes,

(cant link) goto cypress, search part CY7C68300A, see the features and
application notes, the cypress windows driver can do Security since 2003.

"CY7C68300A Complies with T13's ATA/ATAPI-6 Draft Specification"

and see page 2 of the windos driver pdf doc:

Protect
The next selection, labeled “Protect,” will give the user th
ability to password protect their HDD. There are three item
that must be true to enable password protection. These are
 1. The attached device must support the Security Mode Fea
    ture set as defined in the ATA/ATAPI specification. The
    support of Security is determined from an IDENTIFY DE
    VICE command (Word 128 bit 0).
 2. The attached device must be an ATA device.
 3. The bridge chip must support ATACB command. The
    ISD-300A1 and the ISD-200 parts are examples of such
    ICs.
 4. ATA Security must be enabled in the driver’s .inf file.


> 
> 
>>i'll look at sata/libata/smartctl code and trial'n'error.
>>
>>maybe i find a way and you can propose it as standard then :)
>>why wait for it?
> 
> 
> Because if you don't wait, then no vendors will have implemented it and so 
> it won't work.

i'll check the datasheet of the CY7C68300A

> 
> Alan Stern
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ide" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 

tom schorpp

  reply	other threads:[~2005-11-02 20:41 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-02 14:08 [Merging ATA passthru] on integrating SMART/ATA-Security in usb-storage driver thomas schorpp
2005-11-02 16:05 ` [usb-storage] " Alan Stern
2005-11-02 19:12   ` thomas schorpp
2005-11-02 19:26     ` Alan Stern
2005-11-02 20:41       ` thomas schorpp [this message]
2005-11-05  0:41   ` ATA thru SCSI thru USB Pat LaVarre
  -- strict thread matches above, loose matches on Subject: below --
2005-11-02 20:33 [usb-storage] [Merging ATA passthru] on integrating SMART/ATA-Security in usb-storage driver Timothy Thelin
2005-11-02 21:55 ` thomas schorpp
2005-11-02 22:18 Timothy Thelin
2005-11-02 23:22 ` thomas schorpp
2005-11-02 23:45 ` Matthew Dharm
2005-11-04  4:08   ` James Bottomley
2005-11-04 17:28     ` Matthew Dharm
2005-11-04 18:33       ` James Bottomley
2005-11-04 20:30         ` Matthew Dharm
2005-11-04 20:53           ` James Bottomley
2005-11-04 18:30 Timothy Thelin
2005-11-04 18:58 ` James Bottomley
2005-11-04 20:30   ` Matthew Dharm
2005-11-04 20:49     ` James Bottomley
2005-11-05 23:55       ` Matthew Dharm
2005-11-06  0:49         ` James Bottomley
2005-11-06  3:38           ` thomas schorpp
2005-11-06 21:58           ` Matthew Dharm
2005-11-06 22:28             ` thomas schorpp
2005-11-06 23:52               ` Patrick Mansfield
2005-11-07 16:59                 ` Matthew Dharm
2005-11-07 17:05                 ` Matthew Dharm
2005-11-07 17:24                   ` Patrick Mansfield
2005-11-07 17:46                     ` Alan Stern
2005-11-07 18:06                       ` thomas schorpp
2005-11-07 19:33                         ` Alan Stern
2005-11-07 20:07                           ` thomas schorpp
2005-11-07 17:53                     ` Christoph Hellwig
2005-11-07 17:54                     ` thomas schorpp
2005-11-07 18:57                       ` Patrick Mansfield
2005-11-07 19:53                         ` Alan Stern
2005-11-07 20:47                           ` Patrick Mansfield
2005-11-07 20:59                             ` Alan Stern
2005-11-07 22:05                               ` James Bottomley
2005-11-08 17:09                                 ` Alan Stern
2005-11-08 23:05                                   ` Mike Anderson
2005-11-09 15:35                                     ` Alan Stern
2005-11-06 23:15             ` James Bottomley
2005-11-07 18:14         ` Patrick Mansfield
2005-11-04 23:56     ` Andries Brouwer
2005-11-04 23:46 ` Pete Zaitcev
2005-11-05 16:20   ` thomas schorpp
2005-11-07 17:51 Timothy Thelin
2005-11-07 20:18 Timothy Thelin
2005-11-08 19:50 Timothy Thelin
2005-11-09  9:04 ` thomas schorpp
2005-11-09  9:45   ` thomas schorpp
2005-11-09 10:05     ` thomas schorpp
2005-11-09 13:21     ` Mark Lord
2005-11-09 14:05       ` thomas schorpp

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=43692464.2060109@gmx.de \
    --to=t.schorpp@gmx.de \
    --cc=linux-ide@vger.kernel.org \
    --cc=stern@rowland.harvard.edu \
    --cc=usb-storage@lists.one-eyed-alien.net \
    /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;
as well as URLs for NNTP newsgroup(s).