[android-kernel] Re: Can I use the Linux usbserial driver and ADB at the same time?

2010-08-18 Thread Danke Xie
Thanks for sharing the final patch that you've got. The feedback is certainly helpful too. There was some difficulty in supporting hot plugs in KGDB and concurrent UMS. But let's see if they can be done. :) On Aug 18, 11:04 am, wqs wlp wrote: > Thanks Danke's awesone work! The functions he wrote

[android-kernel] Re: Can I use the Linux usbserial driver and ADB at the same time?

2010-07-27 Thread Danke Xie
Hi Mike, Just a quick update about the question I asked. I could indeed get KGDB to work (at least in some simple USB configuration) over the f_acm device. I just implemented two I/O functions (put and get char) using the queues already available in the driver. And added a polling function based o

Re: [android-kernel] Re: Can I use the Linux usbserial driver and ADB at the same time?

2010-07-18 Thread Mike Lockwood
I don't know - I haven't tried. But there is some information here that might be helpful: http://bootloader.wikidot.com/android:kgdb Mike On Sun, Jul 18, 2010 at 2:50 PM, Danke Xie wrote: > Hi Mike, > > Thanks for the suggestion. f_acm solved the problem I had. Now I got a > serial > port to wo

[android-kernel] Re: Can I use the Linux usbserial driver and ADB at the same time?

2010-07-18 Thread Danke Xie
Hi Mike, Thanks for the suggestion. f_acm solved the problem I had. Now I got a serial port to work with adb at the same time. I am trying to use the serial port for KGDB, actually. I guess it's still ok to use ACM to do so? Thanks Danke On Jul 17, 10:59 am, Mike Lockwood wrote: > On Sat, Jul 1

Re: [android-kernel] Re: Can I use the Linux usbserial driver and ADB at the same time?

2010-07-17 Thread Mike Lockwood
On Sat, Jul 17, 2010 at 1:50 PM, Vikram wrote: > > > On Jul 17, 7:50 am, hedwin wrote: >> I doubt if you can hookup multipe gadgets to a single device where USB >> is in device mode. In host mode this is not an issue. > > The whole USB Composite Gadget framework of Linux was written to cater > to

[android-kernel] Re: Can I use the Linux usbserial driver and ADB at the same time?

2010-07-17 Thread Vikram
On Jul 17, 7:50 am, hedwin wrote: > I doubt if you can hookup multipe gadgets to a single device where USB > is in device mode. In host mode this is not an issue. The whole USB Composite Gadget framework of Linux was written to cater to this need. So yes its very much a reality and works. --