Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 04-14-2014, 12:23 AM   #1
Registered: Apr 2014
Posts: 234

Rep: Reputation: Disabled
What's my device name; how to setup the 7 button+wheel configuration

Have attached a Kensington Orbit Optical Trackball to my 13.37 OS.
I ran xinput --list --long hoping to find my device's name but got:
Virtual Core Pointer, Virtual Core XTEST Pointer, and ImPS/2 Generic Wheel Mouse. The trackball has 2 physical buttons. Somehow I got xinput --list-props to divulge the buttons: left, middle, right, up, down, horizontal left and horizontal right. But forgot what I used and unable to find it in "history".
What is this device's name???
Note: I ran lspci, lsusb, & lsdev but could not find any device that looked like the trackball, i.e. description or mfgr:devid.
I am looking for a way to get Xinput to give me a middle buttoon, and horizontal and vertical button+ball. Can someone provide this?
BTW it is hooked up to PS/2 because I need all the currently available USB slots.
Isn't it amazing that a company can provide a cd with M$ & RT drivers and in 21 languages in 32 pages say congratulations if U have a problem reboot and try again but can't be bothered to print 7-10 Linux commands about the core of their product? They claim telephone support but could not find a phone number for it. Must have been lost in translation. LOL Their web support didn't look that great either.
Note: I ran lspci, lsusb, lsdev but could not find anything with mfgr:dev number or description.

Last edited by nix84; 04-14-2014 at 03:25 AM.
Old 04-15-2014, 02:32 PM   #2
LQ Newbie
Registered: Jul 2012
Distribution: ubuntu
Posts: 25

Rep: Reputation: Disabled
5 light settings accordingly. The rest - you manually assigning function. Use the x-mouse, and "sudo lsusb -v" commands you...
Old 04-16-2014, 12:36 AM   #3
Registered: Apr 2014
Posts: 234

Original Poster
Rep: Reputation: Disabled
I found thru xinput --list the master and 2 slaves with their id.
There is some question about using the Master as a device name as other Kensington's use the ImPS/2 perhaps they too were connected via PS/2. This is quite uncertain. I have created a script which will allow me to change the device name and will experiment with each device name. My plan is to try with creating the middle button first then after that try vertical and horizontal scrolling with the ball+button.
BTW using the above command then xinput --list-prop <dev> (which allows use of id or device name for <dev>) was helpful
Found the button numbers using "xev".
Here is script:

DEVNAM=4       # Use dev id (2, 4, 11) or name

# Enable Vertical Scrolling
# =========================
#xinput set-prop "$DEVNAM" "Evdev Wheel Emulation" 1
#xinput set-prop "$DEVNAM" "Evdev Wheel Emulation Button" 2
#xinput set-prop "$DEVNAM" "Evdev Wheel Emulation Timeout" 200

# Enable Horizontal Scrolling (addition to vertical)
# ==================================================
# The orbit optical has buttons 1 & 3 no clue as to what to use for ball
#xinput set-prop "$DEVNAM" "Evdev Wheel Emulation Axes" 2 try 4 5

After further testing it appears what is in the DEVNAM is irrelevant.  I have an emulated middle button using buttons 1&2 press simultaneously which turns out to be not too bad.
The only vertical scrolling is if one points at the scroll handle and presses button 1 (left) when one is provided else was not able to just point anywhere for this action.

# Enable Middle Button Emulation (uses left+right button click)
# To disable set it to 0 instead of 1.
# =============================================================
xinput set-prop "$DEVNAM" "Evdev Middle Button Emulation" 1
xinput set-prop "$DEVNAM" "Evdev Middle Button Timeout" 50

Last edited by nix84; 04-16-2014 at 03:07 AM.
1 members found this post helpful.


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
3 button with scroll wheel Hern_28 Slackware 3 03-17-2007 01:55 PM
Anybody know a serious 3-button wheel mouse? schnexel Linux - Hardware 2 06-19-2006 09:06 AM
wheel button is not working hiperactive Linux - Newbie 2 09-25-2005 06:15 AM
mouse wheel like right button??? Relja Linux - General 0 02-24-2003 03:38 PM
scroll wheel and 3 button emulation DVation Linux - Hardware 2 11-08-2002 11:59 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:35 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration