Bug 3970 - Wrong "FAILED" message when using USB mouse/keyboard and kernel 2.6.x
Summary: Wrong "FAILED" message when using USB mouse/keyboard and kernel 2.6.x
Status: CLOSED NOTABUG
Alias: None
Product: Sisyphus
Classification: Development
Component: hotplug (show other bugs)
Version: unstable
Hardware: all Linux
: P2 minor
Assignee: Anton Farygin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-14 08:00 MSD by Sir Raorn
Modified: 2005-10-26 23:36 MSD (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 такого файла нет.