szczerb Veteran
Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
Posted: Fri Oct 31, 2008 6:44 pm Post subject: HAL synaptics and SHMConfig |
|
|
How can I enable SHMConfig for a synaptics touchpad using hal only?
that's my xorg.conf:
Code: | szczerb@nomad ~ $ cat /etc/X11/xorg.conf
Section "Files"
ModulePath "/usr/lib64/xorg/modules"
EndSection
Section "Module"
Load "synaptics"
Load "xtrap"
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Section "Device"
Identifier "Card0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "Mobile GM965/GL960 Integrated Graphics Controller"
BusID "PCI:0:2:0"
# Option "AccelMethod" "XAA"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
SubSection "Display"
Depth 24
Virtual 2560 1024
EndSubSection
EndSection |
and that's my hal policy:
Code: | szczerb@nomad ~ $ cat /etc/hal/fdi/policy/11-x11-synaptics.fdi
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.touchpad">
<match key="info.product" contains="SynPS/2 Synaptics Touchpad">
<merge key="input.x11_driver" type="string">synaptics</merge>
<merge key="input.x11_options.SendCoreEvents" type="boolean">true</merge>
<merge key="input.x11_options.Protocol" type="string">auto-dev</merge>
<merge key="input.x11_options.SHMConfig" type="string">On</merge>
<merge key="input.x11_options.TapButton1" type="integer">1</merge>
<merge key="input.x11_options.RBCornerButton" type="integer">3</merge>
<merge key="input.x11_options.RTCornerButton" type="integer">2</merge>
<merge key="input.x11_options.RightEdge" type="integer">5300</merge>
<merge key="input.x11_options.BottomEdge" type="integer">4300</merge>
<merge key="input.x11_options.TopEdge" type="integer">1600</merge>
<merge key="input.x11_options.FingerPress" type="integer">128</merge>
<merge key="input.x11_options.MaxTapMove" type="integer">40</merge>
</match>
</match>
</device>
</deviceinfo> |
|
|