On Mon, 22 Sep 2003, Patrick Mansfield wrote:
> On Mon, Sep 22, 2003 at 09:09:47AM -0700, Linus Torvalds wrote:
> >
> > (Btw, where are the different mode sense pages documented?)
>
> The latest SCSI 3 draft standards are online as follows, the SCSI 2 specs
> are also online at www.t10.org (.ORG!).
>
> For block (applies to some USB mass storage) specific pages:
>
> http://www.t10.org/ftp/t10/drafts/sbc/sbc-r08c.pdf
>
> See page 105 section 7.1.3 of the above (table 73 the "Mode page codes").
Ok, thanks. In particular, it seems to be pointless to read anything past
byte 20 - nothing past there is even defined.
What's the general sense of things - for a random SCSI device with bugs
(and they all have _some_ sort of bugs, let's not just rain on USB here),
is it saner to try to read just the bytes we need (3 bytes: page code,
page size and the cache bits), or the full 20 bytes?
Linus
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel