chiark / gitweb /
[PATCH] fix gentoo legacy tty rule
[elogind.git] / etc / udev / udev.rules.gentoo
index 1a84baa9d4e5714b1f9d49c9d9355995e5979cb5..08bc9f99d11e7d75d2ceb89840a62c82e5268129 100644 (file)
@@ -57,12 +57,12 @@ KERNEL="loop[0-9]*", NAME="loop/%n", SYMLINK="%k"
 KERNEL="md[0-9]*", NAME="md/%n", SYMLINK="%k"
 
 # misc devices
-KERNEL="rtc",     NAME="misc/%k", SYMLINK="%k"
-KERNEL="psaux",   NAME="misc/%k", SYMLINK="%k"
-KERNEL="agpgart", NAME="misc/%k", SYMLINK="%k"
-KERNEL="rtc",     NAME="misc/%k", SYMLINK="%k"
-KERNEL="psaux",   NAME="misc/%k", SYMLINK="%k"
-KERNEL="uinput",  NAME="misc/%k", SYMLINK="%k"
+KERNEL="agpgart",   NAME="misc/%k", SYMLINK="%k"
+KERNEL="microcode", NAME="misc/%k", SYMLINK="%k"
+KERNEL="psaux",     NAME="misc/%k", SYMLINK="%k"
+KERNEL="rtc",       NAME="misc/%k", SYMLINK="%k"
+KERNEL="uinput",    NAME="misc/%k", SYMLINK="%k"
+KERNEL="inotify",   NAME="misc/%k", SYMLINK="%k"
 
 # pty devices
 KERNEL="pty[p-za-e][0-9a-f]*", NAME="pty/m%n", SYMLINK="%k"
@@ -95,9 +95,9 @@ KERNEL="vcsa",       NAME="vcc/a0",  SYMLINK="%k"
 KERNEL="vcsa[0-9]*", NAME="vcc/a%n", SYMLINK="%k"
 
 # v4l devices
-KERNEL="video[0-9]*", NAME="v4l/video%n"
+KERNEL="video[0-9]*", NAME="v4l/video%n", SYMLINK="video%n"
 KERNEL="radio[0-9]*", NAME="v4l/radio%n"
-KERNEL="vbi[0-9]*",   NAME="v4l/vbi%n"
+KERNEL="vbi[0-9]*",   NAME="v4l/vbi%n",   SYMLINK="vbi%n"
 KERNEL="vtx[0-9]*",   NAME="v4l/vtx%n"
 
 # USB devices
@@ -129,4 +129,9 @@ KERNEL="capi*",             NAME="capi/%n"
 KERNEL="tun",          NAME="net/%k"
 
 # raw devices
-KERNEL="raw[0-9]*",     NAME="raw/%k" 
+KERNEL="raw[0-9]*",     NAME="raw/%k"
+
+# cpu devices
+KERNEL="cpu[0-9]*",    NAME="cpu/%n/cpuid"
+KERNEL="msr[0-9]*",    NAME="cpu/%n/msr"
+KERNEL="microcode",    NAME="cpu/microcode"