LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 11-15-2006, 11:48 AM   #1
aldar
LQ Newbie
 
Registered: Jul 2005
Posts: 21

Rep: Reputation: 15
xev not showing mouse thumb button number


In my quest to get my 6-button Logitech Mouseman Optical thumb button to act as a browser back button, I have noticed that no matter which Protocol I use in xorg.conf (ExplorerPS/2 IMPS/2 PS/2 Auto) xev does not respond at all when I push the thumb button. I'm thinking that's why no matter what I do, I cannot get the thumb button working like I want. For some reason my install of Slack11 with kernel 2.6.17.13 just isn't seeing the thumb button.

I dual-boot with Ubuntu 6.10 and it, along with imwheel, sees the thumb button just fine and it works as my browser back. I have, of course, exactly replicated Ubuntu's settings for the mouse in Slackware (except for the device setting of course), but nothing I try works.

Why would xev not show my thumb button at all?

Here are the settings that work in Ubuntu, but not Slackware (same computer):

/etc/X11/xorg.conf:

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
# Option "Device" "/dev/input/mice" #ubuntu
Option "Device" "/dev/mouse" #slackware
Option "Protocol" "ExplorerPS/2"
Option "Buttons" "8"
Option "ZAxisMapping" "4 5"
EndSection


/etc/X11/imwheel/imwheelrc:

"(null)"
None, Up, Alt_L|Left
None, Down, Alt_L|Right

".*"
None, Up, Alt_L|Left
None, Down, Alt_L|Right


imwheel cmd:

imwheel -b 8
 
Old 11-15-2006, 12:06 PM   #2
xflow7
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 215

Rep: Reputation: 45
My suggestion would be to do:

Code:
cat /proc/bus/input/devices
and post the results. This will tell you what the kernel thinks your mouse is. Ideally, since you are observing different behavior between Slack and Ubuntu, do it in both and compare the outputs.

Dave
 
Old 11-15-2006, 12:40 PM   #3
aldar
LQ Newbie
 
Registered: Jul 2005
Posts: 21

Original Poster
Rep: Reputation: 15
Here is the mouse part of what "cat /proc/bus/input/devices" gives me on both:
Eventhough it says ImPS/2 I do have them both set to ExplorerPS/2 in xorg.conf.

slack:
I: Bus=0011 Vendor=0002 Product=0005 Version=0000
N: Name="ImPS/2 Generic Wheel Mouse"
P: Phys=isa0060/serio1/input0
S: Sysfs=/class/input/input2
H: Handlers=mouse0 event2
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103


ubuntu:
I: Bus=0011 Vendor=0002 Product=0006 Version=0000
N: Name="ImExPS/2 Generic Explorer Mouse"
P: Phys=isa0060/serio1/input0
S: Sysfs=/class/input/input2
H: Handlers=mouse0 event2 ts0
B: EV=7
B: KEY=1f0000 0 0 0 0 0 0 0 0
B: REL=103
 
Old 11-15-2006, 01:52 PM   #4
xflow7
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 215

Rep: Reputation: 45
Even though you are telling X to use the Explorer protocol, the kernel doesn't see it as such a device which I have a feeling is the trouble.

Are you running the 2.6 kernel and modules? If so, the default Slackware behavior is to load the psmouse module with the option "proto=imps" which won't let the kernel see the full capabilities of some devices. Pat V. talks about his rationale for doing this in the file '/etc/rc.modules-2.6.<whatever>' where the psmouse module is modprobed.

This caused me some headaches with my touchpad and adding the following line to /etc/modprobe.d/modprobe.conf fixed it:

Code:
options psmouse proto=any
This overrides the proto=imps option and allows the kernel to see the full capabilities of the device.

Dave
 
Old 11-15-2006, 02:49 PM   #5
aldar
LQ Newbie
 
Registered: Jul 2005
Posts: 21

Original Poster
Rep: Reputation: 15
Yes, I have upgraded to 2.6.17.13.

Adding that options line did the trick. The button now works.

Thank you very much.
 
  


Reply



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 thumb button problem Black_Knight Linux - Hardware 2 04-10-2006 03:56 PM
make thumb button/third button double-click taboom Linux - Hardware 0 03-20-2006 02:39 PM
mapping Logitech mouse thumb button to double-click buldir Linux - Hardware 3 12-04-2004 09:11 PM
Mandrake Middle mouse button and number lock Boffy Linux - Hardware 1 04-21-2004 06:49 AM
middle mouse button is paste.. but what if i dont have a mid mouse button? kublador Linux - Newbie 4 09-02-2003 08:59 AM

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

All times are GMT -5. The time now is 10:19 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