LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-31-2005, 07:13 PM   #1
oxblood
Member
 
Registered: Jan 2004
Location: Atlanta, GA
Distribution: Slackware 12.2
Posts: 82

Rep: Reputation: 17
Kernel upgrade to 2.6.10 and mouse stopped working


Hi,

Finally after a dozen of kernel compilations, I managed to be able to boot w/o any apparent problem with 2.6.10 kernel. Except when I start X, my mouse stopped functioning. I have the following configured in my kernel:

Code:
Input device support ->[*] Provide legacy /dev/psaux support
      -- Input I/O support
           <M> PCI PS/2 keyboard and PS/2 mouse controller[*] Mice
           <M> PS/2 mouse
           <M> Serial mouse
I have plug and play disabled in 2.6.10 but enabled in 2.4.26 but setting it on or off doesn't help. My mouse is working ok with 2.4.26 (Slackware 10) and my xorg has the following setting for the mouse device:

Code:
Identifier   "Mouse1"
Driver        "mouse"
Option "Protocol"  "IMPS/2"
Option "Device"     "/dev/mouse"
Option "ZAxisMapping"  "4 5"
Option "Buttons" "5"
Option "Emulate3Buttons"
I tried to change IMPS/2 to PS/2 and still my mouse is dead on the center of the screen. Ok, so I can manually `modprope psmouse' and get some functionality out of the mouse after starting X. But as you can guess there is no scrolling or other functionalities available.

One thing I've noticed is /dev/mouse is pointing at /dev/misc/psaux so I was wondering if I should disable it in my kernel! But in 2.4.26, I have /dev/mouse pointing to /dev/psaux.

The thing with both kernels I'm running Xorg for my X server so...
Does anyone have an idea how to tackel this problem?

Solution:
Compile the PS/2 settings into the kernel rather than marking them as modules. Apparently, the default procedure doesn't update hotplug or whatever startup script to load the mouse module. But everything works just fine now.

Code:
Input device support -> [*] Provide legacy /dev/psaux support 
  -- Input I/O support 
     <*> PCI PS/2 keyboard and PS/2 mouse controller [*] Mice 
        <*> PS/2 mouse 
        <*> Serial mouse

Last edited by oxblood; 02-04-2005 at 01:04 PM.
 
Old 01-31-2005, 10:56 PM   #2
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
posting your config isn't gonna help if no one knows what kind of mouse you have. why do you emulate 3 buttons if your mice has more then 3
 
Old 01-31-2005, 11:29 PM   #3
oxblood
Member
 
Registered: Jan 2004
Location: Atlanta, GA
Distribution: Slackware 12.2
Posts: 82

Original Poster
Rep: Reputation: 17
It's an MS intellimouse PS/2 mouse which has a scroller and I've set the config such to take advantage of copy+paste functionality with two buttons. Anyway, the point is that it works perferctly in 2.4.26 kernel but not with 2.6.10. Any clues?
 
Old 01-31-2005, 11:33 PM   #4
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
your mouse works under 2.4.x with a protocol of IMPS/2 and it's a ps/2 mouse?
 
Old 01-31-2005, 11:49 PM   #5
oxblood
Member
 
Registered: Jan 2004
Location: Atlanta, GA
Distribution: Slackware 12.2
Posts: 82

Original Poster
Rep: Reputation: 17
Yes, it works with either protocols under 2.4.26 but with neither under 2.6.10.
 
Old 02-01-2005, 05:52 PM   #6
Danus ex
LQ Newbie
 
Registered: Oct 2004
Location: Ramsey, Minnesota
Distribution: Slackware 10.1
Posts: 16

Rep: Reputation: 0
I have the same trouble (MS IntelliMouse Explorer 3.0) but with the generic kernel in the Slack testing branch. I couldn't figure it out, either, so I went back to the 2.6.7 kernel.
 
Old 02-01-2005, 10:46 PM   #7
oxblood
Member
 
Registered: Jan 2004
Location: Atlanta, GA
Distribution: Slackware 12.2
Posts: 82

Original Poster
Rep: Reputation: 17
I used the config-2.6.10 of slackware-current/testing branch after several failed attempts to make a workable system with the stock .config from kernel.org 2.6.10 kernel but it was a disaster. So I again I went back to the stock .config file and got everything pretty much working except the mouse that needs the module be loaded manually (or can be scripted) but psmouse.ko module doesn't have many functionalities I have specified in xorg.conf file. If anyone solved this problem, please share it with us.
 
Old 02-02-2005, 12:27 PM   #8
kersten78
Member
 
Registered: Nov 2003
Location: Minneapolis, MN
Distribution: Slackware, Debian, Gentoo, openSuSE
Posts: 358

Rep: Reputation: 33
It could be a udev issue. Try changing the device in xorg.conf to:
/dev/input/mice
That's what works for my usb scroll mouse.

Edit:
Also, stick with the IMPS/2 protocol. That's the one designed for the intellimouse.

And make sure you have usb support compiled into the kernel. I think the important one is HIDDEV for full usb mouse support.

Last edited by kersten78; 02-02-2005 at 12:32 PM.
 
Old 02-03-2005, 05:03 PM   #9
oxblood
Member
 
Registered: Jan 2004
Location: Atlanta, GA
Distribution: Slackware 12.2
Posts: 82

Original Poster
Rep: Reputation: 17
I still haven't been able to resolve this issue!!! It's really frustruating.

It could be a udev issue, I don't know. Probably is but I need more details. How do I know whether I've udev or devfs? I have /dev/input/mice and I had changed the xorg.conf to point to that device, but no luck; the mouse still not functioning at all.

One thing I should add that this is NOT a USB mouse but I did enable all the USB supports for whatever and still not working.

I also upgraded the Xorg from 6.7.0 to 6.8.1 and the only benefit I see an increase in 3D accel with my ATI 7500 (1235 FPS, 100+ from previous record, I may also upgrade the Mesa lib to 6.2.1).

So does anyone know what kind of pseudo filesystem configurations in kernel should I have or any other idea, something, anything that can get my mouse to work? Thanks.
 
Old 02-03-2005, 09:22 PM   #10
oxblood
Member
 
Registered: Jan 2004
Location: Atlanta, GA
Distribution: Slackware 12.2
Posts: 82

Original Poster
Rep: Reputation: 17
Ok, I tried two other things without success. I removed /dev/mouse and made a soft link of it to /dev/input/mice; didn't work.

Then removed it again and `ln'ed it to point at /dev/misc/psaux (which it does through /dev/psaux by default in 2.6.10; I just removed the link from /dev/mouse -> /dev/psaux -> /dev/misc/psaux to /dev/mouse -> /dev/misc/psaux); that didn't work either. I'm really running out of options...

Everything in /etc/udev/rules.d/udev.rules seems to be ok too.
 
Old 02-03-2005, 10:08 PM   #11
kersten78
Member
 
Registered: Nov 2003
Location: Minneapolis, MN
Distribution: Slackware, Debian, Gentoo, openSuSE
Posts: 358

Rep: Reputation: 33
oxblood: I didn't realize that your intellimouse was not USB. basically ignore everything I said in my last post.

Have you tried getting gpm working on the console? That would at least tell you if it's an xorg issue or a kernel issue.
 
Old 02-03-2005, 10:41 PM   #12
oxblood
Member
 
Registered: Jan 2004
Location: Atlanta, GA
Distribution: Slackware 12.2
Posts: 82

Original Poster
Rep: Reputation: 17
My apology, I should have mentioned that is NOT a USB Intellimouse PS/2.

Well, when I boot to the console, rc.gpm is run and ps -ef shows the process is running. But I can't copy and paste with the mouse unless I `modprobe psmouse.'

One more thing, at the end of dmesg, I see this lines:
inport.c: Did not find InPort mouse at 0x23c
input: ImExps/2 Genetic Explorer Mouse on isa0060/serio1

Apparently there is such module under my kernel module but when I modprobe it, it cannot find it although the permissions are the same as i.e. psmouse.
 
Old 02-04-2005, 09:07 AM   #13
AhYup
Member
 
Registered: Mar 2004
Distribution: Suse
Posts: 85

Rep: Reputation: 15
ms mouse

I don't know that this will be any help but I had the same problem with a MS optical wheel mouse. I used it as usb with kernel 2.4 but it wouldn't work there or with a PS/2 adapter in kernel 2.6. Finally I gave up and switched it with the logitech optical wheel mouse from my wife's computer and it worked fine.

Maybe there is some issue with kernel 2.6 and ms mouse. But try swapping it out if you can.
 
Old 02-04-2005, 01:02 PM   #14
oxblood
Member
 
Registered: Jan 2004
Location: Atlanta, GA
Distribution: Slackware 12.2
Posts: 82

Original Poster
Rep: Reputation: 17
Finally!!! I compiled all the mouse related configuration into kernel and now the mouse works just like before.
Code:
Input device support -> [*] Provide legacy /dev/psaux support 
  -- Input I/O support 
     <*> PCI PS/2 keyboard and PS/2 mouse controller [*] Mice 
        <*> PS/2 mouse 
        <*> Serial mouse
I guess when you want it as a module, the default config doesn't write to the hotplug or whatever start up scripts to load the appropriate module.
 
  


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
some appz and sound card stopped working when did upgrade on the kernel golpemortal Fedora 9 05-07-2005 11:04 PM
2.6.9 kernel upgrade, Bluez stopped working 0pal_t0ad Linux - Hardware 1 12-11-2004 02:04 PM
Mouse stopped working after system upgrade driptray Linux - General 3 08-21-2004 04:00 AM
Mouse stopped working after upgrade to FC2 from FC1 bmzf Fedora 9 07-04-2004 05:07 PM
vmware stopped working after a kernel upgrade bruno buys Linux - Software 2 06-21-2004 07:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:00 AM.

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