diff options
author | Felix Endres | 2006-02-12 21:36:36 +0100 |
---|---|---|
committer | Felix Endres | 2006-02-12 21:36:36 +0100 |
commit | abcf8ff1115bb89632ae4b46c37d09e482362620 (patch) | |
tree | 35acf34d4edcc28032c86151fedef34085d15ddf /initrd | |
parent | Minor changes ... (diff) | |
download | core-abcf8ff1115bb89632ae4b46c37d09e482362620.tar.gz core-abcf8ff1115bb89632ae4b46c37d09e482362620.tar.xz core-abcf8ff1115bb89632ae4b46c37d09e482362620.zip |
Udevd-fix. Maus funktioniert nun.
git-svn-id: http://svn.openslx.org/svn/openslx/dxs/ld4@73 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd')
-rwxr-xr-x | initrd/initrd-stuff/bin/hwautocfg | 4 | ||||
-rwxr-xr-x | initrd/initrd-stuff/init | 3 | ||||
-rwxr-xr-x | initrd/mkdxsinitrd | 2 |
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 |