aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/hotplug2-common.rules
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/etc/hotplug2-common.rules')
-rw-r--r--package/base-files/files/etc/hotplug2-common.rules6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/base-files/files/etc/hotplug2-common.rules b/package/base-files/files/etc/hotplug2-common.rules
index 3a9f4c5ded..d6dd6e8a9b 100644
--- a/package/base-files/files/etc/hotplug2-common.rules
+++ b/package/base-files/files/etc/hotplug2-common.rules
@@ -23,6 +23,12 @@ DEVICENAME ~~ (controlC[0-9]|pcmC0D0*|timer) {
next
}
+DEVICENAME ~~ (lp[0-9]) {
+ nothrottle
+ makedev /dev/%DEVICENAME% 0644
+ next
+}
+
DEVPATH is set, SUBSYSTEM ~~ (input) {
nothrottle
makedev /dev/input/%DEVICENAME% 0644