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

2010-08-18 Thread wqs wlp
Thanks Danke's awesone work! The functions he wrote satisfied my debugging pretty well. now I am sending the complete patch I am using. The thing is, you have to modify board-mahimahi.c as well. Because, you have to disable CONFIG_USB_ANDROID_MASS_STORAGE to avoid usb interface enumeration errors

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

2010-07-17 Thread hedwin
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. On Fri, Jul 16, 2010 at 1:59 PM, Mike Lockwood wrote: > If you get your own Vendor ID from usb.org, then you can make up your > own Product IDs however you like.  But if yo

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

2010-07-16 Thread Mike Lockwood
If you get your own Vendor ID from usb.org, then you can make up your own Product IDs however you like. But if you do not have a Vendor ID, you need to find someone that does and have them allocate one for you based on whatever numbering scheme they use. Google has its own vendor ID (0x18D1) that

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

2010-07-15 Thread Arindam Roy
A noobish query; Where do you get the values for th product id? usb_products[] = { 168 { 169

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

2010-07-15 Thread Mike Lockwood
Hi Danke, The USB serial module probably wants to own the entire USB interface, which means there would be no way to use adb at the same time. I would recommend using the f_acm.c function driver instead, which we already have working with the android composite driver (we were going to use it for

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

2010-07-15 Thread Danke Xie
I was trying to connect to the serial port on the Android device from the host PC. What I was doing was loading the "usbserial" driver: modprobe usbserial product= vendor= It seems it does recognize all serial functions in the USB and created several ttyUSB ports/devices. However, it seems (at le