Skip to content

Instantly share code, notes, and snippets.

# 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