On Wed, Jul 15, 2009 at 4:59 PM, Nicola Maggi<nicola.maggi@xxxxxxxxx> wrote: > I'm using a Scientific Linux CERN 4 distro which uses udev version > 039-10.22. It is quite old but i cannot update it for various reasons. > > I have a usb device to be configured by udev and a rule provided by > the manufacturer to recognize the device and set permissions to > everyone. > > # For FedoraCore 5 and similar: > SUBSYSTEM=="usb_device", SYSFS{idVendor}=="151f", MODE="0666" > > # For FedoraCore 7 and similar: > SUBSYSTEM=="usb", ATTRS{idVendor}=="151f", MODE="0666" > > As stated in the comments the rule is designed for FedoraCore5 which > uses a more recent version of udev. > My problem is that using this rule in my configuration only root is > allowed to use the device(while it works with FC5). > > I tried to change this rule a bit trying to adapt it to an older > version of udev but I didn't get any success. > Maybe udev is not working in this setup and you can try hotplug. Example: http://piklab.sf.net/files/libusb_udev_hotplug.txt http://piklab.wiki.sourceforge.net/USB+Port+Problems -- Xiaofan http://mcuee.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html