New kernel won't recognize my USB mouse and keyboard
I'm running Debian sarge and I recently upgraded the 2.4.25 kernel to the 2.6.6 kernel. At first I tried compiling my own custom kernel, but came to a wall where I could not get the X-server to start no matter what I tried. Then I installed the Debian 2.6.6 kernel package, and X boots up, but it no longer recognizes my USB mouse and keyboard. :( What could be wrong? I didn't change anything in my XF86Config-4 file and my mouse and keyboard work fine on my old kernel so I can't imagine the problem lies with that. I posted it below anyway as a reference. Does anyone have an idea of what is wrong? Thanks
Code:
tyler@localhost:~/image/manga/Hajime_no_Ippo/Volume_20$ cat /etc/X11/XF86Config-4 |
did you try "make oldconfig" using the old .config file? Basically your new config hasnt taken all the changes you made in your last kernel. it will work, mine certainly did with a bog standard generic usb mouse, when i upgraded my kernel from 2.4.* to 2.6.*.
|
No I didn't do that. Umm, what directory do I try that in exactly? Thanks
|
well in the /usr/src/kernel-2.4.* you had, and i hope didnt delete yet you have a hidden file called .config. copy that file to the root of the new kernel directory then run: make oldconfig, it will likely ask you to type yes no at some points, just keep hitting return. after that you can then make xconfig (make any changes you want to) then make bzImage.
|
Code:
tyler@localhost:/usr/src$ ls -la I tried booting the 2.6.6 kernel with swapping my USB keyboard with a PS/2 one (which worked) and using a USB->PS/2 converter on my mouse (which still didn't work). Then I rebooted to the 2.4.25 kernel and X-windows wasn't booting up for some reason (didn't give me a clear error) so I was like crap. Then I took out the USB->PS/2 converter on my mouse and plugged in my old USB keyboard and the 2.4.25 kernel booted fine... :rolleyes: I'm starting to get a little aggravated. Well I'm going to buy a new PS/2 mouse and PS/2 keyboard soon, but still I want these USB devices to be able to work :cry: Is there anything else I can try? I REALLY want to get booted into my new kernel with a working keyboard and mouse |
theres nothing wrong with your XF86Config-4 file so it going to be a simple kernel config. make sure that you have HID selected under USB settings (i dont have a linux box with me at the moment so cant tell you off the top of my head what the exact settings are). have a look through all the kernel settings (there are loads but it does get you famillier) and just flick the ones that you might deem necessary to get a usb mouse to work, its just a bit of common sence at the end of the day. dont worry you wont break anything.
|
All times are GMT -5. The time now is 07:45 AM. |