Google's documentation is sometimes out of date, and on this topic it was clearly erroneous, so for anyone interested, here is how I managed to bridge an HTC Magic and Ubuntu 9.04 Jaunty to allow debugging over USB:
On the phone, in Settings/Applications/Development, check the box "USB debugging".
On the computer, install the Android SDK, change to the "tools" directory, then log as root and create file /etc/udev/rules.d/50-android.rules with this content:
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
and file /etc/udev/rules.d/90-android.rules with this content:
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666"
Then type this:
sudo chmod a+rx /etc/udev/rules.d/50-android.rules
sudo chmod a+rx /etc/udev/rules.d/90-android.rules
sudo /etc/init.d/udev restart
./adb kill-server
You should get something like this:
./adb devices
List of devices attached
HT963LF01297 device
Showing posts with label android ubuntu linux USB google jaunty karmic. Show all posts
Showing posts with label android ubuntu linux USB google jaunty karmic. Show all posts
Sunday, June 28, 2009
Subscribe to:
Posts (Atom)