lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 10 Oct 2011 12:30:48 +0200
From:	Klaus Schwarzkopf <schwarzkopf@...sortherm.de>
To:	balbi@...com
CC:	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

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@...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

Powered by Openwall GNU/*/Linux Powered by OpenVZ