X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/57f5643ac3ecf82a042c3f274e2d900a0b708896..993735e76a12c958cc722267a900d9bb6d3191d4:/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 875fa12ee..3a9f4c5de 100644 --- a/package/base-files/files/etc/hotplug2-common.rules +++ b/package/base-files/files/etc/hotplug2-common.rules @@ -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 @@ -30,6 +35,6 @@ DEVPATH is set { FIRMWARE is set { nothrottle - exec /sbin/hotplug-call firmware; + exec /sbin/hotplug-call firmware next }