Mad Catz RAT7 not working in xorg

Peter Hutterer peter.hutterer at who-t.net
Wed Jan 8 02:47:33 PST 2014


On Tue, Jan 07, 2014 at 08:19:38PM +0100, Christoph Mathys wrote:
> I've got a RAT7 mouse and found that it locks itself into a window
> (see for example [1] for much more details). Long story short: Every
> user of this mouse needs to add a fragment to the xorg-config to
> make this mouse work. The manufacturer of this POC is apparantly
> also not willing to do anything to get this mouse running on linux
> (according to [2])
> 
> At least on Ubuntu I found some quirk files for certain hardware, so
> I thought maybe we can start something like that for this product
> too. Sadly, they seem to change their USB ID and Product string
> every once in a while, but the following config works for my current
> edition of this mouse (Xorg 7.6 on Ubuntu 12.04):
> 
> $ cat /usr/share/X11/xorg.conf.d/50-madcatz-quirks.conf
> Section "InputClass"
>         Identifier "Mad Catz Inc. R.A.T. 7"
>         MatchProduct "Mad Catz Mad Catz R.A.T.7 Mouse"
>         MatchIsPointer "true"
>         MatchDevicePath "/dev/input/event*"
>         Driver "evdev"
>         Option "Buttons" "17"
>         Option "ButtonMapping" "1 2 3 4 5 0 0 8 9 7 6 12 0 0 0 16 17"
>         Option "ZAxisMapping" "4 5 6 7"
> EndSection

we have a quirks file that's provided with the server, I can add this entry
to it.  Please file a bug (just so we have a easy permanent reference),
assign it to me and I get this into the file.

please also attach you evtest output for the device and annotate which
button generates which keycode.

as for the snippet: you can drop all but Identifier, MatchProduct, and
ButtonMapping. the other options are superfluous or not even supported anyay.

Cheers,
   Peter


> 
> This of course only works for my current mouse, but if you should
> decide to add this quirk to xorg, at least my future me does not
> need to worry about it again :).
> 
> [1] https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/615892/comments/13
> 
> [2] https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/615892/comments/37
> 
> Thanks!
> Christoph
> 
> PS: Please CC as I'm not on the list
> _______________________________________________
> xorg at lists.x.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.x.org/mailman/listinfo/xorg
> Your subscription address: %(user_address)s
> 


More information about the xorg mailing list