Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Touchpad TAP problem
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
opascariu
n00b
n00b


Joined: 08 Jun 2006
Posts: 35

PostPosted: Wed Dec 23, 2009 7:50 pm    Post subject: Touchpad TAP problem Reply with quote

Hi,

I'm trying to setup a new gentoo box and I'm having troubles to make the touchpad's tap to work.
I have compiled xorg-server with hal useflag set, and I have no "InputDevice" sections in /etc/X11/xorg.conf.

I have copied 11-x11-synaptics.fdi posted by gami in this thread, to /etc/hal/fdi/policy/.
Code:
cat  /etc/hal/fdi/policy/11-x11-synaptics.fdi
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.touchpad">
      <match key="info.product" contains_outof="Synaptics TouchPad;AlpsPS/2 ALPS;bcm5974">
        <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>
        <merge key="input.x11_options.CoastingSpeed" type="string">20</merge>
        <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>
        <merge key="input.x11_options.HorizEdgeScroll" type="string">true</merge>
      </match>
    </match>
  </device>
</deviceinfo>


Though, according to /var/log/Xorg.0.log, the the options from the fdi file seem to be applied
Code:


(II) config/hal: Adding input device AlpsPS/2 ALPS GlidePoint
(II) LoadModule: "synaptics"
(II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
(II) Module synaptics: vendor="X.Org Foundation"
        compiled for 1.7.3, module version = 1.2.0
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 7.0
(II) Synaptics touchpad driver version 1.2.0
(**) Option "Device" "/dev/input/event8"
(II) AlpsPS/2 ALPS GlidePoint: x-axis range 0 - 1023
(II) AlpsPS/2 ALPS GlidePoint: y-axis range 0 - 767
(II) AlpsPS/2 ALPS GlidePoint: pressure range 0 - 127
(II) AlpsPS/2 ALPS GlidePoint: finger width range 0 - 0
(II) AlpsPS/2 ALPS GlidePoint: buttons: left right middle
(**) Option "VertEdgeScroll" "true"
(**) Option "HorizEdgeScroll" "true"
(**) Option "TapButton1" "1"
(**) Option "TapButton2" "2"
(**) Option "TapButton3" "3"
(**) Option "CoastingSpeed" "20"
(--) AlpsPS/2 ALPS GlidePoint: touchpad found
(**) AlpsPS/2 ALPS GlidePoint: always reports core events
(II) XINPUT: Adding extended input device "AlpsPS/2 ALPS GlidePoint" (type: TOUCHPAD)
(**) AlpsPS/2 ALPS GlidePoint: (accel) keeping acceleration scheme 1
(**) AlpsPS/2 ALPS GlidePoint: (accel) acceleration profile 0
(--) AlpsPS/2 ALPS GlidePoint: touchpad found

the tap action does not work.
The output of synclient -l indicate that TapButton1, TapButton2, TapButton3 variables are still set to 0
Code:

synclient -l | grep Tap
    MaxTapTime              = 180
    MaxTapMove              = 56
    MaxDoubleTapTime        = 180
    SingleTapTimeout        = 180
    FastTaps                = 0
    TapButton1              = 0
    TapButton2              = 0
    TapButton3              = 0
    TapAndDragGesture       = 1


After setting TabButton1 to 1, using synclient, tab works properly.

How can I make tap to work without using the synclient workaround?

/LE

Code:

emerge --info
Portage 2.1.7.13 (default/linux/x86/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.32-gentoo i686)
=================================================================
System uname: Linux-2.6.32-gentoo-i686-Intel-R-_Pentium-R-_Dual_CPU_T2310_@_1.46GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 12 Dec 2009 12:15:01 +0000
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.4, 3.1.1-r1
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.3
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.64
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -mssse3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -mssse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.roedu.net/pub/mirrors/gentoo.org ftp://ftp.lug.ro/gentoo ftp://gentoo.romnet.org http://ftp.roedu.net/pub/mirrors/gentoo http://ftp.lug.ro/gentoo http://gentoo.romnet.org"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.ro.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa asf automount bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr encode ffmpeg firefox firefox3 flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv jpeg libnotify lm_sensors mad mikmod mime mmx modplug modules mono mp3 mp4 mpeg mplayer mudflap nautilus ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcmcia pcre pdf perl png pppd python quicktime readline reflection sdl session slang spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis wifi win32codecs x264 x86 xine xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Thanks &
Merry Christmas
Back to top
View user's profile Send private message
gami
Apprentice
Apprentice


Joined: 02 Jun 2006
Posts: 297

PostPosted: Thu Dec 24, 2009 2:51 pm    Post subject: Reply with quote

Which Desktop Environment do you use? Please make sure that your settings aren't overwritten by your DE's tools at session startup. The fdi file is intended to be a default, system-wide setup which can be overwritten by the user through the DE's facilities.
Back to top
View user's profile Send private message
opascariu
n00b
n00b


Joined: 08 Jun 2006
Posts: 35

PostPosted: Fri Dec 25, 2009 11:05 am    Post subject: Reply with quote

Thanks for the tip.
I've managed to make tap working, using System->Preferences->Mouse (in gnome)
Back to top
View user's profile Send private message
eminenz
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jul 2006
Posts: 95

PostPosted: Sat Jan 23, 2010 9:55 pm    Post subject: Reply with quote

maybe the reason it didn't work beforehand is, its a touchpad that does not identify itself as one of
Synaptics TouchPad;AlpsPS/2 ALPS;bcm5974
you could try to remove this <match> line (and the corresponing </match> too, of course) There shouldn't be a problem, since you usually don't have multiple different touchpads in one computer

here's my file, works like a charm:)
Code:
 $ cat /etc/hal/fdi/policy/11-x11-synaptics.fdi
<?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>
   <!--Erlaube Tappen (kurze Berührung=Mausklick)-->
   <merge key="input.x11_options.TapButton1" type="string">1</merge>
   <!--Erlaube Tap-Verschieben mit ausholen-->
   <merge key="input.x11_options.LockedDrag" type="string">1</merge>
   <merge key="input.x11_options.LockedDragTimeout" type="string">2500</merge>
   <!--Erlaube Scrollen-->
   <merge key="input.x11_options.VertTwoFingerScroll" type="string">1</merge>
   <merge key="input.x11_options.HorizTwoFingerScroll" type="string">1</merge>
   <merge key="input.x11_options.VertEdgeScroll" type="string">1</merge>
    </match>
  </device>
</deviceinfo>
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum