Hello Everyone,

    I use a new usb vid, and add the new vid to these files


transport_usb.c (is_adb_interface function)
adb.h
usb_osx.c.


    And build the linux sdk from Android source, then genereate the
windows sdk use cygwin. The new sdk have a tools folder, and adb.exe
and AdbWinApi.dll files in it. Setup the new usb driver,


    adb kill-server
    adb devices


    The adb tools can't work, No devices attached message show, Than
replace the AdbWinApi.dll with the Android source /development/host/
windows/prebuilt/usb/AdbWinApi.dll, and then exec


    adb kill-server
    adb devices


    adb tools use ok!


    And now, I want use adb in linux OS, Ubuntu or Fedora. Use the
build linux sdk adb tools


    Add 50-android.rules to /etc/udev/rule.d, content below,
    SUBSYSTEM=="usb", SYSFS{idVendor}=="1234", SYMLINK
+="android_adb",
MODE="0666"


    then exec


    ./adb kill-server
    ./adb devices


     No devices attached message show.
     But use HTC G1, and Modify 50-android.rules,


    SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", SYMLINK
+="android_adb",
MODE="0666"


     The adb tools works well on HTC G1.


     I doubt, Maybe the sdk tools something wrong, because in windows
OS, I have replace the AdbWinApi.dll. And I think, some file must
replace in the linux sdk tools, but which file or something other
wrong?


     Would any one please let me know, How to use the adb tools in
linux os, which use the new  usb VID?


Thanks
xiaohua

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to