lkml.org 
[lkml]   [2011]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3] usb: add new usb gadget for ACM and mass storage
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


\
 
 \ /
  Last update: 2011-10-10 12:33    [W:0.074 / U:0.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site