[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 10 Oct 2011 11:14:09 -0400 (EDT)
From: Alan Stern <stern@...land.harvard.edu>
To: Klaus Schwarzkopf <schwarzkopf@...sortherm.de>
cc: balbi@...com, <gregkh@...e.de>, <linux-usb@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <sshtylyov@...mvista.com>
Subject: Re: [PATCH v3] usb: add new usb gadget for ACM and mass storage
On Mon, 10 Oct 2011, Klaus Schwarzkopf wrote:
> >> + .bDeviceClass = USB_CLASS_COMM,
> >> + .bDeviceSubClass = 0,
> >> + .bDeviceProtocol = 0,
>
> Should bDeviceClass, bDeviceSubClass, and bDeviceProtocol have the same
> value like in the file multi.c?
>
> .bDeviceClass = USB_CLASS_MISC /* 0xEF */,
> .bDeviceSubClass = 2,
> .bDeviceProtocol = 1,
This may or may not be relevant... The USB 2.0 spec (Table 9-8) says
that if bDeviceClass is 0 then each interface specifies its own class
information and the interfaces operate independently. Isn't that what
you want?
Alan Stern
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists