Alan Stern wrote:
On Sun, 30 Jan 2005, Phil Dibowitz wrote:


Anyway, a revision number of 6.01, would be a deviceid of 600.


No, it would be 0x0601 (hex, not decimal, plus you have a typo).  Also,
calling it a "deviceid" is confusing at best since that word could just as
easily refer to the idProduct field.  Although the USB Specification
itself is somewhat to blame here: The field's official name is
"bcdDevice", which I consider a pretty bad choice.

A typo and a not-being-thorough-because-I'd-do-it-below, but yeah, you're right.

That's a completely different value, the SCSI revision level.  It refers
to the firmware on the storage device itself, as opposed to the firmware
on the USB interface (which is what Olaf was talking about).  Since the
device and the interface are often supplied by different manufacturers
and comply with differing standards (SCSI vs. USB), it's not at all
surprising that they might have different revision levels.

Oh, duh! I should have known that. Thanks Alan, Sorry Olaf.

So thus, I'm a bit confused. I'd think the entry you want, based on the
ouput you gave, would be akin to:

UNUSUAL_DEV( 0x054c, 0x002c, 0x0600, 0x0600,


0x0601 in both places, not 0x0600.

Grr! That message was just full of typos.

Okay, lets try this again, shall we?

UNUSUAL_DEV(  0x054c, 0x002c, 0x0601, 0x0601,
        "Sony",
        "USB Floppy Drive",
        US_SC_DEVICE, US_PR_DEVICE, NULL,
        US_FL_SINGLE_LUN ),

I feel like I'm missing something with the mismatching revision numbers
though.


I hope this clarifies things a little.

Yup. Thanks.

--
Phil Dibowitz                             [EMAIL PROTECTED]
Freeware and Technical Pages              Insanity Palace of Metallica
http://www.phildev.net/                   http://www.ipom.com/

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
 - Benjamin Franklin, 1759


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to