LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   logitech marble mouse. please help....tried and tried (https://www.linuxquestions.org/questions/linux-hardware-18/logitech-marble-mouse-please-help-tried-and-tried-358693/)

byen 08-30-2005 10:31 PM

logitech marble mouse. please help....tried and tried
 
Hey Guys, Im a relative noob as far as configuring is concerned so please bear with me....I recently purchased a Logitech Marble Mouse (it is a trackball) for use with my laptop. I have not been able to get it working in the same ways it functions in
Windows.

http://www.logitech.com/index.cfm/pr...CONTENTID=5003

The normal behavior of the mouse is as follows:
Button 1: Large left-click button.
Button 2: Left-of-center smaller button for scrolling 3 lines DOWN
Button 3: Right-of center smaller button for scrolling 3 lines UP
Button 4: Large right-click button (on right)
Button 1 + Button 4: enable scrolling mode; scroll rate/direction depends on cursor's deviation from center

I've searched Google and messed with my /etc/X11/xorg.conf file countless times. I've not found one catch-all solution for getting this mouse/trackball working; each person who claims to have gotten it working has done it a different way.

Can someone, who has gotten this trackball to work, post their xorg.conf file? How do I assign each individual mouse button a separate function? How do I get Buttons 2 and 3 to enable "scrolling mode" (something to do with "ChordButton")?

here is the mouse part of my Xorg:

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"

here is the link of what my mousey looky likey....
http://www.logitech.com/index.cfm/pr...CONTENTID=5003
If someone is using the same...can you please post your Xorg-mouse please ...thanks guys.

infinity42 08-31-2005 08:45 AM

I use a marble mouse all the time, they're great aren't they? I don't have it set it up quite like you want it, but i'll post my conf to give you some pointers.
Code:

Section "InputDevice"
        Identifier  "Trackball"
        Driver      "mouse"
        Option      "Protocol" "ImPS/2"
        Option      "Device" "/dev/input/mouse0"
        Option      "Emulate3Buttons"
        Option      "Emulate3Timeout" "50"
        Option      "ChordMiddle"
        Option      "EmulateWheel" "True"
        Option      "EmulateWheelButton" "2"
EndSection

This makes the ball act like a scroll wheel whilst you hold down the left little button. The big left and right buttons are left and right buttons. Press both big buttons at once to get middle mouse. The right little button currently does the same as the big right button. I will probably change it once I think of something to use it for.

Hope that helps

byen 08-31-2005 10:45 AM

thank you for the reply. And yes...they are so good....im suprised...its not that popular...
Ok.I tried pasting your data in my Xorg and when it boots up it keeps going to the diagnostic screen and i have to copy by backup Xorg file to get it to boot properly again..am i doing something wrong?
once again thank you for your time.

infinity42 08-31-2005 01:02 PM

Make sure that you change the 'device' and 'Indetifier' to the same as what it is in your original xorg.conf. Also make sure that you don't leave two configurations for the trackball in at once. So if your original device and identifier where '/dev/mouse0' and 'mouse0' repectively, the new config would be:
Code:

Section "InputDevice"
        Identifier  "mouse0"
        Driver      "mouse"
        Option      "Protocol" "ImPS/2"
        Option      "Device" "/dev/mouse0"
        Option      "Emulate3Buttons"
        Option      "Emulate3Timeout" "50"
        Option      "ChordMiddle"
        Option      "EmulateWheel" "True"
        Option      "EmulateWheelButton" "2"
EndSection

Hope that helps

xaser 09-21-2005 05:40 PM

Hi!
First of all thank you all guys, I use this post and could made work my marble very fine, in fact, reading some more,I found a use for the right little button that infinity42 didnt use, that seems to me very usefull... I assigned it to a "lock" function over the big left (selector) button so, If lock it I could move selection in a very confortable way without need to maintain pressed the big left button while I do the movement... for me is a good addition to the excelent setup that was suggested in the first posts...
Below is a copy of my xfree config section that is already working... check that paste it and change the device for your machine's mouse hardware settings...

Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Buttons" "5"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
Option "ChordMiddle" "True"
Option "EmulateWheel" "True"
Option "EmulateWheelButton" "4"
Option "DragLockButtons" "5 1"
EndSection


Best Regards from Costa Rica! :)


All times are GMT -5. The time now is 05:04 PM.