SHMConfig enabled synaptics through HAL

Finally I got my synaptics drivers to work properly. With the new HAL, you are able to have it hotplug your input devices into X, this means they don't need to be listed in X. I tested this out on my laptop a few months ago, and it worked. Only problem is I couldn't pass along the variables for my synaptics touchpad. Well, after months of waiting and research, I finally got it figured out.

I created the file /etc/hal/fdi/policy/11-synaptic-options.fdi, which, in Gentoo, are the user added hal policies, system installed are in /usr/share/hal/fdi/policy/. I then added the following into that file


<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="input.x11_driver" contains="synaptics">
<merge key="input.x11_options.SHMConfig" type="string">On</merge>
</match>
</device>
</deviceinfo>

This turns on SHMConfig which allows synclient and gsynaptics to change synaptic settings on the fly. Sadly, in between noticing this taking effect I had moved to a few pre-release applications to get the 3d r500 accelleration with ati drivers. Below are a few application and versions I am running


[ebuild R ] sys-apps/hal-0.5.11-r1
[ebuild R ] x11-base/xorg-server-1.4.99.906
[ebuild R ] x11-drivers/synaptics-0.14.6-r4

Also note, i just notice xf86-input-synaptic-0.15* has been added to the portage tree for the 1.5 prerelease, need to check this out.

Trackback address for this post

Trackback URL (right click and copy shortcut/link location)

2 comments

This works because of xorg-server-1.5 (or pre 1.5).
with older Xorg you still need to use the device section in xorg.conf (like, tied to fglrx)
09/12/08 @ 11:17
Comment from: insanity5902 [Member] Email · http://gibbonsr.net
True, I guess I should of been a bit more specific, all of this is using Xorg 7.4 pre-release software.

This configuration still holds true for the xorg-server-1.5 release. In gentoo it requires the keyworded hal, synaptics and xorg-server.
09/12/08 @ 13:55

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
This is a captcha-picture. It is used to prevent mass-access by robots.
Please enter the characters from the image above. (case insensitive)