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, 16 Sep 2011 19:30:03 +0200
From:	"Michal Nazarewicz" <mina86@...a86.com>
To:	"Greg KH" <gregkh@...e.de>,
	"Sebastian Andrzej Siewior" <bigeasy@...utronix.de>
Cc:	"Klaus Schwarzkopf" <schwarzkopf@...sortherm.de>, 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 Fri, 16 Sep 2011 19:18:25 +0200, Sebastian Andrzej Siewior  
<bigeasy@...utronix.de> wrote:

> * Greg KH | 2011-09-09 11:43:54 [-0700]:
>
>> So we can expect more patches like this adding all of the possible
>> permutations of the different gadget devices?
>>
>> If so, ick, I thought that the work that was done was to prevent this
>> from happening, oh well :(
>
> Would it be possible to come up with a gadget-hub driver which can have
> multiple gadget attached? This should get rid of this kind of gadget
> drivers, right?

Yes, I keep thinking about such a thing for years now...

Instead of a “gadget HUB” which would have to do a lot of translation of
headers and requests, I was thinking more of making USB composite functions
even more structured (ie. adding callback for per-gadget setup,
per-configuration set-up, etc.) and then creating a composite layer which
would be feed with a trivial structure describing which functions are to
be included in which configurations.

Like I've said before, that's almost what Android does, expect it does
not support many configurations.

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