Hi

I am trying to enable ADB through USB on my experimental device.
I have the following question in this regard.

It seems there are two ways for this.
    1. support USB gadget driver
    2. support USB function driver

Which one of the above is recommended?

It seems that devphone uses the No 2. approach.
But the common kernel at 
git://android.git.kernel.org/kernel/common.git
does not contain the function driver related codes.

I have tried the No 1. approach. But it looks like
drivers/usb/gadget/f_adb.c
has several problems. Has it ever been tested on any device?

Many thanks in advance
IS



--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to