Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
multi-mouse with multi-buttons setup (mx1000)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
CB2206
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2003
Posts: 127
Location: NRW

PostPosted: Sat Jan 22, 2005 3:19 pm    Post subject: multi-mouse with multi-buttons setup (mx1000) Reply with quote

hi,

i cannot count anymore the threads, howtos, tutorials, other resources on the net i read to be able to get my mice working completely with my inspiron 8600 notebook.

i got the following setup:
- notebook (dell inspiron 8600) with touchpad and glidepoint
- a logitech mx1000 (usb, 12 buttons)
- a logitech laptop mouse (usb, 5 buttons)

the goal:
to be able to use all mice with hopefully all buttons working.

my current xorg.conf sections look like this:
Code:

Section "InputDevice"
        Identifier      "Touchpad"
        Driver          "mouse"
        Option          "Protocol" "PS/2"
        Option          "Device" "/dev/psaux"
        Option          "Emulate3Buttons" "yes"
EndSection

Section "InputDevice"
        Identifier  "MX1000"
        Driver      "mouse"
        Option      "Protocol" "evdev"
        Option      "Device" "/dev/input/event2" #
        Option      "Buttons" "12"
        Option      "ZAxisMapping" "11 12"
        Option      "Resolution" "800"
        Option      "SendCoreEvents"
EndSection

Section "InputDevice"
        Identifier  "LogLap"
        Driver      "mouse"
        Option      "Protocol" "ImPS/2"
        Option      "Device" "/dev/input/mouse1"
        Option      "ZAxisMapping" "4 5"
        Option      "SendCoreEvents"
EndSection

Section "ServerLayout"
    Identifier  "Server Layout"
    Screen "Screen0"
    InputDevice "Touchpad" "CorePointer"
    InputDevice "MX1000" "SendCoreEvents"
    InputDevice "LogLap" "SendCoreEvents"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection


this makes all mice basically work. that means:
- i can move the mouse pointer with the touchpad, the glidepoint, the mx1000 and the logitech notebook mouse at the same time.
- vertical scrolling works with both usb mice, but only one when both are connected at the same time.

what is not working:
- all other buttons of the mx1000
- horizontal scrolling with the mx1000
- the speed of all devices is different; the touchpad is really slow, the glidepoint's speed is ok, as well as the speed of the logitech notebook mouse and the mx1000 is damn fast.

when i try to use xmodmap with this setup to get more buttons working, i get this:
Code:

xmodmap -e "pointer = 1 2 3 6 7 8 9 10 11 12 4 5"
xmodmap:  commandline:0:  bad number of buttons, must have 3 instead of 12
xmodmap:  1 error encountered, aborting.

(the xmodmap command was suggested in several howtos)

so, this is what i want (in order of importance):
- get all buttons of the mx1000 working
- forward/backward functionality
- get horizontal scrolling of the mx1000 working
- setting normal mouse speed for all devices

plz, don't tell me to read the linux-gamerz howto etc, as i did and wasn't able to achieve the my goals.
i would be really happy if someone with a similar setup could post his configs or could help me in any other way to get this working.

thank you very much for any help!

[/b]
_________________
CB
Back to top
View user's profile Send private message
CB2206
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2003
Posts: 127
Location: NRW

PostPosted: Sat Jan 22, 2005 10:12 pm    Post subject: Reply with quote

bump *sry*
_________________
CB
Back to top
View user's profile Send private message
CB2206
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2003
Posts: 127
Location: NRW

PostPosted: Mon Jan 24, 2005 8:09 pm    Post subject: Reply with quote

ok, i tried this:

Code:

xsetpointer MX
xmodmap -e "pointer = 1 2 3 6 7 8 9 10 11 12 4 5"
xset m 1 1
xsetpointer LogLap
xset m 1 1
xsetpointer Touchpad
xset m 4 1
xbindkeys

Code:

# back and forward
"xvkbd -xsendevent -text "\[Alt_L]\[Left]""
m:0x10 + b:6
"xvkbd -xsendevent -text "\[Alt_L]\[Right]""
m:0x10 + b:7

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

# Left and Right on the wheel switch tabs
"xvkbd -xsendevent -text "\[Control_L]\[Page_Up]""
m:0x10 + b:11
"xvkbd -xsendevent -text "\[Control_L]\[Page_Down]""
m:0x10 + b:12


problems with this:
* it seems to be impossible to set the mouse speed per mouse
* on several buttons i get 2 events, these are:
** thumb button down (2 and 6)
** thumb button in the middle (application changer) (1 and 8)
** the scroll buttons (9 and 2 for up and 5 and 10 for down)
* forward e.g. in mozilla works, but the back button doesn't. i think this is because of the 2 button events i get on the back button
* the side scroll buttons only generate keycodes and not button events

can anyone help me?

thx!
_________________
CB
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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