24 August 2008 ~ 2 Comments

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.

2 Responses to “SHMConfig enabled synaptics through HAL”

  1. Nicola [Visitor] 12 September 2008 at 11:17 Permalink

    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)

  2. insanity5902 [Member] 12 September 2008 at 13:55 Permalink

    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.


Leave a Reply