LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-11-2003, 10:04 AM   #1
fsu_slacker
LQ Newbie
 
Registered: Jul 2003
Location: Tallahassee, FL
Distribution: Slackware 9.0
Posts: 29

Rep: Reputation: 15
Usb mouse doesn't work after kernel upgrade


To solve some network issues I just compiled kernel 2.4.21 as an upgrade for 2.4.20. The new kernel will boot fine, but i cannot use xwindow because my usb mouse isn't being recognized. I compiled the new kernel just like my old one, with the exception of some additional support built in the new one. I don't get why it's not working. Do I need to grab some of the modules from my old kernel, or what? My 2.4.20 doesn't have support for a usb mouse built in, yet it works fine. The new one loads gpm just like my old one, but cannot find /dev/input/mouse0 -imps2 (i think that's what it says, but i don't remember exactly). Anyone have any ideas what's making the difference?
 
Old 08-12-2003, 10:18 AM   #2
fsu_slacker
LQ Newbie
 
Registered: Jul 2003
Location: Tallahassee, FL
Distribution: Slackware 9.0
Posts: 29

Original Poster
Rep: Reputation: 15
WTF... My /lib/modules/2.4.21/kernel/drivers folder is empty except for dummy.o net driver. I can only assume that this is my problem, but what do I do about it? Can i just copy the modules i need from my 2.4.20 directory? Is there anything else I would need to do (modifying script files and the like) to get everything to load properly? I've recompiled a kernel before, but never upgraded to a different version, so I'm kinda lost on everything I need to do.
 
Old 08-12-2003, 09:12 PM   #3
dowmun
Member
 
Registered: Feb 2003
Posts: 119

Rep: Reputation: 15
USB mouse doesn't work in 2.4.21

Hi,
I don't have any USB devices, but yours is the second post that I have noticed concerning this issue. The other one (which doesn't have an answer either) is here:

http://www.linuxquestions.org/questi...threadid=79990

One possible reason that you only have a dummy.o driver in the
/lib/modules/2.4.21/kernel/drivers folder is that you compiled things into the kernel rather than as modules. You might look at the config file you used, and see which modules should be present.
I think it is safe to use modules from your 2.4.20 version, IF you said yes to "set version information on all module symbols" under Loadable Module Support when the kernel was configured. I think this is the default.
Did you use the old configuration file for your new kernel (as BackSeat did), or configure a new one with Make Menuconfig or the like?
Sorry I can give you no answers.
 
Old 08-13-2003, 11:18 AM   #4
fsu_slacker
LQ Newbie
 
Registered: Jul 2003
Location: Tallahassee, FL
Distribution: Slackware 9.0
Posts: 29

Original Poster
Rep: Reputation: 15
Crapola. For the time being I just dumped all my old modules into the new kernel, for the simple reason that I forgot about that stupid config file. I checked my config, changed some stuff and recompiled this morning. Did I possibly miss something installing the new kernel the first time? I did the make modules and make modules_install but it looks like it put all the modules in the usr/src/linux-2.4.21 directory. Was i supposed to move those '.o' files to the lib/modules/2.4.21/ directory? Is there a specific command I have to use for that? I'm gonna feel really stupid if that was my problem... athough i somehow suspect that is a contributing factor.

Thanx for the info, btw.
 
Old 08-13-2003, 01:37 PM   #5
dowmun
Member
 
Registered: Feb 2003
Posts: 119

Rep: Reputation: 15
USB problem with kernel 2.4.21

It is my understanding that the fact that you have a /lib/modules/2.4.21 directory means you did the make modules, and make modules_install correctly. I do not think it is necessary for you to have to move anything into that directory. The two make commands should have done it.
I think it is possible that you (and BackSeat), are leaving something out , but I do not know what it is.
If I could get one of the kids to let me use one of their USB devices for awhile, I could experiment. However, they are reluctant to let me have anything until it is obsolete or worn out.
 
Old 08-13-2003, 02:29 PM   #6
fsu_slacker
LQ Newbie
 
Registered: Jul 2003
Location: Tallahassee, FL
Distribution: Slackware 9.0
Posts: 29

Original Poster
Rep: Reputation: 15
Urm... dammit. I should have just looked at the modules.dep file in the first place before getting so confused. It did update everything. I haven't tried booting my new creation yet, though.

As for getting a USB device, just steal it while they're not looking, and run fast. Hopefully you'll make it out alive.
 
Old 08-15-2003, 10:41 AM   #7
fsu_slacker
LQ Newbie
 
Registered: Jul 2003
Location: Tallahassee, FL
Distribution: Slackware 9.0
Posts: 29

Original Poster
Rep: Reputation: 15
I... am... such... an... idiot... I was sitting here, tapping the little usb/ps2 adapter on the desk, trying to figure out what to do. It didn't actually occur to me until this morning that I should just hook my mouse up on ps2, and my problem should be solved. I haven't tried it yet, but logically it should work.
 
Old 08-15-2003, 10:52 AM   #8
fsu_slacker
LQ Newbie
 
Registered: Jul 2003
Location: Tallahassee, FL
Distribution: Slackware 9.0
Posts: 29

Original Poster
Rep: Reputation: 15
I assume all i have to do to set the mouse back to ps2 is change the lines in XF86Config to say:

Option "Protocol" "PS/2"

and

Option "Device" "/dev/psaux"

or do I need to leave it configured to /dev/mouse ?
 
Old 08-28-2003, 01:26 PM   #9
grim1234
Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware 10.2, Fluxbox.
Posts: 64

Rep: Reputation: 15
kernel 2.4.22 stable is out. I've googled this issue and read a couple of times of this problem with 2.4.21 but <b>not</b> earlier 2.4.xx versions. I'm going to test this soon and repost.

 
Old 08-29-2003, 04:31 AM   #10
grim1234
Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware 10.2, Fluxbox.
Posts: 64

Rep: Reputation: 15
Okay - the usb mouse works now with the same choices I used with 2.4.21 but now modules don't work. Oh well. One step closer.



 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mouse won't work after 2.6 upgrade lantern Slackware - Installation 11 04-15-2005 03:09 AM
My USB keyboard and mouse no work in kernel 2.6+ (Debian) 0x86 Linux - Software 5 08-01-2004 12:22 PM
USB Mouse/Sound no longer work after kernel compile, MDK 10, 2.6.3 Kramer Linux - Hardware 8 03-25-2004 11:49 PM
PS/2 mouse did not work after temp removal of USB mouse edwardp Linux - Hardware 1 09-06-2003 04:57 PM
USB mouse not work after kernel recompile fog_proxy Linux - General 8 08-21-2003 12:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration