source: libvcomm/90-irvoodoo.rules @ a92d0c9

Revision a92d0c9, 1.3 KB checked in by Tarmo Kople <tarmo@…>, 5 years ago (diff)

+ New VID & PID support

  • 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# If you are using the hidraw implementation, then do something like the
12# following, substituting the VID and PID with your device. Busnum 1 is USB.
14# HIDAPI/hidraw
15KERNEL=="hidraw*", ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="80e1", MODE="0666"
17# Once done, optionally rename this file for your device, and drop it into
18# /etc/udev/rules.d and unplug and re-plug your device. This is all that is
19# necessary to see the new permissions. Udev does not have to be restarted.
21# If you think permissions of 0666 are too loose, then see:
22# for more information on finer
23# grained permission setting. For example, it might be sufficient to just
24# set the group or user owner for specific devices (for example the plugdev
25# group on some systems).
Note: See TracBrowser for help on using the repository browser.