LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-05-2003, 03:42 AM   #1
pavgust
Member
 
Registered: May 2003
Distribution: Debian
Posts: 40

Rep: Reputation: 15
Logitech MX 500 & XFree86 {strange problem}


Hi all,

I've been trying to get my MX 500's extra buttons to work under X. There's not an exceeding amount of information on the net, but I worked out a solution that *almost* works. Here's the relevant section of my XF86Config:

Quote:
Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "Buttons" "7"
# Option "CorePointer"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "6 7"
EndSection
Also, at every X startup, the command
Quote:
xmodmap -e "pointer = 1 2 3 6 7 4 5"
is run in order to enable the mouse wheel to work (apparently most programs expect buttons 4 and 5 to act as the mousewheel).

Now to the core of the problem - this would all be fine if it wasn't for the fact that (according to xev), the side buttons and mouse wheel movement generate two events each - the upper side button & mouse wheel up genereta ButtonPress 4 and ButtonPress 6 (and corresponding Release events), and the lower side button & mouse wheel down generate ButtonPress 5 and ButtonPress 7.

Before the xmodmap call is executed, every button generates a single event, but the scroll wheel doesn't work (in fact, in most programs I can scroll with the side buttons, but that's not exactly the point).

Any suggestions?

Last edited by pavgust; 11-06-2003 at 05:36 AM.
 
Old 11-06-2003, 05:37 AM   #2
pavgust
Member
 
Registered: May 2003
Distribution: Debian
Posts: 40

Original Poster
Rep: Reputation: 15
Anyone?
 
  


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
zsnes && logitech dual action gamepad && dpad woes John5788 Linux - Games 5 10-29-2008 09:56 PM
Logitech Cordless Desktop Optical and XFree86 3.3.6 Causea Linux - Hardware 4 10-02-2003 08:39 AM
Logitech MX 500 eggs Linux - Hardware 7 08-25-2003 03:04 PM
Logitech MX 500 K3yMaster Linux - Hardware 1 08-16-2003 09:42 AM
Using a Logitech Wireless mouse with xfree86 SephiroX Linux - Hardware 0 04-06-2003 08:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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