[Debian-eeepc-devel] problem with synaptics driver in sid/unstable

Shawn Lamson shawn.lamson at att.net
Thu Jan 14 13:21:52 UTC 2010


I ran into an issue last night with the Elantech touchpad on the
synaptics driver, i think due to the HAL -> UDEV changeover in
sid/unstable

If anyone has an issue with an updated xserver-xorg-input-synaptics
package try the following:

create a file /etc/udev/rules.d/66-xorg-synaptics.rules 

add as follows (between the dashed lines)

----- CONTENTS -----

ACTION!="add|change", GOTO="xorg_synaptics_end"

KERNEL!="event*", GOTO="xorg_synaptics_end"

ENV{ID_INPUT_TOUCHPAD}!="1", GOTO="xorg_synaptics_end"

ENV{x11_driver}="synaptics"

# Elantech PS/2 for Eeepc 901
# replace 901 with your value from
# /sys/class/dmi/id/product_name

ATTR{[dmi/id]product_name}=="901", \
  ENV{x11_options.TapButton1}="1", \
  ENV{x11_options.TapButton2}="2", \
  ENV{x11_options.TapButton3}="3", \
  ENV{x11_options.VertTwoFingerScroll}="1", \
  ENV{x11_options.HorizTwoFingerScroll}="1", \
  ENV{x11_options.VertEdgeScroll}="1", \
  ENV{x11_options.CoastingSpeed}="8", \
  ENV{x11_options.CornerCoasting}="1"

# comment out, add or change x11_options to your preference
# use 'man synaptics ' for options and descriptions

LABEL="xorg_synaptics_end"

----- END CONTENTS -----

Note the 
ATTR{[dmi/id]product_name}=="901", \
may be different for your netbook, a different product_name value in 
/sys/class/dmi/id/product_name
and you may want to adjust some of the ENV values.

of course, save the contents of the file, then you should reboot for the
change to take effect.

I stole the format from the /lib/udev/rules.d/66-xorg-synaptics.rules,
which is in the package but not explained, and the package management
tools still reference the old file for HAL
/usr/share/hal/fdi/policy/20thirdparty/11-x11-synaptics.fdi

Nothing "official", just taking what worked for me and putting it out
there.

Shawn


-- 

Shawn Lamson
shawn /dot/ lamson /at/ att /dot/ net



More information about the Debian-eeepc-devel mailing list