Sunday, April 11, 2010

Motorola Milestone (Droid) under linux (Fedora 12)

Hello,

Some month ago, I bougth a motorola Milestone in order to plunge into the large market of application. (An android application is a way easier to do than a DS game !!).

Testing with the emulator was helpfull but when come the time to test on real device it is a bit more complicated.

I spent some times google-ing information. Here is my configuration.

You will need to create a file :

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

containing :

#SUBSYSTEM=="usb", SYSFS{idVendor}=="22b8", MODE="0666"
#SUBSYSTEM==”usb”,SYSFS{idVendor}==”22b8″,SYMLINK+=”android_adb”,MODE=”0666″
#SUBSYSTEMS=="usb", SYSFS{idVendor}=="22b8", SYSFS{idProduct}=="41d8", MODE="0666", OWNER="jpprade"
#SUBSYSTEMS=="usb", SYSFS{idVendor}=="22b8", SYSFS{idProduct}=="41d8",SYMLINK+=”android_adb”, MODE="0666", OWNER="jpprade"
#SUBSYSTEMS=="usb", SYSFS{idVendor}=="22b8", SYSFS{idProduct}=="41db",SYMLINK+=”android_adb”, MODE="0666", OWNER="jpprade"
SUBSYSTEMS=="usb", SYSFS{idVendor}=="22b8", SYSFS{idProduct}=="41db", MODE="0666"


(Don't forget to switch the OWNER name to your real login)

then run :

udevadm control --reload-rules
service udev-post reload



This is the configuration that I am using (under Fedora 12).