Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] xorg-server mouse and keyboard woes
Date: Fri, 10 Jul 2009 16:02:53
Message-Id: 4A5765F9.7060408@gmail.com
In Reply to: Re: [gentoo-user] xorg-server mouse and keyboard woes by Helmut Jarausch
1 Helmut Jarausch wrote:
2 > On 10 Jul, Dale wrote:
3 >
4 >
5 >> Same thing here. I just tried again to get hal, evdev and all his
6 >> "drive me crazy" friends to work, it doesn't. It appears to me that hal
7 >> will be disabled in package.use for xorg-server FOREVER. I'm sick of
8 >> messing with evdev. I'm waiting on something better to come along. I
9 >> bet someone does come up with something better too. This has been a
10 >> PITA since it came out.
11 >>
12 >
13 > Yes, I did have some problems with xorg + hal. But now it's working even
14 > better with hal than without (e.g. I had problems with using my mouse
15 > and my Wacom tablet simultaneously).
16 >
17 > Now I'm running xorg-server-1.6.2
18 >
19 > The following steps seem to be essential:
20 >
21 > emerge everything X-related with hal (I've put it into /etc/make.conf)
22 >
23 > Let hald start at boot time (very important)
24 > i.e. rc-update add hald boot
25 >
26 > Make a minimal xorg.conf (no drivers for any input device)
27 > the first lines being
28 >
29 > Section "ServerLayout"
30 > Identifier "Default"
31 > Screen 0 "Screen 0" 0 0
32 > # Option "AllowEmptyInput" "false"
33 > Option "AIGLX" "on"
34 > EndSection
35 >
36 > Section "ServerFlags"
37 > # Option "DontZap" "true"
38 > Option "AutoAddDevices" "on"
39 > Option "AutoEnableDevices" "on"
40 > Option "AllowEmptyInput" "on"
41 > EndSection
42 >
43 > Section "Extensions"
44 > Option "Composite" "On"
45 > EndSection
46 > .......
47 >
48 > In /etc/make.conf (here)
49 > INPUT_DEVICES="keyboard mouse evdev wacom"
50 >
51 > add the file /etc/hal/fdi/policy/x11-input.fdi
52 >
53 > here:
54 > <?xml version="1.0" encoding="ISO-8859-1"?>
55 > <deviceinfo version="0.2">
56 > <device>
57 > <match key="info.capabilities" contains="input.keyboard">
58 > <append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
59 > <merge key="input.x11_options.XkbModel" type="string">microsoft</merge>
60 > <merge key="input.x11_options.XkbRules" type="string">xorg</merge>
61 > <merge key="input.x11_options.XkbLayout" type="string">en_US</merge>
62 > <merge key="input.xkb.layout" type="string">en_US</merge>
63 > <merge key="input.xkb.model" type="string">microsoft</merge>
64 > <merge key="input.xkb.rules" type="string">xorg</merge>
65 > </match>
66 >
67 > <match key="info.capabilities" contains="input.mouse">
68 > <merge key="input.x11_driver" type="string">evdev</merge>
69 > <merge key="input.x11_options.WHEELRelativeAxisButtons" type="string">7 6</merge>
70 > <merge key="input.x11_options.HWHEELRelativeAxisButtons" type="string">5 4</merge>
71 > <merge key="input.x11_options.Buttons" type="int">8</merge>
72 > <merge key="input.x11_options.ZAxisMapping" type="string">4 5</merge>
73 > <merge key="input.x11_options.Sensitivity" type="int">30</merge>
74 > <merge key="input.x11_options.CorePointer" type="string">true</merge>
75 > </match>
76 >
77 > </device>
78 > </deviceinfo>
79 >
80 > Very import when upgrading to 1.6.*
81 > re-emerge everything that is installed from x11-drivers/*
82 >
83 > Now, you should have the best X11 ever (note, I'm using the
84 > bleeding-edge stuff (unstable isn't the wright word)
85 > i.e. I have
86 > ACCEPT_KEYWORDS="~amd64" (or ~x86 on a 32 bits machine)
87 >
88 > Helmut.
89 >
90 >
91 >
92 >
93
94 I printed this but I'm not sure I want to even try this mess again. I'm
95 to the point that until what I have doesn't work anymore, I'm sticking
96 with what does. This has left a bad taste in my mouth. Tasted like a
97 skunk that died about 4 days ago, in the hot sun I might add. Yep, it
98 is ripe.
99
100 Dale
101
102 :-) :-)