source: libvcomm/90-irvoodoo.rules @ 99340c9

Revision 99340c9, 1.4 KB checked in by Tarmo Kople <tarmo@…>, 6 years ago (diff)

Initial import

  • Property mode set to 100755
1# This is a sample udev file for HIDAPI devices which changes the permissions
2# to 0666 (world readable/writable) for a specified device on Linux systems.
5# If you are using the libusb implementation of hidapi (hid-libusb.c), then
6# use something like the following line, substituting the VID and PID with
7# those of your device. Note that for kernels before 2.6.24, you will need
8# to substitute "usb" with "usb_device". It shouldn't hurt to use two lines
9# (one each way) for compatibility with older systems.
11# HIDAPI/libusb
12#SUBSYSTEM=="usb", ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="003f", MODE="0666"
15# If you are using the hidraw implementation, then do something like the
16# following, substituting the VID and PID with your device. Busnum 1 is USB.
18# HIDAPI/hidraw
19KERNEL=="hidraw*", ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="0004", MODE="0666"
21# Once done, optionally rename this file for your device, and drop it into
22# /etc/udev/rules.d and unplug and re-plug your device. This is all that is
23# necessary to see the new permissions. Udev does not have to be restarted.
25# If you think permissions of 0666 are too loose, then see:
26# for more information on finer
27# grained permission setting. For example, it might be sufficient to just
28# set the group or user owner for specific devices (for example the plugdev
29# group on some systems).
Note: See TracBrowser for help on using the repository browser.