summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinitrd/initrd-stuff/bin/hwautocfg4
-rwxr-xr-xinitrd/initrd-stuff/init3
-rwxr-xr-xinitrd/mkdxsinitrd2
3 files changed, 8 insertions, 1 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
diff --git a/initrd/mkdxsinitrd b/initrd/mkdxsinitrd
index 79b911b3..d7461fe4 100755
--- a/initrd/mkdxsinitrd
+++ b/initrd/mkdxsinitrd
@@ -439,7 +439,7 @@ DEBUGMODULES=""
# put all needed modules into initial ramdisk
mkdir -p ${INSTDIR}/lib/modules/${KERNVER}
-for module in af_packet ${NWMODULES} ${FSMODULES} ${DEBUGMODULES}; do
+for module in af_packet unix ${NWMODULES} ${FSMODULES} ${DEBUGMODULES}; do
mod=`cd /${ROOTDIR}; find "lib/modules/${KERNVER}" -name ${module}.ko \
2>/dev/null`
if [ -n "$mod" ] ; then