On Wed, Oct 31, 2012 at 2:25 AM, David Grant <davidgr...@gmail.com> wrote: > Could someone with write access to the libusbx wiki add this to the > "Can I run Linux libusbx applications without root privilege?" > section? > > Example udev rules file, call it "10-libusb.rules" > SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="libusbusers", MODE="0664" >
I am reluctant to add anything like the above even though it is quite popular (usually people use plugdev group or things like that). Just take a look at the default udev rules whch is /lib/udev/rules.d/50-udev-default.rules, there is already provision for libusb device. # 'libusb' device nodes SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664" SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", IMPORT{builtin}="usb_id" It seems to me that udev developers thought about the group based method and decided against it. -- Xiaofan ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel