SUBSYSTEM=="usb",SYSFS{idVendor}=="0bb4",SYMLINK
+="android_adb",MODE="0666"
It also works on my ubuntu 8.10 under vmplayer.
Thanks!On Dec 27 2008, 4:35 am, Maxim Yegorushkin <[email protected]> wrote: > On Dec 19, 12:33 am, [email protected] wrote: > > > Sure... the reason that I posted it here is so that it would get indexed and > > hence be googleable so that us mortals can find it too :) > > I hit the problem and found this. Well done! > > Please see below. > > > > > > > > On Thu, Dec 18, 2008 at 4:27 PM, <[email protected]> wrote: > > > >> Hi all, > > > >> I've finally figured out what was going wrong with the udev stuff on > > >>FedoraCore 6 > > >> setting up theUSBdevice for adb. The advice forUbuntumay be correct, but > > >> it > > >> doesn't work out of the box withFedoraCore 6 and probably higher. The > > >> reason > > >> is becauseFedoraCore 6 has a rule in /etc/udev/rules.d/50-udev.rules > > >> for all new > > >>USBdevices which sets modes, etc. The advice forUbuntuis to make a > > >> file called > > >> 50-android.rules and place it in the rules directory. Note that just > > >> like init(1), udev > > >> scans the rules directory in sorted order which means that 50-android > > >> is executed > > >> *before* 50-udev. > > > >> The net effect here is that 50-udev sets the permissions on the new > > >> device back > > >> to 0644 which is to say, no write permission for userland adb and the > > >> subsequent > > >> non-love (running adb's server as root ought to work). Here's the simple > > >> fix: > > > >> 1) create a file to 51-android.rules in rules.d > > >> 2) put this incantation in it: > > > >> SUBSYSTEM=="usb_device",SYSFS{idVendor}=="0bb4",SYMLINK+="android_adb",MODE="0666" > > For Fedora 9 51-android.rules needs to be: > > SUBSYSTEM=="usb",SYSFS{idVendor}=="0bb4",SYMLINK > +="android_adb",MODE="0666" > > > > > >> 3) as root after you've created the file, kick udev with: udevcontrol > > >> reload_rules > > >> 4) plug in the device and enjoy! > > -- > Max- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

