SHMConfig enabled synaptics through HAL
Posted by insanity5902 | Filed Under: Tech, Linux, Gentoo
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
with older Xorg you still need to use the device section in xorg.conf (like, tied to fglrx)
This configuration still holds true for the xorg-server-1.5 release. In gentoo it requires the keyworded hal, synaptics and xorg-server.