ADB problems

TheFwGuy
Hi

I have a Tiny210SDK CAP7 board with installed the latest image of Android
(4.0.3).
I have problems to have the board seen by ADB under Linux when connected to
the USB port.
Something is recognized but ADB returns always ????????? for the device.
I tried many different settings of udev and other Android terminals are
always recognized.

So the first question is ... am I the only one who experience this problem
or somebody else hit this obstacle  too ?
I need to know if I'm chasing a real problem or maybe I have just a bad
board.

Thanks
  STeve

Dave McLaughlin
I am getting the same issue under Linux. Under Windows the device is
recognised and I can debug with ADB.

Dave McLaughlin
Good news. I found out how to get it to work.

You need to add a file into /etc/udev/rules.d called 51-android.rules and
in this file put the following:

# usbboot protocol on FriendlyArm Tiny210
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e22",
MODE="0600", OWNER="<username>"

Use the following to edit or create this.

sudo gedit /etc/udev/rules.d/51-android.rules

You can check the idVendor and idProduct using:

sudo lsusb


Hope this helps?
Dave...

TheFwGuy
Hi Dave !

That's it !!!!
Now it is recognized !
I did already have the 51-android.rules files and I did try a lot of
combinations of udev rules, since it is used also for the other terminals,
but this specific combinations of rules seems finally working on the board
!
Thank you so much ! :)
Now with the WiFI card working (simply great !) and the ADB working I have
a nice dev platform !

If somebody else has similar issue, after editing the udev rule, the udev
daemon must be restarted.
Without rebooting the machine, on my Ubuntu 10.04 LTS :

$sudo udevadm control --reload-rules

Thanks again Dave, you made my day :)

STeve

Dave McLaughlin
Glad to help Steve.

Now all I need is an automatic 3G connection and I have a perfect platform
to switch over from my old Netburner system. 

Still working on it. I can now dial from the debug port or from ADB but I
would prefer if it would dial up automatically if there is a request for an
internet connection :)

Enjoy your new toy! :)