Hi developers,

I try to setup an adb connection through USB but keep on running into
problems.

If I run the adb deamon as a regular user (not as root) and run "adb
devices" I get:

List of devices attached
> ????????????    no permissions

This is documented on the web and should be fixed by adding a udev
rule on my ubuntu machine in /etc/udev/rules.d/51-android.rules:
SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="0c01",
MODE="0666"

But when i add this rule the list of devices I get from "adb devices"
is empty.

I also tried running the adb deamon as root but the device list is
still empty.

lsusb list the zt-180 device (after I plugin the usb connector) as:
Bus 002 Device 013: ID 0bb4:0c01 High Tech Computer Corp.

I noticed that there is a standard rule for the same vendor/product-id
in /lib/udev/rules.d/40-usb-media-players.rules which says:
ATTRS{idVendor}=="0bb4" , ATTRS{idProduct}=="0c01|0c02|0c13" ,
ENV{ID_MEDIA_PLAYER}="high-0c01_0c02_0c13"
ENV{UDISKS_PRESENTATION_ICON_NAME}="phone-htc-g1-white"

There is one error in my deamon.log that might have something to do
with it, but I'm not sure (and I don't know how to fix it either):
usb_id[3793]: unable to access '/devices/pci0000:00/0000:00:1d.1/
usb2/2-1'

Does anyone know what's going on?

-Mark-

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

Reply via email to