Alan Stern wrote:
+/* This is for the Aldi Traveler DC-4300 cameras */
+#define US_BULK_CS_ALDI_SIGN   0x43425355      /* Spells out 'USBR' */


It actually spells out 'USBC'.

Hmm, yes, you are right.

I'm beginning to wonder about all these tests for valid signatures. Note that the code always tests for any of the possibilities, but an individual device will always confine itself to a single signature. One possible approach would be to store the expected signature in the us_data struct. Another possible approach (less reliable) would be to ignore errors in the last byte.

Another option is to ignore signatures altogether. ub does this, and quotes that windows ignores them too.
Or we could add an unusual_devs flag to ignore the signature?


Daniel


------------------------------------------------------- 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 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to