Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Logitech mx5000 Cordless Desktop without evdev HOWTO
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
XenoTerraCide
Veteran
Veteran


Joined: 18 Jan 2004
Posts: 1418
Location: MI, USA

PostPosted: Tue Jan 24, 2006 6:37 pm    Post subject: Logitech mx5000 Cordless Desktop without evdev HOWTO Reply with quote

To the Best of my knowledge horizontal scrolling does not work without evdev. If I find out otherwise I'll put it here.

Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2[/topic]
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
Texts. A copy of the license can be found at http://www.gnu.org/licenses/fdl.html


OVERVIEW

I have searched for 2 -3 days for a working configuration of the mx1000 without evdev... and I have finally managed to put one together. I wanted the forward and back button's, and the vertical scroll to work. I haven't configured any of the other button's on the mouse yet. I may add those later as I have time. I will also try to explain how to get the multimedia keys on the keyboard working.

required application's to get this working
Code:
x11-base/xorg-x11-6.8.2.*
x11-misc/xbindkeys
x11-misc/xvkbd
x11-misc/hotkeys

Part I: mx1000 mouse

The First thing we need to do to get the mx1000 working is edit our /etc/X11/xorg.conf
Code:

# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier  "Mouse0" #this doesn't matter other than it has to match what is listed in Section "ServerLayout"
    Driver      "mouse"
    Option "Protocol"    "auto"
    Option "Device"      "/dev/input/mice" #if for some reason your still using devfs this will probably be /dev/mouse0
    Option "Buttons"     "12"
    Option "ZAxisMapping" "11 12"
    Option "CorePointer" #may not be needed I'm not sure
    Option "Resolution" "800"

that should be it for the xorg.conf, now restart X. to do this exit your window manager. If you have a login manager press ctrl+alt+backspace if there are any problem's with your xorg configuration you will see them now. There shouldn't be however, so log back in.

now we need to create a .xbindkeysrc file in our home directory and insert this code
Code:
# back and forward
"xvkbd -xsendevent -text "\[Alt_L]\[Left]""
m:0x10 + b:8
"xvkbd -xsendevent -text "\[Alt_L]\[Right]""
m:0x10 + b:9

# full screen
"xvkbd -xsendevent -text "\[F11]""
m:0x10 + b:10

# the up and down by the wheel pages up and down
"xvkbd -xsendevent -text "\[Page_Up]""
m:0x10 + b:11
"xvkbd -xsendevent -text "\[Page_Down]""
m:0x10 + b:12

# Left and Right on the wheel switch tabs
"xvkbd -xsendevent -text "\[Control_L]\[Page_Up]""
m:0x10 + b:6
"xvkbd -xsendevent -text "\[Control_L]\[Page_Down]""
m:0x10 + b:7
I got this from someone else on this forum (another mx1000 thread)and haven't edited it yet. but I don't think it all works for me. I would still like to thank them.

now we need to create a .Xmodmap file in our home directory and insert this code
Code:
pointer = 1 2 3 8 9 11 12 10 6 7 4 5
(note: I have seen numerous pointer = * configuration's this is the only one that I got my back and forward button's working with)

now let's see if this is all going to work...
Code:
xbindkeys
xmodmap -e "pointer = 1 2 3 8 9 11 12 10 6 7 4 5"
now fire up a web browser or something and see if it works.

to keep it working after you log out you should add
Code:
xbindkeys &
to one of your startup files. I added it to .fluxbox/startup but you should add it to the startup file for your window manager. to find out more about where to add it search for loading application's at start in (insert window manager).

Part II: mx5000 Keyboard

now I'm not sure what all works here and you probably want to do some configuration. but to get multimedia working on this keyboard is
Code:
hotkeys -t itouch
and to keep it working on startup add
Code:
hotkeys -t itouch &
to the same startup file you put xbindkeys & in. I know volume and some of the media keys work but I'm not sure about things like zoom or the keys at the top of the board. I'll probably do more work on this at a later date... I hope this helped someone.
_________________
I don't hang out here anymore, try asking on http://unix.stackexchange.com/ if you want my help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum