From 57a1576550e4cd18adf7ab7d63abe31ef4b364b0 Mon Sep 17 00:00:00 2001
From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Mon, 9 Mar 2009 15:06:15 +0000
Subject: [PATCH] move input device nodes to /dev/input

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14809 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 package/base-files/files/etc/hotplug2-common.rules | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/base-files/files/etc/hotplug2-common.rules b/package/base-files/files/etc/hotplug2-common.rules
index 875fa12ee..45b4f44a5 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
-- 
2.20.1