Razer DP + Linux *UPDATED*

Ok, the chances that I will find a solution from here are slim and none, but I guess asking wouldnt hurt.

Since I bought Razer Diamondback, the mouse settings have been "wrong" as in 3 button mouse. Mouse1/2/3/UP/DOWN work correctly, but righthandside buttons are up/down too, and leftsidebuttons are either doing nothing, or acting as bad mouse1 (in IRC only though 0_0).

So, today when I finally had some time to config it, it googled some bits and found this and modified it accordingly:

To xorg.conf

QuoteSection "InputDevice"
Driver "mouse"
Identifier "Mouse[1]"
Option "Buttons" "9"
Option "Device" "/dev/input/mice"
Option "Name" "Razer Diamondback Optical Mouse"
Option "Protocol" "explorerps/2"
Option "Resolution" "800"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "6 7"
EndSection


I have also tried setting "Buttons" to 7.

And to xinitrc

Quotexmodmap -e "pointer = 1 2 3 6 7 4 5 8 9"


Now it SHOULD be working correctly, but it isnt. It is functioning exactly the same as before. If I fiddle around Buttons and ZAxismapping, I can get it to work poorly, with sidebuttons correctly, but mousewheel gets screwed up.

Also if pointer is 1 2 3 4 5 6 7 8 9 , it thinks that MWHEELDOWN and MWHEELUP are ctrl+left/right on Firefox (as in forward/backwards in history).

If your Razer DP is working like it should, please paste your xorg.conf mouse settings and ofc the possible extra settings you have done. If you notice that theres something wrong in there, speak up also.

PS. After talking to TosspoT, every "Get Windows/Razer ist ein bad mouse"-commenter gets a permanent ban to Crossfire, and quite possibly to the internets.

Thank you and good day.

UPDATE
Solved this one by myself, so it means ME > ET-SCENE.
Thanks for t0b for additional help, but I used other way anyway!

FOR THE INTERESTED
QuoteSection "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "6 7"
Option "Emulate3Buttons" "false"
EndSection


And to a new file Xmodmap placed in /etc/X11
Quotepointer = 1 2 3 8 9 4 5 7 6
Comments
12
if its a recent version of xorg u could try to change

Option "Protocol" "explorerps/2"
to
Driver "evdev"

then play with the xmodmap-command to find out the right values for it. also helpfull is the command "xev". it gives u a little window u can click and spams the console with the events triggered by the mouse.
that is basic knowledge any linuxuser has. :p
imho it'S the other way around. Windows users are stupid.
Parent
And thats a FACT!
Parent
i use linux 2 but t0b learned me alot on linux thats why :) he even helped me fixing my installation :D
Parent
Hmm i only use mouse 1,2 and 3 and mousewheel up and down. the rest doesnt work for me either but i dont care zlol!
you can edit it :s
Parent
Back to top