diff options
Diffstat (limited to 'initrd/initrd-stuff')
| -rwxr-xr-x | initrd/initrd-stuff/bin/hwautocfg | 4 | ||||
| -rwxr-xr-x | initrd/initrd-stuff/init | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/initrd/initrd-stuff/bin/hwautocfg b/initrd/initrd-stuff/bin/hwautocfg index 819ffc75..29cf98b8 100755 --- a/initrd/initrd-stuff/bin/hwautocfg +++ b/initrd/initrd-stuff/bin/hwautocfg @@ -279,6 +279,10 @@ modprobe ${MODPRV} usbcore & [ -f /lib/modules/${KERNEL}/kernel/drivers/input/mouse/psmouse.ko ] && \ modprobe ${MODPRV} psmouse +# and map the mousehandler to /dev/input/mice +[ -f /lib/modules/${KERNEL}/kernel/drivers/input/mousedev.ko ] && \ + modprobe ${MODPRV} mousedev + # start the knoppix hardware autodetection tool ( hwsetup -v > /tmp/hwsetup.info && echo "hwsetup" > /tmp/hwrun1 ) & diff --git a/initrd/initrd-stuff/init b/initrd/initrd-stuff/init index 44bd3e8b..5452aaaf 100755 --- a/initrd/initrd-stuff/init +++ b/initrd/initrd-stuff/init @@ -47,6 +47,9 @@ exec < /dev/console > /dev/console 2>&1 # run pre init script preinit +# load unix module to provide sockets +modprobe ${MODPRV} unix || error " Failed to load the \"unix\" module. \ +Problems with Hardware detection will probably arise" # start device auto discovery service - distro specific function udev_hotplug # read kernel commandline |
