Gentoo Archives: gentoo-user

From: Grant Edwards <grant.b.edwards@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?
Date: Sun, 14 Nov 2010 15:37:28
Message-Id: ibovmb$d8b$1@dough.gmane.org
In Reply to: Re: [gentoo-user] How to configure thochpad sensitivity (using hal)? by Mick
1 On 2010-11-14, Mick <michaelkintzios@×××××.com> wrote:
2
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 >> Even the person who wrote it realized the mess it was and it is dying
13 >> pretty soon. I think it is policykit or polkit or something to that
14 >> effect. If you want to start using that instead, it may save you
15 >> some headaches later on when it is no longer a option.
16 >
17 > As Dale suggests don't waste your time on hal and its fdi files.
18 > xorg 1.8.x will be going stable soon and that does away with hal
19 > configuration. I recommend that you unmask it and see if you can
20 > control your touchpad easier using an xorg.conf and evdev. However,
21 > the synaptics driver is there for a reason ...
22 >
23 > http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.8-upgrade-guide.xml
24 >
25 > BTW, if you want to remain with xorg 1.7.x then I recommend you try the
26 > following:
27 >
28 > 1. Add synaptics to your INPUT_DEVICES in /etc/make.conf - most often
29 > than not it will just work™ and no further adjustment of
30 > sensitivity is necessary.
31
32 I did that, but the synaptics driver doesn't get used by default. Once
33 you've installed it, how do you get the server to use it? I think I
34 should abandon HAL and switch to xorg.conf. It's so much easier to
35 use.
36
37 > 2. Then run lshal to see if your touchpad is recognised. In my
38 > laptop (I use hal) it shows this:
39 >
40 >==================================================
41 > udi = '/org/freedesktop/Hal/devices/pci_8086_d132'
42 > info.parent = '/org/freedesktop/Hal/devices/computer' (string)
43 > info.product = 'Core Processor DMI' (string)
44 > info.category = 'input' (string)
45 > info.parent = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port'
46 > (string)
47 > info.product = 'SynPS/2 Synaptics TouchPad' (string)
48 > info.subsystem = 'input' (string)
49 > info.udi =
50 > '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_logicaldev_input'
51 > (string)
52 > input.device = '/dev/input/event6' (string)
53 > input.originating_device = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port' (string)
54 > input.product = 'SynPS/2 Synaptics TouchPad' (string)
55 > input.x11_driver = 'synaptics' (string)
56 > input.x11_options.ClickButton1 = '1' (string)
57 > input.x11_options.HorizEdgeScroll = 'true' (string)
58 > input.x11_options.MaxTapMove = '2000' (string)
59 > input.x11_options.TapButton1 = '1' (string)
60 > input.x11_options.VertEdgeScroll = 'true' (string)
61 > linux.device_file = '/dev/input/event6' (string)
62 > linux.hotplug_type = 2 (0x2) (int)
63 > linux.subsystem = 'input' (string)
64 > linux.sysfs_path = '/sys/devices/platform/i8042/serio1/input/input6/event6'
65 > (string)
66 >==================================================
67 >
68 > In the info section above it tells me that touchpad is recognised.
69 > Looking into
70 > /usr/share/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi I see that
71 > by installing the synaptics driver a hal configuration file was
72 > created.
73 >
74 > Copy this to /etc/hal/fdi/policy/11-x11-synaptics.fdi (you can call
75 > it something different if you wish) and add an option line to adjust
76 > sensitivity:
77 >
78 ><merge key="input.x11_options.PressureMotionMinZ" type="integer">25</merge>
79 >
80 > Play with different integer values to see what works and also look at
81 > the synaptics man page for different options, in case
82 > PressureMotionMin is not what you need. Each time you make a change
83 > you should restart hal or the xserver to see the result.
84 >
85 > 3. Without synaptics a lot depends on what the evdev or mouse drivers
86 > can do - they may not have pressure related options to play with.
87 > Again I would start with their man pages and follow the example
88 > above, as long as lshal shows which driver has captured the
89 > touchpad events.
90
91 So you're saying that without the synaptics driver there is no
92 sensitivity adjustment?

Replies

Subject Author
Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)? Onteria <onteria@××××××××××××.net>
Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)? Mick <michaelkintzios@×××××.com>