summaryrefslogtreecommitdiffstats
path: root/src/initramfs/scripts/bin/hwautocfg
diff options
context:
space:
mode:
Diffstat (limited to 'src/initramfs/scripts/bin/hwautocfg')
-rwxr-xr-xsrc/initramfs/scripts/bin/hwautocfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/initramfs/scripts/bin/hwautocfg b/src/initramfs/scripts/bin/hwautocfg
index 059d1c6f..be95e9c1 100755
--- a/src/initramfs/scripts/bin/hwautocfg
+++ b/src/initramfs/scripts/bin/hwautocfg
@@ -27,6 +27,8 @@ done
# no kernel messages, switch on hotplug via /sbin/mdev
echo "0 0 0 0" >/proc/sys/kernel/printk
echo "/sbin/mdev" >/proc/sys/kernel/hotplug
+echo -e "card[0-9] 0:0 660 =dri/\n(control[A-Z])([0-9]+) 0:0 660 =dri/" \
+ >>/etc/mdev.conf
modprobe -a ${MODPRV} usbhid hid-bright hid-generic 2>/dev/null &
# check from vga= that the traditional framebuffer is needed e.g. for splashy
# get information on the graphics adaptor if bootsplash or xserver plugins are