I know it's a bit late to be posting about this, and probably most people affected by this problem have resolved it, but I thought I'd add my experience regarding this problem on a SL 3.5 installation that has had various packages updated via Entropy and Portage (I also updated the kernel to 2.6.27 using genkernel) over the last couple of months. (I know it's not a stock SL 4.0/4.0-r1 installation, but the problem with the touchpad appears to be identical or very similar to what people experienced with 4.0/4.0-r1.)
I found that a USB mouse still worked perfectly on my Acer TravelMate 8215WLMi laptop, but the touchpad no longer worked at all (it was neither possible to move the cursor nor possible to select via tapping). I tried all the various fixes posted in the SL forums and the only thing that worked in the end was the following:
1) Edit /etc/make.conf and add the line INPUT_DEVICES="evdev keyboard mouse synaptics" (as the current line INPUT_DEVICES is commented out and has too many devices).
2) emerge -C x11-drivers/synaptics (I
had to do this, as this package was blocking the installation of x11-drivers/xf86-input-synaptics and the touchpad was not working with it, even with the various suggested fixes)
3) emerge -1v x11-drivers/xf86-input-synaptics
4) Edit /etc/X11/xorg.conf and add the following line:
- Code: Select all
Option "TapButton1" "1"
so that the InputDevice section in xorg.conf now looks like this (the format is otherwise
exactly as installed -- notice the incorrect order of some of the lines):
- Code: Select all
Section "InputDevice"
#Option "MaxSpeed" "0.7"
#Option "MinSpeed" "0.18"
#Option "AccelFactor" "0.08"
#Option "TopEdge" "120"
#Option "LeftEdge" "120"
#Option "BottomEdge" "830"
#Option "RightEdge" "650"
#Option "FingerLow" "25"
#Option "FingerHigh" "30"
# MacBook touchpad
#Option "MaxTapTime" "180"
#Option "MaxTapMove" "220"
#Option "MaxDoubleTapTime" "180"
#Option "VertScrollDelta" "20"
#Option "HorizScrollDelta" "50"
Option "TapButton2" "3"
Option "TapButton3" "2"
Option "TapButton1" "1"
Option "VertTwoFingerScroll" "1"
# Do you keep moving the mouse while typing? Try this trick.
#synclient TouchpadOff=1 disable your synaptics touchpad
#synclient TouchpadOff=0 enable your synaptics touchpad
Identifier "Synaptics1"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
Option "SHMConfig" "on"
# For ALPS/MacBook TouchPads
EndSection
Section "InputDevice"
I made only one change to the file /usr/share/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi: I uncommented the line regarding input.x11_options.SHMConfig as shown below, although I believe this makes no difference to the ability to tap on the touchpad:
- Code: Select all
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.touchpad">
<merge key="input.x11_driver" type="string">synaptics</merge>
<!-- Arbitrary options can be passed to the driver using
the input.x11_options property since xorg-server-1.5. -->
<!-- EXAMPLES: -->
<!-- Switch on shared memory, enables the driver to be configured at runtime -->
<merge key="input.x11_options.SHMConfig" type="string">true</merge>
<!-- Maximum movement of the finger for detecting a tap -->
<merge key="input.x11_options.MaxTapMove" type="string">2000</merge>
<!-- Enable vertical scrolling when dragging along the right edge -->
<merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>
<!-- Enable vertical scrolling when dragging with two fingers anywhere on the touchpad -->
<!-- <merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge> -->
<!-- Enable horizontal scrolling when dragging with two fingers anywhere on the touchpad -->
<!-- <merge key="input.x11_options.HorizTwoFingerScroll" type="string">true</merge> -->
<!-- If on, circular scrolling is used -->
<!-- <merge key="input.x11_options.CircularScrolling" type="string">true</merge> -->
<merge key="input.x11_options.TapButton1" type="string">1</merge>
<merge key="input.x11_options.TapButton2" type="string">2</merge>
<merge key="input.x11_options.TapButton3" type="string">3</merge>
<!-- For other possible options, check CONFIGURATION DETAILS in synaptics man page -->
</match>
</device>
</deviceinfo>
This is the current hal situation on my laptop, as reported by eix and equo:
- Code: Select all
$ eix sys-apps/hal
[U] sys-apps/hal
Available versions: 0.5.9.1-r3 0.5.11-r1 (~)0.5.11-r2[1] (~)0.5.11-r4 (~)0
.5.11-r4[1] (~)0.5.11-r5[1] (~)0.5.11-r6 {X acpi apm crypt debug dell disk-parti
tion doc kernel_FreeBSD kernel_linux laptop pcmcia selinux}
Installed versions: 0.5.11-r1[1](23:04:53 16/10/08)(acpi apm crypt dell di
sk-partition kernel_linux laptop -X -debug -doc -kernel_FreeBSD -selinux)
Homepage: http://www.freedesktop.org/Software/hal
Description: Hardware Abstraction Layer
[1] "sabayon" /usr/local/portage/layman/sabayon
$ equo search sys-apps/hal
>> @@ Searching...
>> #1 Sabayon Linux Official Repository
>> @@ Package: sys-apps/hal-0.5.11-r1 branch: 3.5
>> Category: sys-apps
>> Name: hal
>> Masked: False
>> Available: version: 0.5.11-r1 ~ tag: NoTag ~ revision: 2
>> Installed: version: 0.5.11-r1 ~ tag: NoTag ~ revision: 2
>> Slot: 0
>> Size: 0.8MB
>> Download: packages/amd64/3.5/sys-apps:hal-0.5.11-r1~2.tbz2
>> Checksum: 703db1c6541b267d2c7cc08e80364464
>> ## Dependencies:
>> ## >=sys-fs/cryptsetup-1.0.5
>> ## sys-apps/usbutils
>> ## >=sys-libs/libsmbios-0.13.4
>> ## >=sys-fs/udev-111
>> ## >=dev-libs/libusb-0.1.10a
>> ## >=sys-power/pm-utils-0.99.3
>> ## >=dev-libs/dbus-glib-0.61
>> ## virtual/eject
>> ## >=dev-libs/glib-2.14
>> ## >=dev-util/gperf-3.0.3
>> ## >=sys-apps/util-linux-2.13
>> ## >=sys-apps/parted-1.8.0
>> ## >=sys-apps/pciutils-2.2.7-r1
>> ## >=dev-libs/expat-1.95.8
>> ## >=sys-apps/dmidecode-2.7
>> ## >=sys-kernel/linux-headers-2.6.19
>> ## =app-misc/hal-info-20080310
>> ## Conflicts:
>> ## gnome-extra/hal-device-manager
>> Homepage: http://www.freedesktop.org/Software/hal
>> Description: Hardware Abstraction Layer
>> USE flags: kernel_linux -elibc_glibc -userland_GNU
>> -amd64 apm crypt laptop disk-partition
>> dell acpi
>> Compiled with: -Os -march=x86-64 -pipe -rdynamic
>> Keywords: ~alpha ~amd64 ~hppa ~sparc ~x86 ~ia64
>> Created: 2008-06-12 11:55:41
>> License: AFL-2.0 GPL-2
>> Keyword: sys-apps/hal
>> Found: 1 entries
This is the current synaptics situation on my laptop, as reported by eix and equo:
- Code: Select all
$ eix synaptics
* gnome-extra/gsynaptics
Available versions: 0.9.10 (~)0.9.13-r1 (~)0.9.14 {debug}
Homepage: http://gsynaptics.sourceforge.jp/
Description: A GTK+ based configuration utility for the synaptics d
river
[I] kde-misc/ksynaptics
Available versions: (~)0.2.2 (~)0.2.3 (~)0.3.1 0.3.3 (~)0.3.3[1] {arts deb
ug elibc_FreeBSD xinerama}
Installed versions: 0.3.3[1](08:10:50 12/01/09)(xinerama -arts -debug -eli
bc_FreeBSD)
Homepage: http://qsynaptics.sourceforge.net/
Description: synaptics touchpad configuration tool
* x11-drivers/synaptics
Available versions: 0.14.5-r1 0.14.6 (~)0.14.6-r1 (~)0.14.6-r2 (~)0.14.6-r
3 (~)0.14.6_p20070706-r1 {hal}
Homepage: http://w1.894.telia.com/~u89404340/touchpad/
Description: Driver for Synaptics touchpads
[I] x11-drivers/xf86-input-synaptics
Available versions: (~)0.15.2-r2 (~)0.99.1 (~)0.99.2 (~)0.99.2-r1 (~)0.99.
3 (~)0.99.3-r1 (~)0.99.3-r1[1] {debug hal}
Installed versions: 0.99.3-r1[1](11:41:48 12/01/09)(-debug)
Homepage: http://cgit.freedesktop.org/xorg/driver/xf86-input-syn
aptics/
Description: Driver for Synaptics touchpads
[U] x11-libs/libsynaptics
Available versions: (~)0.14.4d (~)0.14.6a (~)0.14.6b 0.14.6c (~)0.14.6c-r1
Installed versions: 0.14.6c[1](23:05:18 16/10/08)
Homepage: http://qsynaptics.sourceforge.net/
Description: library for accessing synaptics touchpads
* xfce-extra/gsynaptics-mcs-plugin
Available versions: 1.0.0 {debug}
Homepage: http://goodies.xfce.org/projects/mcs-plugins/gsynaptic
s-mcs-plugin
Description: a simple MCS plugin that starts gsynaptics and launche
s gsynaptics-init
[1] "sabayon" /usr/local/portage/layman/sabayon
Found 6 matches.
$ equo search synaptics
>> @@ Searching...
>> #1 Sabayon Linux Official Repository
>> @@ Package: gnome-extra/gsynaptics-0.9.14 branch: 3.5
>> Category: gnome-extra
>> Name: gsynaptics
>> Masked: False
>> Available: version: 0.9.14 ~ tag: NoTag ~ revision: 0
>> Installed: version: Not installed ~ tag: N/A ~ revision: N/
A
>> Slot: 0
>> Size: 0.1MB
>> Download: packages/amd64/3.5/gnome-extra:gsynaptics-0.9.14
~0.tbz2
>> Checksum: affa95081d434e61b2fe53bf2232c602
>> ## Dependencies:
>> ## >=x11-libs/gtk+-2.6.0
>> ## >=gnome-base/gconf-2.0
>> ## >=gnome-base/libglade-2
>> ## >=dev-libs/glib-2.10
>> Homepage: http://gsynaptics.sourceforge.jp/
>> Description: A GTK+ based configuration utility
>> for the synaptics driver
>> USE flags: -elibc_glibc -userland_GNU -kernel_linux
>> -amd64
>> Compiled with: -Os -march=x86-64 -pipe
>> Keywords: ~amd64 ~x86
>> Created: 2008-08-10 17:51:35
>> License: GPL-2
>> @@ Package: kde-misc/ksynaptics-0.3.3 branch: 3.5
>> Category: kde-misc
>> Name: ksynaptics
>> Masked: False
>> Available: version: 0.3.3 ~ tag: NoTag ~ revision: 2
>> Installed: version: 0.3.3 ~ tag: NoTag ~ revision: 2
>> Slot: 0
>> Size: 0.3MB
>> Download: packages/amd64/3.5/ksynaptics-0.3.3.tbz2
>> Checksum: 76d62186b26ee4bfd92dd782a2982994
>> ## Dependencies:
>> ## x11-libs/libXinerama
>> ## kde-base/kdelibs:3.5
>> ## >=x11-libs/libsynaptics-0.14.6c
>> ## kde-base/arts
>> ## =x11-libs/qt-3.3*
>> Homepage: http://qsynaptics.sourceforge.net/
>> Description: synaptics touchpad configuration
>> tool
>> USE flags: -elibc_FreeBSD arts -debug xinerama
>> Compiled with: -Os -march=x86-64 -pipe
>> Keywords: ~amd64 ~x86 ~ppc
>> Created: 2007-09-19 20:50:55
>> License: GPL-2
>> @@ Package: x11-drivers/synaptics-0.14.6_p20070706-r1 branch:
3.5
>> Category: x11-drivers
>> Name: synaptics
>> Masked: False
>> Available: version: 0.14.6_p20070706-r1 ~ tag: NoTag ~ revi
sion: 0
>> Installed: version: 0.14.6_p20070706-r1 ~ tag: NoTag ~ revi
sion: 0
>> Slot: 0
>> Size: 0.1MB
>> Download: packages/amd64/3.5/x11-drivers:synaptics-0.14.6_
p20070706-r1~0.tbz2
>> Checksum: 1fc7487b3a8f5fc4e9078332171ce4ee
>> ## Dependencies:
>> ## x11-libs/libXext
>> ## sys-apps/hal
>> Homepage: http://w1.894.telia.com/~u89404340/touchpad/
>> Description: Driver for Synaptics touchpads
>> USE flags: -elibc_glibc hal -userland_GNU
>> -kernel_linux -amd64
>> Compiled with: -Os -march=x86-64 -pipe
>> Keywords: ~x86 ~amd64 ~ppc ~ppc64
>> Created: 2008-09-12 21:41:22
>> License: GPL-2
>> @@ Package: x11-libs/libsynaptics-0.14.6c branch: 3.5
>> Category: x11-libs
>> Name: libsynaptics
>> Masked: False
>> Available: version: 0.14.6c ~ tag: NoTag ~ revision: 2
>> Installed: version: 0.14.6c ~ tag: NoTag ~ revision: 2
>> Slot: 0
>> Size: 0.2MB
>> Download: packages/amd64/3.5/libsynaptics-0.14.6c.tbz2
>> Checksum: d7fd009e5e30f1cef68e02295fcd67ff
>> Homepage: http://qsynaptics.sourceforge.net/
>> Description: library for accessing synaptics
>> touchpads
>> Compiled with: -Os -march=x86-64 -pipe
>> Keywords: ~amd64 ~x86 ~ppc
>> Created: 2007-11-07 18:52:45
>> License: GPL-2
>> @@ Package: xfce-extra/gsynaptics-mcs-plugin-1.0.0 branch:
3.5
>> Category: xfce-extra
>> Name: gsynaptics-mcs-plugin
>> Masked: False
>> Available: version: 1.0.0 ~ tag: NoTag ~ revision: 0
>> Installed: version: Not installed ~ tag: N/A ~ revision: N/
A
>> Slot: 0
>> Size: 0.0MB
>> Download: packages/amd64/3.5/gsynaptics-mcs-plugin-1.0.0~0
.tbz2
>> Checksum: 70cab3e87e4cd307db32b2295d2bec6f
>> ## Dependencies:
>> ## >=xfce-base/xfce-mcs-manager-4.4.0
>> ## >=xfce-base/libxfcegui4-4.4.0
>> ## gnome-extra/gsynaptics
>> Homepage: http://goodies.xfce.org/projects/mcs-plugins/gsy
naptics-mcs-plugin
>> Description: a simple MCS plugin that starts
>> gsynaptics and launches gsynaptics-init
>> USE flags: -debug
>> Compiled with: -Os -march=x86-64 -pipe
>> Keywords: ~amd64 x86
>> Created: 2008-01-19 18:43:12
>> License: GPL-2
>> Keyword: synaptics
>> Found: 5 entries
Anyway, I can again use the touchpad to move the cursor, tap once to select, tap twice and drag to scroll, and also two-finger-scroll vertically. As x11-drivers/synaptics is not installed any more and x11-drivers/xf86-input-synaptics is installed, I assume the two drivers are incompatible. Does anyone have any idea about this? KSynaptics no longer works, though, and trying to re-merge it fails. Anyway, everything else appears to be working correctly. It seems that the various synaptics software and the way functionality is apparently shared between xorg.conf and /usr/share/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi is a real mess. Also, why are there two synaptics drivers (x11-drivers/synaptics and x11-drivers/xf86-input-synaptics)?