diff options
-rwxr-xr-x | src/initramfs/scripts/bin/hwautocfg | 2 | ||||
-rwxr-xr-x | src/initramfs/scripts/init | 2 |
2 files changed, 3 insertions, 1 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 diff --git a/src/initramfs/scripts/init b/src/initramfs/scripts/init index 5752440c..a4a41629 100755 --- a/src/initramfs/scripts/init +++ b/src/initramfs/scripts/init @@ -57,7 +57,7 @@ getty -i -n -l /bin/cat 38400 tty10 & setlogcons 10 # start device auto discovery/setup service of busybox -echo >/etc/mdev.conf +echo "# Set mdev behaviour in either init or hwautocfg" >/etc/mdev.conf mdev -s # source functions file common for all distros, messages contains all error |