Bug 3970

Summary: Wrong "FAILED" message when using USB mouse/keyboard and kernel 2.6.x
Product: Sisyphus Reporter: Sir Raorn <raorn>
Component: hotplugAssignee: Anton Farygin <rider>
Status: CLOSED NOTABUG QA Contact: qa-sisyphus
Severity: minor    
Priority: P2    
Version: unstable   
Hardware: all   
OS: Linux   

Description Sir Raorn 2004-04-14 08:00:21 MSD
/etc/rc.d/init.d/usb contains following code:

if is_yes "$MOUSE"; then
    action "Loading USB mouse:" /sbin/modprobe usbmouse && /sbin/modprobe mousedev
fi
if is_yes "$KEYBOARD"; then
    action "Loading USB keyboard:" /sbin/modprobe usbkbd && /sbin/modprobe keybdev
fi

This leads to "can't locate module mousedev/keybdev" messages and [FAILED]
status upon startup when using kernel 2.6.x where mousedev and keybdev are
compiled into kernel.
This can be done via /etc/modules.conf:

if -n `kernelversion_minor` < 5
    post-install usbmouse modprobe mousedev
    post-install usbkbd modprobe keybdev
fi
Comment 1 Dmitry V. Levin 2004-08-09 16:16:17 MSD
Файла /etc/rc.d/init.d/usb больше нет.
Comment 2 Anton Farygin 2004-08-09 17:49:39 MSD
в hotplug такого файла нет.