Re: [PATCH v3] usb: add new usb gadget for ACM and mass storage

From: Klaus Schwarzkopf
Date: Mon Oct 10 2011 - 06:30:50 EST


Hi,


Should bDeviceClass, bDeviceSubClass, and bDeviceProtocol have the
same value like in the file multi.c?

.bDeviceClass = USB_CLASS_MISC /* 0xEF */,
.bDeviceSubClass = 2,
.bDeviceProtocol = 1,

From http://www.usb.org/developers/whitepapers/iadclasscode_r10.pdf:

This set of class codes is defined as the Multi-Interface Function
Device Class Codes.

So, this are the right settings.

Regards,

Klaus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/