Re: [RFC/PATCH 1/2] usb: gadget: u_char: introduce chardev abstraction layer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

ext Greg KH wrote:
On Tue, Mar 09, 2010 at 01:34:07PM -0600, me@xxxxxxxxxxxxxxx wrote:
On Tue, 9 Mar 2010 09:44:23 -0800, Greg KH <greg@xxxxxxxxx> wrote:
Is it good/possible to have these done in existing TTY framework?
No.  What's wrong with the gadgetfs interface for custom things such as
this?  You shouldn't need a special kernel driver for it, right?
you do if you want to use the composite framework to build all sorts
of possible combinations with mtp (which is currently using u_char.c).

Like what kind of combinations?  Does gadgetfs not support the composite
framework?  If not, how about just solving that?

I don't think gadgetfs supports composite framework. Also it currently supports only one USB configuration at a time.

Our existing Nokia composite driver is heavily based on composite framework and we needed something that gels well with it and without legacy of tty so we could add the custom ioctls and event notification for MTP implementation. u_char.c provides for this.


This was easier for us than moving all our stuff to gadgetfs.

u_char.c would also help on writting a USB HID gadget driver for
linux or even a Video Class driver.

We have USB HID code already using gadgetfs, right?  A video one would
also not be that difficult from userspace.

regards,
-roger
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux