Gentoo Archives: gentoo-user

From: Valmor de Almeida <val.gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] usb to ps2 adapter not working for left handed mouse
Date: Thu, 21 Jan 2010 15:36:18
Message-Id: 4B5873FD.8070404@gmail.com
1 Hello,
2
3 I am just trying to understand why my usb mouse does not work properly
4 when connected via a usb to ps2 adapter. I have in
5
6 /etc/hal/fdi/policy/10-x11-input.fdi
7
8 the following section
9
10 <match key="info.capabilities" contains="input.mouse">
11 <merge key="input.x11_driver" type="string">mouse</merge>
12 <!-- 20Jan10 left-handed mouse -->
13 <merge key="input.x11_options.ZAxisMapping" type="string">4 5 6
14 7</merge>
15 <merge key="input.x11_options.ButtonMapping" type="string">3 2
16 1</merge>
17 <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
18 string="Linux">
19 <merge key="input.x11_driver" type="string">evdev</merge>
20 </match>
21 </match>
22
23 which sets up a left-handed mouse. It works when the usb mouse is
24 plugged into the usb port but not when plugged into the ps2 port via the
25 adapter. The wheel works but the left and right buttons work in the
26 right handed mode.
27
28 Thanks for insights.
29
30 --
31 Valmor

Replies