This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # udev rule to allow permissive hidraw access to busylight device - allow non-root use by items such as Node package 'busylight' | |
| # to be placed in /etc/udev/rules.d/ | |
| # working on Ubuntu 16.04 as of 2019-07 | |
| # regex-match devpath - would match (*=specific, #=any hex) | |
| # /devices/pci0000:00/xxxx:xx:xx.x/usb3/x-x/x-x:x.x/xxxx:27BB:3BCA.xxxx/hidraw/hidrawx | |
| # *** ####*********** ****** | |
| # only necessary because the ATTR for idVendor and idProduct don't seem to be passed to the hidraw event call - parse it from devpath instead |