LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 03-30-2016, 06:08 PM   #1
cabman46
Member
 
Registered: Mar 2010
Posts: 49

Rep: Reputation: 16
Unhappy mouse right side buttons.


Hi, I'm presently running Mint 17.3 and having problems with Mint recognizing the mouse right side buttons. This morning I installed a Zowie ZA13 gaming mouse. I used xinput then xev from the terminal to see if the side buttons are recognized and they are NOT. I had a Razer Copperhead mouse installed previously with the exact same problem. I'm left handed and really need to use these side buttons for back and forward functions. Is this a known Linux problem or is there some way to instruct Mint to see these buttons?

Thanks so much.
 
Old 03-30-2016, 06:44 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,337
Blog Entries: 28

Rep: Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144
I think that's what's call a "seven button mouse" (a standard mouse with scroll wheel is called a "five button mouse," with the wheel accounting for three of them: scroll forward, scroll backward, and click).

This article on the Arch wiki, always an excellent reference, should be a good starting point:
https://wiki.archlinux.org/index.php...uttons_Working
 
Old 03-30-2016, 07:40 PM   #3
cabman46
Member
 
Registered: Mar 2010
Posts: 49

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by frankbell View Post
I think that's what's call a "seven button mouse" (a standard mouse with scroll wheel is called a "five button mouse," with the wheel accounting for three of them: scroll forward, scroll backward, and click).

This article on the Arch wiki, always an excellent reference, should be a good starting point:
https://wiki.archlinux.org/index.php...uttons_Working
Hi Frank, Thanks for the reply. In this case I believe my mouse is a 9 button mouse then. It has the standard 3 buttons on top, left click, right click, and the scroll wheel and 2 side buttons on EACH side totalling 9. I should have been more specific. I need the right side buttons to be used as back page and forward page. Not a scroll function. Alt-left arrow, alt, right arrow. Back and forward. My specific problem is Linux does NOT see these buttons. Is there a generic (or specific) mouse driver I could use that would allow Linux to see these buttons?
Thanks
 
Old 03-30-2016, 08:28 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,337
Blog Entries: 28

Rep: Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144
I have never had to deal with that issue.

A search for "linux 9 button mouse" may turn up something. I just tried it, but I didn't feel competent to pick a specific link to recommend.
 
Old 03-30-2016, 08:37 PM   #5
cabman46
Member
 
Registered: Mar 2010
Posts: 49

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by frankbell View Post
I have never had to deal with that issue.

A search for "linux 9 button mouse" may turn up something. I just tried it, but I didn't feel competent to pick a specific link to recommend.
Thanks Frank. It works with Windows and I'll be damned if I will go back. There has to be a way.
 
Old 03-30-2016, 08:47 PM   #6
albinard
Member
 
Registered: Jan 2011
Location: New Mexico
Distribution: Xubuntu Core
Posts: 185

Rep: Reputation: 59
Not sure this will help, but if you
Code:
sudo apt-get install evtest
then run evtest, it will give you the scancodes, which are identifiers of the kernel events caused by pressing the buttons. If they register there, probably responding with something like
Code:
Event: time 1435906588.943349, type 4 (EV_MSC), code 4 (MSC_SCAN), value 3b
you will know the buttons are identified, but that the present kernel driver doesn't recognize them.

I don't know how to translate scancodes into keycodes (or button codes), but this might help:
https://help.ubuntu.com/search.html?...29982892832976 %3Ae2vwumte3fq&ie=UTF-8&q=keycodes+and+scancodes&sa=Search
 
Old 03-31-2016, 01:24 PM   #7
cabman46
Member
 
Registered: Mar 2010
Posts: 49

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by albinard View Post
Not sure this will help, but if you
Code:
sudo apt-get install evtest
then run evtest, it will give you the scancodes, which are identifiers of the kernel events caused by pressing the buttons. If they register there, probably responding with something like
Code:
Event: time 1435906588.943349, type 4 (EV_MSC), code 4 (MSC_SCAN), value 3b
you will know the buttons are identified, but that the present kernel driver doesn't recognize them.

I don't know how to translate scancodes into keycodes (or button codes), but this might help:
https://help.ubuntu.com/search.html?...29982892832976 %3Ae2vwumte3fq&ie=UTF-8&q=keycodes+and+scancodes&sa=Search
I tried what you suggested and the 2 right side buttons are NOT recognized. Bummer, I guess I'm SOL to find a mouse to do what I need? I have a couple spare PC's I can install other Linux systems on and try the mouse on them to see if it's a kernel problem. If I find one that supports the side buttons, I will get back and post it.

Thanks all for your help.
 
  


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
enabling side mouse buttons in Redhat Special K Linux - Hardware 1 03-06-2015 11:40 PM
Mouse side buttons alexandroos Slackware 4 05-29-2008 04:18 PM
Enable side mouse buttons openSuse 10.3 dough Linux - Hardware 2 11-14-2007 02:38 PM
ps/2 mouse with scroll & side buttons... is it possible? elzmaddy Linux - Hardware 3 12-27-2005 04:48 PM
intelli mouse side buttons Xios SUSE / openSUSE 1 02-12-2005 10:38 AM

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

All times are GMT -5. The time now is 09:07 AM.

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