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. > But that revision here: > > > <6>scsi1 : SCSI emulation for USB Mass Storage devices > > <5> Vendor: SONY Model: USB-FDU Rev: 5.01 > > Shows 5.01 (0x0501). 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. > Yet you show: > > > P: Vendor=054c ProdID=002c Rev= 6.01 > > 6.01 (0x0601) here. And then: Yes, that's the number which must match the unusual_devs.h entry. > > +UNUSUAL_DEV( 0x054c, 0x002c, 0x0100, 0x0100, > > And 1.00 (0x0100) here. This is because Olaf didn't understand what values should be there and was asking for advice (unless I misinterpreted what he wrote). > 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. > "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. Alan Stern ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
