2009/5/22 Cédric Berger <cedric.berge...@gmail.com>:
>
> 2009/5/21 Cédric Berger <cedric.berge...@gmail.com>
>>
>> took me a LOT of trials before it worked !
>>
>> I finally have this rule and it is OK (did not have to edit user groups on 
>> my system):
>>
>> SYSFS{idVendor}=="0bb4", SYSFS{idProduct}=="0c02", MODE="0666", 
>> GROUP="plugdev"

Oh sorry, I forgot to mention that the syntax changes slightly with
the udev version. You know, just to make this more interesting :-)


> this was in /etc/udev/rules.d/50-android.rules
>
> But it seems to also work like this : (method for Ubuntu 9.04 :
> http://www.frandroid.com/2371/ubuntu-904-et-android/  )
> -> in /etc/udev/rules.d/51-android.rules :
> SUBSYSTEM==”usb”, SYSFS{idVendor}==”0bb4", MODE=”0666"

Ubuntu 9.04 already has a rules/50-something file so you need to make
sure that the android rule is > 50. Otherwise whatever you define gets
reset. We should update the doc to just state rule/51-android.rules
which will work right now till the base configuration changes once
again :-)

> Also take care if you copy/paste this rule : looks like double quotes
> (") may be wrongly copied from html page, and then it did not work for
> me before I retyped them.

Hmm thanks for the info. That's a new one.

R/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to