08-17-04 07:59 AM
I am running the stock 2.4.22-1.2199.nptl i686 kernel, but the NTFS
modules was not built. So what I did was:
*) cd /usr/src/linux
*) make mrpoper
*) make menuconfig
*) Changed processor type to Pentium IV
*) Then selected NTFS module
*) Then de-selected other modules that I dont need ( e.g.: wireless,
radio, ISDN, etc ... )
*) make bzImage
*) copied arch/i386/boot/bzImage to /boot/vmlinuz-2.4.22-1.2199.nptlcustom
*) make modules
*) make modules_install, which created the directory
/lib/modules/2.4.22-1.2199.nptlcustom
*) copied System.map to /boot/System.map-2.4.22-1.2199.nptlcustom
mkinitrd --with=ext3 /boot/initrd-2.4.22-1.2199.nptlcustom.img
2.4.22-1.2199.nptlcustom
*) Created a new entry in /boot/grub/menu.lst to boot off my new
compiled kernel
... then rebooted.
However, the Microsoft optical USB wheel mouse no longer works ( not
even on the non-X console ).
Just to make sure I have the necessary modules installed, I compared
/usr/src/linux/.config with /boot/config-2.4.22-1.2199.nptl:
$ grep HID /boot/config-2.4.22-1.2199.nptl
# USB Human Interface Devices (HID)
CONFIG_USB_HID=m
CONFIG_USB_HIDDEV=m
CONFIG_USB_HIDINPUT=m
$ grep HID /usr/src/linux-2.4/.config
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=m
CONFIG_USB_HIDDEV=m
$ grep MOUSE /boot/config-2.4.22-1.2199.nptl
CONFIG_INPUT_MOUSEDEV=m
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_ATIXL_BUSMOUSE=m
CONFIG_LOGIBUSMOUSE=m
CONFIG_MS_BUSMOUSE=m
CONFIG_MOUSE=y
CONFIG_PSMOUSE=y
CONFIG_MK712_MOUSE=m
# CONFIG_USB_MOUSE is not set
CONFIG_BUSMOUSE=m
CONFIG_82C710_MOUSE=m
$ grep MOUSE /usr/src/linux-2.4/.config
CONFIG_INPUT_MOUSEDEV=m
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_BUSMOUSE=m
CONFIG_ATIXL_BUSMOUSE=m
CONFIG_LOGIBUSMOUSE=m
CONFIG_MS_BUSMOUSE=m
CONFIG_MOUSE=y
CONFIG_PSMOUSE=y
CONFIG_82C710_MOUSE=m
CONFIG_MK712_MOUSE=m
# CONFIG_USB_MOUSE is not set
I could not find anything different that would affact the USB mouse.
What I did notice different were the following:
1) /sbin/lsmod on the stock 2199.nptl kernel shows:
hid 23908 0 (unused)
usb-ohci 21544 0 (unused)
usbcore 78752 1 [hid usb-ohci]
mousedev 5268 1 (autoclean)
input 5888 0 (autoclean) [keybdev hid mousedev]
/sbin/lsmod on the custom 2199.nptl kernel shows:
hid 23908 0 (unused)
usb-ohci 21544 0 (unused)
usbcore 78752 1 [hid usb-ohci]
mousedev 5268 1 (autoclean)
input 5888 0 (autoclean) [keybdev mousedev]
* This is not the exact output, copied and pasted from the above to
here, the different being the sizes of the modules.
( Note that input is not referred to by the hid module )
2) dmesg on the stock 2199.nptl kernel shows:
hub.c: new USB device 00:02.3-1, assigned address 2
input: USB HID v1.00 Mouse [Microsoft Microsoft Wheel Mouse Optical?] on
usb2:2.0
dmesg on the custom 2199.nptl kernel shows:
hub.c: new USB device 00:02.3-1, assigned address 2
: USB HID v1.00 Mouse [Microsoft Microsoft Wheel Mouse Optical?] on usb2
:2.0
( Note that missing "input" before the colon ( )
3) /lib/modules/2.4.22-1.2199.nptl/modules.dep shows:
/lib/modules/2.4.22-1.2199.nptl/kernel/drivers/usb/hid.o:
/lib/modules/2.4.22-1.2199.nptl/kernel/drivers/usb/usbcore.o \
/lib/modules/2.4.22-1.2199.nptl/kernel/drivers/input/input.o
/lib/modules/2.4.22-1.2199.nptlcustom/modules.dep shows:
/lib/modules/2.4.22-1.2199.nptlcustom/kernel/drivers/usb/hid.o:
/lib/modules/2.4.22-1.2199.nptlcustom/kernel/drivers/usb/usbcore.o
So what am I missing ?
The necessary modules are certainly loaded, but somehow, it seems that
the hid.o module compiled from the kernel source does not access / refer
to the input.o module, as if CONFIG_USB_HIDINPUT is not selected at
all!, even though it is.
I even tried a silly thing as manually adding the input.o module as
being one of the modules that hid.o depends on. Of course, that does not
work.
Any help appreciated.
[ Post a follow-up to this message ]
|