12280 Mouse buttons not properly recognized. - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > Peripheral Hardware

Peripheral Hardware Stuff that plugs in via USB, FireWire, eSATA, PS/2, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old February 25th, 2012, 10:16
crshd crshd is offline
Junior Member
 
Join Date: Jun 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Mouse buttons not properly recognized.

I'm having some issues with my Logitech MX1100. On this model, the scroll wheel tilts left and right for horizontal scrolling, but these buttons are recognized as buttons 8 and 9, which are actually the two thumb buttons. They are supposed to be 6 and 7.

So now, every time I want to scroll horizontally, I end up going back/forward in my browser's history. Right now I switched the functions of button 8/9 to 6/7 via xmodmap, so that I have horizontal scrolling, but of course that also changed the thumb buttons to 6/7.

I've googled around a bit, and tried all kinds of xorg.conf settings to get it to use the right button codes, but so far to no avail. Everything used to work fine with Linux, right out of the box.

Last edited by DutchDaemon; February 26th, 2012 at 01:08.
Reply With Quote
  #2  
Old February 25th, 2012, 17:49
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,850
Thanks: 444
Thanked 1,827 Times in 1,494 Posts
Default

Have you added the extra buttons to the mouse entry in xorg.conf? ZAxisMapping? See mousedrv(4x).
Reply With Quote
  #3  
Old February 26th, 2012, 05:32
crshd crshd is offline
Junior Member
 
Join Date: Jun 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, I did. Currently my xorg.conf says

Code:
Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/sysmouse"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection
I also tried setting ButtonMapping to "1 2 3 6 7 8 9 10", which didn't work either.

Last edited by DutchDaemon; February 26th, 2012 at 19:03.
Reply With Quote
  #4  
Old February 26th, 2012, 07:06
crshd crshd is offline
Junior Member
 
Join Date: Jun 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Eh, no edit function...

I'm not very experienced with that stuff, but actually I'm guessing it's not Xorg's problem, but something further down, on the driver level. Whatever I try to change in my xorg.conf, the tilting function of the wheel always has the same button codes as the two thumb buttons.

Last edited by DutchDaemon; February 26th, 2012 at 19:03.
Reply With Quote
  #5  
Old February 27th, 2012, 08:58
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,844
Thanks: 48
Thanked 2,060 Times in 1,890 Posts
Default

Not all buttons may be mapped. They could also be mapped to some other numbers.

Have a look with x11/xev and see what buttons are recognized.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #6  
Old February 28th, 2012, 10:57
rayne rayne is offline
Junior Member
 
Join Date: Feb 2012
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by crshd View Post
Eh, no edit function...

I'm not very experienced with that stuff, but actually I'm guessing it's not Xorg's problem, but something further down, on the driver level. Whatever I try to change in my xorg.conf, the tilting function of the wheel always has the same button codes as the two thumb buttons.
Have the same issue with Logitech MX400 and MX620.

Linux seems to get around this with the "HWHEELRelativeAxisButtons" option for its "evdev" mouse driver: https://help.ubuntu.com/community/Logitech_MX610
Reply With Quote
  #7  
Old March 1st, 2012, 21:23
rayne rayne is offline
Junior Member
 
Join Date: Feb 2012
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Is it possible to use a different input mouse driver for Xorg under FreeBSD? Such as evdev for linux: http://www.x.org/archive/X11R7.5/doc...4/evdev.4.html
Reply With Quote
  #8  
Old March 2nd, 2012, 08:30
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,844
Thanks: 48
Thanked 2,060 Times in 1,890 Posts
Default

Quote:
Originally Posted by rayne View Post
evdev is strictly Linux.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #9  
Old March 5th, 2012, 07:35
rayne rayne is offline
Junior Member
 
Join Date: Feb 2012
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Fwiw,

Mouse: Logitech MX400 Performance Laser Mouse (USB)

HTML Code:
Action         Button #

Left Click     1
Right Click    2
Middle Click   3
Scroll Up      4
Scroll Down    5
Tilt Left      6
Tilt Right     7
Thumb Down     8
Thumb Up       9
Xorg: Overrides button 6 with 8 and overrides button 7 with 9

Tried xmodmap, imwheel, xbindkeys. But these do not fix override issue.

Don't think there is any way around this without adjusting driver/protocol source code.

Last edited by DutchDaemon; March 6th, 2012 at 00:26.
Reply With Quote
  #10  
Old March 8th, 2012, 00:07
rayne rayne is offline
Junior Member
 
Join Date: Feb 2012
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by SirDice View Post
evdev is strictly Linux.
Is it feasible through FreeBSD's "Linux Binary Compatibility" per http://www.freebsd.org/doc/en_US.ISO...linuxemu.html?
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] Logitech RX300 mouse, additional buttons Shura Peripheral Hardware 5 March 18th, 2011 08:12
[Solved] Xorg mouse test works, but KDE4 mouse fails tom-pele X.Org 1 May 11th, 2009 17:24
Partitions not being recognized properly? murias Installing & Upgrading 2 February 11th, 2009 02:04
The mouse is not recognized on FreeBSD 7.1 corone Peripheral Hardware 7 February 4th, 2009 16:56


All times are GMT +1. The time now is 23:56.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0