On Wed, Mar 10, 2010 at 10:05:43AM +0200, Roger Quadros wrote: > 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. For mtp, I understand, that's fine. But for "raw" data, please stick with the tty layer, as you will end up reimplementing most of it anyway in the end :) thanks, greg k-h -- 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