1 |
On Sunday 14 November 2010 15:36:43 Grant Edwards wrote: |
2 |
> On 2010-11-14, Mick <michaelkintzios@×××××.com> wrote: |
3 |
> >> Before you go to great pains to get this working, you do know that hal |
4 |
> >> is checking out right? |
5 |
> |
6 |
> Yes, I knew that. Maybe I'll just live without the touchpad until HAL |
7 |
> goes away for good. |
8 |
> |
9 |
> My question is why did the Gentoo maintainers decide to use HAL |
10 |
> instead of xorg.conf? |
11 |
|
12 |
Because that's what upstream decided to do. You can still use your xorg.conf |
13 |
though - just remove any /etc/hal/fdi/policy/* files that you have created. |
14 |
|
15 |
> >> Even the person who wrote it realized the mess it was and it is dying |
16 |
> >> pretty soon. I think it is policykit or polkit or something to that |
17 |
> >> effect. If you want to start using that instead, it may save you |
18 |
> >> some headaches later on when it is no longer a option. |
19 |
> > |
20 |
> > As Dale suggests don't waste your time on hal and its fdi files. |
21 |
> > xorg 1.8.x will be going stable soon and that does away with hal |
22 |
> > configuration. I recommend that you unmask it and see if you can |
23 |
> > control your touchpad easier using an xorg.conf and evdev. However, |
24 |
> > the synaptics driver is there for a reason ... |
25 |
> > |
26 |
> > http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.8-upgrade-guide |
27 |
> > .xml |
28 |
> > |
29 |
> > BTW, if you want to remain with xorg 1.7.x then I recommend you try the |
30 |
> > following: |
31 |
> > |
32 |
> > 1. Add synaptics to your INPUT_DEVICES in /etc/make.conf - most often |
33 |
> > |
34 |
> > than not it will just work™ and no further adjustment of |
35 |
> > sensitivity is necessary. |
36 |
> |
37 |
> I did that, but the synaptics driver doesn't get used by default. Once |
38 |
> you've installed it, how do you get the server to use it? I think I |
39 |
> should abandon HAL and switch to xorg.conf. It's so much easier to |
40 |
> use. |
41 |
|
42 |
You may need to remerge x11-drivers/xf86-input-synaptics. Then restart xorg |
43 |
and check what happens with the touchpad in your Xorg.0.log. |
44 |
|
45 |
|
46 |
> > 2. Then run lshal to see if your touchpad is recognised. In my |
47 |
> > |
48 |
> > laptop (I use hal) it shows this: |
49 |
> >================================================== |
50 |
> > |
51 |
> > udi = '/org/freedesktop/Hal/devices/pci_8086_d132' |
52 |
> > |
53 |
> > info.parent = '/org/freedesktop/Hal/devices/computer' (string) |
54 |
> > info.product = 'Core Processor DMI' (string) |
55 |
> > info.category = 'input' (string) |
56 |
> > info.parent = |
57 |
> > '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port' |
58 |
> > |
59 |
> > (string) |
60 |
> > |
61 |
> > info.product = 'SynPS/2 Synaptics TouchPad' (string) |
62 |
> > info.subsystem = 'input' (string) |
63 |
> > info.udi = |
64 |
> > |
65 |
> > '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_logicaldev_in |
66 |
> > put' (string) |
67 |
> > |
68 |
> > input.device = '/dev/input/event6' (string) |
69 |
> > input.originating_device = |
70 |
> > '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port' (string) |
71 |
> > input.product = 'SynPS/2 Synaptics TouchPad' (string) |
72 |
> > input.x11_driver = 'synaptics' (string) |
73 |
> > input.x11_options.ClickButton1 = '1' (string) |
74 |
> > input.x11_options.HorizEdgeScroll = 'true' (string) |
75 |
> > input.x11_options.MaxTapMove = '2000' (string) |
76 |
> > input.x11_options.TapButton1 = '1' (string) |
77 |
> > input.x11_options.VertEdgeScroll = 'true' (string) |
78 |
> > linux.device_file = '/dev/input/event6' (string) |
79 |
> > linux.hotplug_type = 2 (0x2) (int) |
80 |
> > linux.subsystem = 'input' (string) |
81 |
> > linux.sysfs_path = |
82 |
> > '/sys/devices/platform/i8042/serio1/input/input6/event6' |
83 |
> > |
84 |
> > (string) |
85 |
> > |
86 |
> >================================================== |
87 |
> > |
88 |
> > In the info section above it tells me that touchpad is recognised. |
89 |
> > Looking into |
90 |
> > /usr/share/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi I see that |
91 |
> > by installing the synaptics driver a hal configuration file was |
92 |
> > created. |
93 |
> > |
94 |
> > Copy this to /etc/hal/fdi/policy/11-x11-synaptics.fdi (you can call |
95 |
> > it something different if you wish) and add an option line to adjust |
96 |
> > |
97 |
> > sensitivity: |
98 |
> ><merge key="input.x11_options.PressureMotionMinZ" |
99 |
> >type="integer">25</merge> |
100 |
> > |
101 |
> > Play with different integer values to see what works and also look at |
102 |
> > the synaptics man page for different options, in case |
103 |
> > PressureMotionMin is not what you need. Each time you make a change |
104 |
> > you should restart hal or the xserver to see the result. |
105 |
> > |
106 |
> > 3. Without synaptics a lot depends on what the evdev or mouse drivers |
107 |
> > |
108 |
> > can do - they may not have pressure related options to play with. |
109 |
> > Again I would start with their man pages and follow the example |
110 |
> > above, as long as lshal shows which driver has captured the |
111 |
> > touchpad events. |
112 |
> |
113 |
> So you're saying that without the synaptics driver there is no |
114 |
> sensitivity adjustment? |
115 |
|
116 |
Probably not - I don't really know. On my hardware I can't do much without |
117 |
the x11-drivers/xf86-input-synaptics driver. I can't recall if without it I |
118 |
was able to get some basic functionality, i.e. moving the cursor around, but |
119 |
was not getting multiple finger gestures, tapping/clicking, and edge scrolling |
120 |
for sure. YMMV. |
121 |
|
122 |
man synaptics shows you all the different options and functionality offered by |
123 |
this driver. |
124 |
|
125 |
To set it up have a look at this: |
126 |
|
127 |
http://en.gentoo-wiki.com/wiki/Synaptics_Touchpad/Xorg_7.3 |
128 |
|
129 |
Finally, if xorg-server-1.8 is around the corner to be stabilised I suggest |
130 |
that you unmask it and use the xorg.conf file that we all know and love. :-) |
131 |
-- |
132 |
Regards, |
133 |
Mick |