Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Synaptics touchpad scrolls instead of moving cursor
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
adrians
n00b
n00b


Joined: 20 Nov 2017
Posts: 3

PostPosted: Mon Nov 20, 2017 11:38 am    Post subject: Synaptics touchpad scrolls instead of moving cursor Reply with quote

Hello,

All of a sudden my touchpad stopped working and moreover, whenever I try to move the cursor it actually scrolls the window. I checked in xev and indeed, when I move one finger on it, a series of ButtonPress and ButtonRelease events are generated, instead of MotionNotify, as if I was tapping it.
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1014

PostPosted: Mon Nov 20, 2017 12:04 pm    Post subject: Reply with quote

Hi adrians, a good start to the diagnostic but having some more information would help. This is likely a driver issue since hardly anything in X configuration is actually likely to produce such a misguided attempt at the use of the hardware, I find that X works really good!! So you are right to have posted this in the kernel and hardware section. Do you have an emerge --info that you can post back with, or just look in make.conf and see what is the environment variable for INPUT_DEVICES like on your machine?

Since we don't know, I will wait to provide any concrete suggestions, but touchpads can have different drivers. If you are using libinput for example versus a say a proprietary driver for the touchpad that will change how you go about fixing the issue. That' all.
Back to top
View user's profile Send private message
adrians
n00b
n00b


Joined: 20 Nov 2017
Posts: 3

PostPosted: Mon Nov 20, 2017 12:11 pm    Post subject: Reply with quote

Hello,

Thanks for helping me. Here is the output of emerge --info

Code:

Portage 2.3.13 (python 2.7.14-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-5.4.0, glibc-2.25-r9, 4.12.12-gentoo x86_64)
=================================================================
System uname: Linux-4.12.12-gentoo-x86_64-Intel-R-_Core-TM-_i7-4712HQ_CPU_@_2.30GHz-with-gentoo-2.4.1
KiB Mem:    16341312 total,  12559400 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 17 Nov 2017 18:30:01 +0000
Head commit of repository gentoo: 5c292df7bb4eed815b67e3f5359dbc7b8a7edb66
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.8::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.28.1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /media/Data/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:

jorgicio
    location: /var/lib/layman/jorgicio
    masters: gentoo
    priority: 50

vmware
    location: /var/lib/layman/vmware
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/chromium/policies/managed/chrome-gnome-shell.json /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/opt/chrome/policies/managed/chrome-gnome-shell.json /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core-avx2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli colord cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection ipv6 jpeg lcms ldap libnotify libsecret lm_sensors mad mmx mng modules mp3 mp4 mpeg multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline sdl seccomp session spell sse sse2 ssl startup-notification svg systemd tcpd tiff tracker truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="emu efi-32 efi-64 pc" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="x86_64 i386 arm" QEMU_USER_TARGETS="x86_64 i386 arm" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Mon Nov 20, 2017 2:49 pm    Post subject: Reply with quote

you can use xev to debug things. Check the output what is done
Back to top
View user's profile Send private message
adrians
n00b
n00b


Joined: 20 Nov 2017
Posts: 3

PostPosted: Mon Nov 20, 2017 4:05 pm    Post subject: Reply with quote

I did that. Here's what I'm getting when I swipe my finger over the touchpad
Code:

ButtonPress event, serial 37, synthetic NO, window 0x1e00001,
    root 0xd5, subw 0x0, time 16991645, (408,484), root:(2436,1009),
    state 0x0, button 4, same_screen YES

ButtonRelease event, serial 37, synthetic NO, window 0x1e00001,
    root 0xd5, subw 0x0, time 16991645, (408,484), root:(2436,1009),
    state 0x800, button 4, same_screen YES

ButtonPress event, serial 37, synthetic NO, window 0x1e00001,
    root 0xd5, subw 0x0, time 16991829, (408,484), root:(2436,1009),
    state 0x0, button 5, same_screen YES

ButtonRelease event, serial 37, synthetic NO, window 0x1e00001,
    root 0xd5, subw 0x0, time 16991829, (408,484), root:(2436,1009),
    state 0x1000, button 5, same_screen YES

ButtonPress event, serial 37, synthetic NO, window 0x1e00001,
    root 0xd5, subw 0x0, time 16991929, (408,484), root:(2436,1009),
    state 0x0, button 5, same_screen YES

ButtonRelease event, serial 37, synthetic NO, window 0x1e00001,
    root 0xd5, subw 0x0, time 16991929, (408,484), root:(2436,1009),
    state 0x1000, button 5, same_screen YES

ButtonPress event, serial 37, synthetic NO, window 0x1e00001,
    root 0xd5, subw 0x0, time 16992029, (408,484), root:(2436,1009),
    state 0x0, button 5, same_screen YES

ButtonRelease event, serial 37, synthetic NO, window 0x1e00001,
    root 0xd5, subw 0x0, time 16992029, (408,484), root:(2436,1009),
    state 0x1000, button 5, same_screen YES


as opposed to what it's supposed to happen, like when I'm using the mouse:
Code:

MotionNotify event, serial 37, synthetic NO, window 0x1e00001,
    root 0xd5, subw 0x0, time 16994326, (407,484), root:(2435,1009),
    state 0x0, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x1e00001,
    root 0xd5, subw 0x0, time 16994342, (402,485), root:(2430,1010),
    state 0x0, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x1e00001,
    root 0xd5, subw 0x0, time 16994348, (356,493), root:(2384,1018),
    state 0x0, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x1e00001,
    root 0xd5, subw 0x0, time 16994356, (302,505), root:(2330,1030),
    state 0x0, is_hint 0, same_screen YES

MotionNotify event, serial 37, synthetic NO, window 0x1e00001,
    root 0xd5, subw 0x0, time 16994364, (245,514), root:(2273,1039),
    state 0x0, is_hint 0, same_screen YES
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1014

PostPosted: Mon Nov 20, 2017 9:48 pm    Post subject: Reply with quote

Please follow the items in this link https://wiki.archlinux.org/index.php/Libinput

If xinput isnt it, then maybe i mispoke earlier and the Xorg configuration does seem important here.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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