From abcf8ff1115bb89632ae4b46c37d09e482362620 Mon Sep 17 00:00:00 2001 From: Felix Endres Date: Sun, 12 Feb 2006 20:36:36 +0000 Subject: Udevd-fix. Maus funktioniert nun. git-svn-id: http://svn.openslx.org/svn/openslx/dxs/ld4@73 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initrd/initrd-stuff/bin/hwautocfg | 4 ++++ initrd/initrd-stuff/init | 3 +++ 2 files changed, 7 insertions(+) (limited to 'initrd/initrd-stuff') 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 -- cgit v1.2.3-55-g7522