Red Hat Bugzilla – Bug 75706
usb mouse not working after kernel compile
Last modified: 2007-04-18 12:47:28 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830
Description of problem:
Logitech USB mouse detected and usable with the shipped kernel by RedHat 2.4.18-14
I tried to compile my own kernel (with the config file for i686 machines) and I
changed only one option (SCSI LUN on), recompiled and installed.
Machine boots up, USB detects the mouse and loads the hid driver, X starts fine,
with mouse pointer shown, but I can't move the mouse. Same in gpm.
Switched back to old kernel, all fine.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. attach Logitech USB mouse
2. start with vanilla 2.4.18-14 kernel
3. mouse works
4. install kernel-source package, copy i686 config file to
5. make mrproper dep bzImage install modules modules_install
6. reboot with custom kernel
Actual Results: mouse works with vanilla kernel
mouse does not work with compiled kernel
Expected Results: mouse should work with both kernels ;)
careful: make mrproper wipes your .config!
I will try again ......
o btw the scsi lun scanning thing is a module option, no need to recompile your
kernel for that
kernel still compiles, I will try as soon as its finished
re: module option, I assume you mean "max_lun=255" to mod_sg. I thought this is
only for advanced server, stupid me. I will try that! Can I specify it on the
linux boot line?
scsi is a module so the option (I don't think it's called max_lun) needs to be a
ok, thanks for the tip with the modules options, max_scsi_luns did the trick
nevertheless, I did the following with the kernel:
cp configs/*i686.config .config
make dep bzImage install modules modules_install
no errors, created custom kernel
mouse gets detected but doesnt work :/
I have this same problem also. My USB Microsoft Intellimouse doesn't work,
exactly as described above, if I recompile the kernel.I just did this with the
recently installed 2.4.18-18.8.0 kernel, changing only the processor option
(from Pentium II to Pentium III.) The mouse doesn't work after. This has been
true of every kernel bundled with Red Hat 8.0 but not of 7.3.
Greenbelt, Maryland, USA
which exact .config did you use ?
I mean, the configs/ directory contains the exact configs we use for the rpms so
I can't explain why an exact recompile wouldn't work, other than that
firstname.lastname@example.org forgot "make oldconfig" (or menuconfig or xconfig)
I was using the kernel-2.4.18-i686.config, and yes, looks like I did forget
"make oldconfig". I thought this is only neccessary, if you upgrade from one
kernel release to another and you want to keep your settings and fill all new
settings with defaults. So, if your config file is complete, then it should not
cause any difference, should it?
yes it would ;(
make mrproper wipes out all the settings RH ever did so what you compiled was
effectively a kernel with everything set to it's default values, which seems to
exclude mouse support :(
I agree, but if you look at my comment from Oct 16, I did copy the config file
after performing make mrproper.
but just copying the config file is not enough :(
make oldconfig (or the other config targets) transform the .config file to
something compiler/makefile readable
ok :) I will make another attempt like this:
cp configs/kernel-2.4.18-i686.config .config
make oldconfig dep bzImage install modules modules_install
results will follow in a bit :)
Thanks so far!
Has anyone got there kernel recompiled successfully so that the usb mouse will
work. I want compile a kernel with ntfs support, and I can get the kernel to
recompile but the usb mouse still doesn't work :( Any pointers would be greatly
This wasn't a bug, closing.
I know this wasn't a bug, however, if I wanted to compile one thing in earlier
redhat releases I did it without any problems. Why doesn't it work now?