LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack Search this Thread
Old 07-20-2007, 02:24 AM   #1
monkiidansu
Member
 
Registered: Sep 2005
Posts: 66

Rep: Reputation: 15
8-button Logitech VX Revolution


I just recently purchased the Logitech VX Revolution wireless mouse, and although the basic buttons (left click, right click, mouse wheel up, mouse wheel down, middle click) work, none of the other buttons work. I know it has to do with drivers/xorg.conf setup, but I can't seem to find anything that works for me in the way of a walkthrough or anything of that nature. Does anyone have experience with this mouse and/or know how to get the other buttons work?

Here is a link to the mouse, so you can see the layout, etc.
 
Old 07-20-2007, 03:23 PM   #2
monkiidansu
Member
 
Registered: Sep 2005
Posts: 66

Original Poster
Rep: Reputation: 15
Someone has got to have experience with this mouse :-\
 
Old 07-20-2007, 04:39 PM   #3
monkiidansu
Member
 
Registered: Sep 2005
Posts: 66

Original Poster
Rep: Reputation: 15
Bit of an update. I was able to get the 2 thumb buttons to work, and somewhat the search button, but I still cannot get my left-right mouse wheel functions to work, nor zoom. xev doesn't even recognize the events. Here is exactly what I have working:

Mouse button 1 (left click)
Mouse button 2 (middle click)
Mouse button 3 (right click)
Mouse button 4 (mouse-wheel up)
Mouse button 5 (mouse-wheel down)
Mouse button 6 (closer thumb button: 'go back one page' function in firefox)
Mouse button 7 (farther thumb button: 'go forward one page' function in firefox)
Search button next to the scroll wheel, but xev doesn't define a button number (nor am I able to bind it in any games, however I can bind it to a keyboard keybinding (I assume it's acting as though it's part of my keyboard)

Here is my relevant xorg.conf code:

Code:
Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "buttons" "10"
    Option         "ButtonMapping" "1 2 3 6 7 8 9 10"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mouse1
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection
Also, does anyone know how I can bind the search button to a shell script? Obviously I would have to figure out the key map first, but any help on this matter would be appreciated.

Last edited by monkiidansu; 07-20-2007 at 04:41 PM.
 
Old 07-20-2007, 05:36 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 57
I've got an LX7 that I have everything working on here is what I use in my xorg.conf.

Code:
#Logitech LX7 Cordless Optical
Section "InputDevice"
        Identifier      "Mouse0"
        Driver          "evdev"
        Option          "CorePointer"
        Option          "Name"                  "Logitech USB RECEIVER"
        Option          "Emulate3Buttons"       "true"
        Option          "Resolution"            "1200"
EndSection
To get the Name option so your mouse will stay the same at all times look here.

Code:
cat /proc/bus/input/devices
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input0
U: Uniq=
H: Handlers=kbd event0
B: EV=120013
B: KEY=402000000 3802078f840d001 feffffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=7

I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/class/input/input1
U: Uniq=
H: Handlers=kbd event1
B: EV=40001
B: SND=6

I: Bus=0003 Vendor=046d Product=c50e Version=0111
N: Name="Logitech USB RECEIVER"                                   <------------------------------- this here is needed
P: Phys=usb-0000:00:1a.0-2/input0
S: Sysfs=/class/input/input2
U: Uniq=
H: Handlers=mouse0 event2
B: EV=20007
B: KEY=ffff0000 0 0 0 0
B: REL=143
B: LED=ff00
Now to have it work you need the xbindkeys installed and have created a ~/.xbindkeysrc with something like this.

Code:
cat .xbindkeysrc
"xvkbd -xsendevent -text "\[Alt_L]\[Left]""
b:8
"xvkbd -xsendevent -text "\[Alt_L]\[Right]""
b:9
"xvkbd -xsendevent -text "\[Right]""
b:6
"xvkbd -xsendevent -text "\[Left]""
b:7
Now if yours is like mine then you need a xmodmap command to switch around the buttons to make the side to side work properly.

Code:
xmodmap -e "pointer = 1 2 3 4 5 7 6 8 9 10 11 12 13 14 15 16 17 18 19 20"
This would be the 7 6 in the line for some strange reason X thinks it has 20 buttons so I just put the rest in there to stop it from complaining about only the 9 I wanted to assign. I have these in my .bashrc so that everthing is started when I go into X.

Code:
xbindkeys
xmodmap -e "pointer = 1 2 3 4 5 7 6 8 9 10 11 12 13 14 15 16 17 18 19 20"
 
Old 07-20-2007, 05:59 PM   #5
monkiidansu
Member
 
Registered: Sep 2005
Posts: 66

Original Poster
Rep: Reputation: 15
None of that worked for me, though I did find out that x thinks I have 16 buttons (instead of the 20 like yours). One thing though: The evdev driver, where do you get that? If I try that driver, x wont start.
 
Old 07-20-2007, 07:15 PM   #6
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 57
Quote:
Originally Posted by monkiidansu
None of that worked for me, though I did find out that x thinks I have 16 buttons (instead of the 20 like yours). One thing though: The evdev driver, where do you get that? If I try that driver, x wont start.
Not sure for Fedora but in Debian you need the xserver-xorg-input-evdev package installed maybe it is named similar in your packages.
 
Old 07-20-2007, 07:20 PM   #7
monkiidansu
Member
 
Registered: Sep 2005
Posts: 66

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by HappyTux
Not sure for Fedora but in Debian you need the xserver-xorg-input-evdev package installed maybe it is named similar in your packages.
.deb is all I've ever seen for that file, so idk about it for fedora.

EDIT: I found this, but it says it's already installed. Like I said, when i set the driver to evdev, x wont start, so idk what's up.

Last edited by monkiidansu; 07-20-2007 at 07:22 PM.
 
Old 07-24-2007, 06:05 PM   #8
monkiidansu
Member
 
Registered: Sep 2005
Posts: 66

Original Poster
Rep: Reputation: 15
Yeah, evdev doesn't work for me at all...
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help mapping thumb buttons on Logitech MX Revolution mouse legalbeagle Linux - Hardware 1 06-17-2007 08:09 PM
Logitech MX Revolution in xorg Sevok Linux - Hardware 4 12-19-2006 10:49 PM
Slack 11.0 -- Logitech MX Revolution problem Sevok Slackware 3 10-08-2006 07:35 PM
Logitech MX Revolution toshi_satlite_p35 Linux - Hardware 1 10-03-2006 01:10 PM
No Button 4 - Logitech Trackball Tim Johnson Linux - Software 0 10-15-2004 10:46 AM


All times are GMT -5. The time now is 06:34 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration