LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 06-22-2007, 11:09 PM   #1
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 293Reputation: 293Reputation: 293
[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?

Last edited by dive; 06-23-2007 at 01:02 PM.
 
Old 06-22-2007, 11:22 PM   #2
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
What kind of mouse is it ? (brand and is it USB ?)
 
Old 06-22-2007, 11:45 PM   #3
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Original Poster
Rep: Reputation: 293Reputation: 293Reputation: 293
Logitech mx510 usb/ps2
 
Old 06-23-2007, 12:10 AM   #4
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
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

Last edited by H_TeXMeX_H; 06-23-2007 at 12:11 AM.
 
Old 06-23-2007, 12:42 AM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Original Poster
Rep: Reputation: 293Reputation: 293Reputation: 293
I tried evdev but x crashed with a given up trying to use device error. Mouse driver was working fine before upgrade.
 
Old 06-23-2007, 01:08 AM   #6
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
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)
 
Old 06-23-2007, 04:41 AM   #7
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Original Poster
Rep: Reputation: 293Reputation: 293Reputation: 293
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.

Last edited by dive; 06-23-2007 at 05:40 AM.
 
Old 06-23-2007, 01:03 PM   #8
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Original Poster
Rep: Reputation: 293Reputation: 293Reputation: 293
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.

Last edited by dive; 06-23-2007 at 05:53 PM.
 
  


Reply

Tags
buttons, evdev, mouse, psmouse


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
PS/2 mouse and driver for wireless lan in PCMCIA slot creating problems U2BRUTUS Linux - Hardware 0 02-10-2006 01:53 PM
Wireless, USB Mouse problems with Slackware-current Korazail Slackware 7 12-23-2005 06:24 PM
Mouse Theme in slackware-current paulicat Slackware 4 09-26-2005 06:50 PM
PS/2 Mouse driver problems bcf2 Linux - Hardware 5 06-25-2005 03:55 PM
new nvidia driver & mouse problems - odd errors produced, no mouse detected. UrbanSlayer Debian 4 07-03-2004 09:13 PM


All times are GMT -5. The time now is 06:40 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration