On 10 September 2012 19:29, Siard <shiems...@kpnplanet.nl> wrote: > Op Mon, 10 Sep 2012 05:26 +0100, Sharon Kimble wrote: >> i'm trying to get udev rules for my usb phone, and they are ... >> SUBSYSTEM=="usb", ACTION=="add", SYSFS{idVendor}=="0fce:2138", >> SYSFS{idProduct}=="*", MODE="0777" >> AND >> SUBSYSTEM=="usb", ACTION=="add", SYSFS{idVendor}=="0fce", >> SYSFS{idProduct}=="*", MODE="0777" >> but neither work. >> lsusb shows .. Bus 001 Device 034: ID 0fce:2138 Sony Ericsson Mobile >> Communications AB Xperia X10 mini pro (Debug) >> >> Where am i going wrong please? the rules are saved to >> /etc/udev/rules.d/99-android.rules and also to >> /lib/udev/rules.d/99-android.rules > > If I have an udev rule like one of the above in Wheezy, then there is a > boot message complaining that SYSFS{idVendor} is an 'unknown key'. > In Wheezy's version of udev, you have to use ATTRS{idVendor} instead. > > This udev rule works well with my SE Xperia X8: > > SUBSYSTEM=="usb", ATTRS{idVendor}=="0fce", MODE="0666", GROUP="plugdev" > > (Not sure whether 'GROUP="plugdev"' is really necessary.) > Note that, AFAIK, it should be saved to > /etc/udev/rules.d/50-android.rules, not 99-android.rules. > > Thanks, this rule is working and I'm one step further to my goal.
Sharon. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAM9u--cg=vju1zhke09fgzk7y1beeno_m2cdjoydbpt7g0k...@mail.gmail.com