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