TobyInkster.co.uk

Logitech Marble Mouse

Kernel 2.4.x

Connected by PS/2 (not USB).

XF86Config

First things first, here is the correct settings for X:

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "MouseManPlusPS/2"
    Option "Device" "/dev/psaux"
    Option "Buttons" "5"
    Option "Emulate3Buttons"
    Option "Emulate3Timeout" "50"
EndSection

Result

This will set up the following behaviour:

Large left button
Acts as "button 1", a standard left click.
Small left button
Acts as "button 4", equivalent to a small scroll upwards on a scroll mouse.
Small right button
Acts as "button 5", equivalent to a small scroll downwards on a scroll mouse.
Large right button
Acts as "button 3", a standard right click.
Chord of both large buttons
Acts as "button 2", a standard middle click.

Kernel 2.6.x

Connected by USB. Early 2.6.x kernels don't seem to have supported this device very well. I couldn't get it working with 2.6.3, but it works fine in 2.6.8. Not sure at what point it started working.

XF86Config

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/mouse"
    Option "Emulate3Buttons"
    Option "Emulate3Timeout" "50"
    Option "ChordMiddle"
    Option "ZAxisMapping" "6 7"
EndSection

Result

Result is as above, except that the smaller buttons act as scroll-left and scroll-right instead of scroll-up and scroll-down.

Xmodmap

Running the following when you first log in to X11 will fix the scrolling to the normal up/down behaviour.

xmodmap -e "pointer = 1 2 3 4 5 6 7"

You can put it in your xinitrc or whatever.

Google Search

Article Details

Author:Toby Inkster
Licence:All rights reserved
Created:Sat, 27 Nov 2004
Status:Archived
Permalink:Permalink

Blogroll

Here are some other sites. Some might be good; some might be rubbish. You decide.