X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ed0067022d0065fab2e932c7846de854e1e69471..a4bdef9ca9051d829ee12f9f8ae36016f0c2136e:/package/base-files/files/etc/hotplug2-common.rules diff --git a/package/base-files/files/etc/hotplug2-common.rules b/package/base-files/files/etc/hotplug2-common.rules index ed785e3b1..45b4f44a5 100644 --- a/package/base-files/files/etc/hotplug2-common.rules +++ b/package/base-files/files/etc/hotplug2-common.rules @@ -1,5 +1,5 @@ -DEVICENAME ~~ (null|full|ptmx|tty|zero) { +DEVICENAME ~~ (null|full|ptmx|tty|zero|gpio) { nothrottle makedev /dev/%DEVICENAME% 0666 next @@ -23,6 +23,11 @@ DEVICENAME ~~ (controlC[0-9]|pcmC0D0*|timer) { next } +DEVPATH is set, SUBSYSTEM ~~ (input) { + nothrottle + makedev /dev/input/%DEVICENAME% 0644 +} + DEVPATH is set { nothrottle makedev /dev/%DEVICENAME% 0644