I have a similar problem, so my experience may be relevant. Then
again, it may not. But it is worth a try.

I am running not on Ubuntu, but on Fedora. And when I first establish
the connection, I often don't see the device, but get the row of
question marks you describe. Usually, but not always, I can solve this
by restarting the adb server. Sometimes I have to do it twice. I
usually do this while in superuser on my Fedora system.

Sometimes even doing it twice is not enough, and I don't remember what
I last did before it finally started working;)

On Sep 18, 6:03 am, Mark <[email protected]> wrote:
> 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