chiark / gitweb /
[PATCH] added dri rule to the default config file.
[elogind.git] / etc / udev / udev.rules
index c2b50eb90d4f4af11b8e51e70996232f612b39cd..68c0c63c89f1c8dc65715776c7378808e355221d 100644 (file)
@@ -51,3 +51,7 @@ CALLOUT, BUS="ide", PROGRAM="/bin/cat /proc/ide/%k/media", ID="cdrom", NAME="%k"
 
 # device mapper creates its own device nodes
 IGNORE, KERNEL="dm-[0-9]*"
+
+# DRI devices always go into a subdirectory (as per the LSB spec)
+REPLACE, KERNEL="card*", NAME="dri/card%n"
+