1 |
On Sunday 14 November 2010 02:37:57 Dale wrote: |
2 |
> Grant Edwards wrote: |
3 |
> > Can anybody point me to a hint on how to configure synaptics touchapad |
4 |
> > sensitivity? |
5 |
> > |
6 |
> > The touchpad on my Thinkpad T500 is so sensitive you don't even have |
7 |
> > to touch it. Merely bringing a thumb or finger within 1/8 - 1/4 inch |
8 |
> > will cause the cursor to twitch spasmodically for a second and then |
9 |
> > jump to the lower left corner of the screen. Once you have a finger |
10 |
> > on the touchpad, it seems to work OK. |
11 |
> > |
12 |
> > I've figured out how to disable it temporarily using the "xinput" |
13 |
> > command, but I would like to actually get it working right. |
14 |
> > |
15 |
> > All the docs I can find seem to assume two things: |
16 |
> > 1) an xorg.conf file |
17 |
> > |
18 |
> > 2) the xf86-input-synpatics driver |
19 |
> > |
20 |
> > I'm using neither. |
21 |
> > |
22 |
> > I decided finally to give in and let Xorg use HAL like it wants to by |
23 |
> > default when you do a Gentoo install. |
24 |
> > |
25 |
> > What a huge mistake. I really, really hate HAL. With xorg.conf, all |
26 |
> > the settings were in one file, in an easy to read, easy to edit |
27 |
> > format. Now with HAL, they're scattered over several files. And to |
28 |
> > make sure you can't edit or read them, they're in XML. I have no idea |
29 |
> > what "problem" HAL is supposed to be solving, but it apprently wasn't |
30 |
> > a problem I ever had -- AFAICT HAL is nothing but pain. |
31 |
> |
32 |
> You must be fairly new here. I realized the same thing a while back and |
33 |
> trust me, I posted it here so everyone else would know that it isn't |
34 |
> easy to work with. It either works out of the box or you are in a huge |
35 |
> mess. |
36 |
> |
37 |
> Before you go to great pains to get this working, you do know that hal |
38 |
> is checking out right? Even the person who wrote it realized the mess |
39 |
> it was and it is dying pretty soon. I think it is policykit or polkit |
40 |
> or something to that effect. If you want to start using that instead, |
41 |
> it may save you some headaches later on when it is no longer a option. |
42 |
|
43 |
As Dale suggests don't waste your time on hal and its fdi files. xorg 1.8.x |
44 |
will be going stable soon and that does away with hal configuration. I |
45 |
recommend that you unmask it and see if you can control your touchpad easier |
46 |
using an xorg.conf and evdev. However, the synaptics driver is there for a |
47 |
reason ... |
48 |
|
49 |
http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.8-upgrade-guide.xml |
50 |
|
51 |
BTW, if you want to remain with xorg 1.7.x then I recommend you try the |
52 |
following: |
53 |
|
54 |
1. Add synaptics to your INPUT_DEVICES in /etc/make.conf - most often than not |
55 |
it will just work™ and no further adjustment of sensitivity is necessary. |
56 |
|
57 |
2. Then run lshal to see if your touchpad is recognised. In my laptop (I use |
58 |
hal) it shows this: |
59 |
================================================== |
60 |
udi = '/org/freedesktop/Hal/devices/pci_8086_d132' |
61 |
info.parent = '/org/freedesktop/Hal/devices/computer' (string) |
62 |
info.product = 'Core Processor DMI' (string) |
63 |
info.category = 'input' (string) |
64 |
info.parent = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port' |
65 |
(string) |
66 |
info.product = 'SynPS/2 Synaptics TouchPad' (string) |
67 |
info.subsystem = 'input' (string) |
68 |
info.udi = |
69 |
'/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_logicaldev_input' |
70 |
(string) |
71 |
input.device = '/dev/input/event6' (string) |
72 |
input.originating_device = |
73 |
'/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port' (string) |
74 |
input.product = 'SynPS/2 Synaptics TouchPad' (string) |
75 |
input.x11_driver = 'synaptics' (string) |
76 |
input.x11_options.ClickButton1 = '1' (string) |
77 |
input.x11_options.HorizEdgeScroll = 'true' (string) |
78 |
input.x11_options.MaxTapMove = '2000' (string) |
79 |
input.x11_options.TapButton1 = '1' (string) |
80 |
input.x11_options.VertEdgeScroll = 'true' (string) |
81 |
linux.device_file = '/dev/input/event6' (string) |
82 |
linux.hotplug_type = 2 (0x2) (int) |
83 |
linux.subsystem = 'input' (string) |
84 |
linux.sysfs_path = '/sys/devices/platform/i8042/serio1/input/input6/event6' |
85 |
(string) |
86 |
================================================== |
87 |
|
88 |
In the info section above it tells me that touchpad is recognised. Looking |
89 |
into /usr/share/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi I see that by |
90 |
installing the synaptics driver a hal configuration file was created. |
91 |
|
92 |
Copy this to /etc/hal/fdi/policy/11-x11-synaptics.fdi (you can call it |
93 |
something different if you wish) and add an option line to adjust sensitivity: |
94 |
|
95 |
<merge key="input.x11_options.PressureMotionMinZ" type="integer">25</merge> |
96 |
|
97 |
Play with different integer values to see what works and also look at the |
98 |
synaptics man page for different options, in case PressureMotionMin is not |
99 |
what you need. Each time you make a change you should restart hal or the |
100 |
xserver to see the result. |
101 |
|
102 |
3. Without synaptics a lot depends on what the evdev or mouse drivers can do - |
103 |
they may not have pressure related options to play with. Again I would start |
104 |
with their man pages and follow the example above, as long as lshal shows |
105 |
which driver has captured the touchpad events. |
106 |
|
107 |
HTH. |
108 |
-- |
109 |
Regards, |
110 |
Mick |