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:	Fri, 09 Sep 2011 12:20:53 +0200
From:	"Michal Nazarewicz" <mina86@...a86.com>
To:	"Klaus Schwarzkopf" <schwarzkopf@...sortherm.de>,
	"Greg KH" <gregkh@...e.de>
Cc:	balbi@...com, linux-usb@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] usb: add new usb gadget for ACM and mass storage

> On Thu, Sep 08, 2011 at 08:24:47PM +0200, Klaus Schwarzkopf wrote:
>> This driver provides two functions in one configuration:
>> a mass storage, and a CDC ACM (serial port) link.
>> Heavily based on multi.c and cdc2.c

On Thu, 08 Sep 2011 21:11:46 +0200, Greg KH <gregkh@...e.de> wrote:
> I thought the "composite" framework make it so that drivers like this
> were no longer needed.  Or am I mistaken somehow?

No.  Composite framework only makes it relatively simple to create such
gadgets, but one still needs some glue that binds all the functions into
a single gadget.

This seems like both a blessing and a curse (which I haven't realise when
I was creating g_multi) since with n functions implemented one can easily
came up with 2^n gadgets.

Android went half-step forward and in it you can create a gadget by
specifying list of named functions it is supposed to have.  I'm saying
“half-step” because they have no support for configurations for instance.

-- 
Best regards,                                         _     _
.o. | Liege of Serenely Enlightened Majesty of      o' \,=./ `o
..o | Computer Science,  Michal "mina86" Nazarewicz    (o o)
ooo +-----<email/xmpp: mnazarewicz@...gle.com>-----ooO--(_)--Ooo--
--
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