On Tue, Oct 30, 2012 at 2:43 PM, Tormod Volden <lists.tor...@gmail.com> wrote:
> On Tue, Oct 30, 2012 at 7:25 PM, David Grant 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"
>
> Or, for per-device configuration, example USB ID 0483:df11:
> ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="0483",
> ATTRS{idProduct}=="df11", MODE="664", GROUP="plugdev"
>
> where the existing plugdev group is used (covers typical desktop users
> on Debian/Ubuntu). I also filter for the "add" action, since this is
> pointless on device removal.
>

Good idea using existing group. Also, good example of per-device. I
suggest that be added to the wiki as well.

Dave

------------------------------------------------------------------------------
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

Reply via email to