adb USB gadget driver now available

by Shivdas » Mon, 24 Nov 2008 13:57:53 GMT


Sponsored Links
 Hi Mike,

Does this driver works with Linux, because as I see its enumerating as
a Vendor specific device, with ProductId 0001 and Vendor Id 0x18d1

Have you written any specific driver for Linux/windows at Host side to
communicate with this?

Regards,
Shivdas





--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [EMAIL PROTECTED]
website: 



adb USB gadget driver now available

by Mike Lockwood » Mon, 24 Nov 2008 14:35:53 GMT


 


Yes, this driver works with Linux, Windows and Mac.  It works with the
adb tool included in the android SDK or with the adb built from the
android source code available from android.com.

The 0x18d1 vendor ID belongs to Google.  If you ship your own device,
you will need to get your own vendor ID from usb.org.  You will also
need to modify the is_adb_interface() function in transport_usb.c in
the adb source code.  The adb source code for adb is available at:
 http://android.git.kernel.org/?p=platform/system/core.git ;a=tree;f=adb.
 This code includes both the host and device side adb.


No host side driver is necessary for Mac or Linux.  For Windows, a
driver is available at
 http://dl.google.com/android/android_usb_windows.zip.  This driver is 
set up to communicate with the T-Mobile G1.  You will need to modify
the *.inf file that comes with the driver to match VID/PID used by
your device.

Mike





-- 
Mike Lockwood
Google android team

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [EMAIL PROTECTED]
website: 


Sponsored Links


Other Threads

1. AudioRecord works with short but static with byte

-- 

2. AudioRecord works with short but static with byte

Interesting point, Jason.

However I'm reading a byte at a time so each short is read (just one
byte at a time).  There shouldn't be anything leftover to be missed.

More important though, I'm reading the byte[] using a method provided
by Android's AudioRecord.

read(byte[] audioData, int offsetInBytes, int sizeInBytes)
Reads audio data from the audio hardware for recording into a buffer.

3. How to disable Home and End Call Key

4. create app that comes with a widget and the program

5. How to interpret the stack trace?

6. AudioRecord works with short but static with byte

7. AudioRecord works with short but static with byte