LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Kernel upgrade to 2.6.10 and mouse stopped working (https://www.linuxquestions.org/questions/slackware-14/kernel-upgrade-to-2-6-10-and-mouse-stopped-working-284666/)

oxblood 01-31-2005 07:13 PM

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


Boow 01-31-2005 10:56 PM

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

oxblood 01-31-2005 11:29 PM

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?

__J 01-31-2005 11:33 PM

your mouse works under 2.4.x with a protocol of IMPS/2 and it's a ps/2 mouse?

oxblood 01-31-2005 11:49 PM

Yes, it works with either protocols under 2.4.26 but with neither under 2.6.10.

Danus ex 02-01-2005 05:52 PM

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.

oxblood 02-01-2005 10:46 PM

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.

kersten78 02-02-2005 12:27 PM

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.

oxblood 02-03-2005 05:03 PM

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.

oxblood 02-03-2005 09:22 PM

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.

kersten78 02-03-2005 10:08 PM

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

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.

oxblood 02-03-2005 10:41 PM

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.

AhYup 02-04-2005 09:07 AM

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.

oxblood 02-04-2005 01:02 PM

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.


All times are GMT -5. The time now is 02:43 AM.