summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/udev/udev.rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/udev/udev.rules b/etc/udev/udev.rules
index c2b50eb90d..68c0c63c89 100644
--- a/etc/udev/udev.rules
+++ b/etc/udev/udev.rules
@@ -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"
+