LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Mouse driver in current problems (https://www.linuxquestions.org/questions/slackware-14/mouse-driver-in-current-problems-563856/)

dive 06-22-2007 10:09 PM

[Solved] Mouse driver in current problems
 
I did a clean install of current today. Previous I had kept current from around 10.2 or so.

The problem is the side mouse buttons no longer work as expected. xev shows that pressing the side buttons results in button 2 code - ie middle button.

I've tried various mouse protos and tried it in usb rather than ps2 but no help.

Anyone else found this and know a solution?

H_TeXMeX_H 06-22-2007 10:22 PM

What kind of mouse is it ? (brand and is it USB ?)

dive 06-22-2007 10:45 PM

Logitech mx510 usb/ps2

H_TeXMeX_H 06-22-2007 11:10 PM

The 'mouse' driver really isn't designed to work well for more than a 3-button mouse.
I would try using the 'evdev' driver instead of the 'mouse' driver. (are you using the 'mouse' driver right now ? check your xorg.conf)

Instructions for evdev driver are here:
http://gentoo-wiki.com/HOWTO_Advanced_Mouse

And for your mouse here:
http://gentoo-wiki.com/HOWTO_Advance...MX518.2C_MX900

dive 06-22-2007 11:42 PM

I tried evdev but x crashed with a given up trying to use device error. Mouse driver was working fine before upgrade.

H_TeXMeX_H 06-23-2007 12:08 AM

It may have something to do with the new xorg version ?

Here's how I got my mouse working:
http://www.linuxquestions.org/questi...06#post2768906

(note that I had to kind of hack it in order for it to work)

I don't know of any other good solutions. Whenever I use the 'mouse' driver with any of my logitech mice, xev registers buttons pressed when they are not. Usually multiple buttons are registered as pressed when only one button is. It's very odd ... (and this is with Slackware 11.0 as well as current)

dive 06-23-2007 03:41 AM

Evdev doesn't seem to work - x crashing. Where did you get your evdev package? All I can find is an FC rpm.

*edit: just compiled another version and x still craps out. Can't get evdev to work at all.

dive 06-23-2007 12:03 PM

Solved
 
Did it by unloading mouse module and reloading with the correct protocol:

Code:

modprobe -r psmouse
modprobe psmouse rate=200 proto=exps

Now I have buttons 8 and 9 back.

Hint: you can find more parameters with

modinfo psmouse

Also solved: evdev will not work with 'Name' option for mouse. A soon as I took that out it worked fine.


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