You are not logged in.

#1 2016-05-20 20:36:25

Naik
Member
From: the edge of insanity
Registered: 2015-10-03
Posts: 328

[Solved] Scrolling via synaptic touchpad no longer possible

Hello folks!

I am chasing sid on an old hp compaq nx6325 for fun and fun it was until some days ago i lost the ability to scroll vertically and horizontally by swiping to lowest bottom- / outer right edge of my touchpad.
I was so happy to have this work OOTB when i first installed Hydrogen 8.2 on this old thing because i wouldn`t even have had the slightest idea on how to achieve this behaviour. So you can imaging who "not amused" i was seeing it disappear after my daily update&&reboot around the 14th of this month. I was trying not worry and wait what time brings, as sid teached me.

But then i thought of the line

synclient VertEdgeScroll=1 HorizEdgeScroll=1 TapButton1=1 2>/dev/null

which never left my ~/.config/openbox/autostart.
A little couriousness brought up this:

naik@HP-D2:~$ man synclient
naik@HP-D2:~$ synclient -l
Couldn't find synaptics properties. No synaptics driver loaded?
naik@HP-D2:~$ egrep -i 'synap|alps|etps' /proc/bus/input/devices
N: Name="SynPS/2 Synaptics TouchPad"

which led me further to this article.

since i haven`t even found a 10-synaptic.conf only a 50-synaptic.conf and a 10-synaptic.evdev in /usr/share/x11/xorg.conf.d/  I removed the latter one and renamed and rewrote the the first according to the suggestions miro279 made in his post but nothing changed so far.

dmesg is telling that everything should work fine:

[    2.082534] psmouse serio4: synaptics: Touchpad model: 1, fw: 6.2, id: 0x25a0b1, caps: 0xa04793/0x300000/0x0/0x0, board id: 0, fw id: 35334
[    2.082544] psmouse serio4: synaptics: serio: Synaptics pass-through port at isa0060/serio4/input0
[    2.122576] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio4/input/input8

But synclient is still unable to find any synaptic properties.
Do you guys have any suggestions?


naik --greetz

Last edited by Naik (2016-06-26 13:45:12)


"Kaum macht [Mensch]* es richtig, funktioniert es sofort!"
BL-Kitchen Codeberg

Offline

#2 2016-05-20 20:45:40

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [Solved] Scrolling via synaptic touchpad no longer possible

Naik wrote:

Do you guys have any suggestions?

Debian testing/unstable has switched from synaptics to libinput.

Copy over the template configuration file and edit it:

sudo cp /usr/share/X11/xorg.conf.d/60-libinput.conf /etc/X11/xorg.conf.d/
sudo vim /etc/X11/xorg.conf./60-libinput.conf

Add any desired options, as per libinput(4)

Offline

#3 2016-05-21 09:37:39

Naik
Member
From: the edge of insanity
Registered: 2015-10-03
Posts: 328

Re: [Solved] Scrolling via synaptic touchpad no longer possible

Hey, thank you!
To do as you suggested i first had to create the /etc/x11/xorg.conf.d folder which in fact didn`t even existed. I put in the 60-libinput.conf and things worked fine until i tried to manipulate the options in it.
every single value commented out in my libinput.conf below causes the system to hang on boot.

# Match on all types of devices but tablet devices and joysticks
Section "InputClass"
        Identifier "libinput pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
#        Tapping "1"
#        HorizontalScrolling "1"
#        NaturalScrolling "1"
EndSection

Section "InputClass"
        Identifier "libinput touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

why is this? am i doing it wrong? have i missed something?

naik --greetz


"Kaum macht [Mensch]* es richtig, funktioniert es sofort!"
BL-Kitchen Codeberg

Offline

#4 2016-05-21 09:49:41

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [Solved] Scrolling via synaptic touchpad no longer possible

Naik wrote:

why is this? am i doing it wrong? have i missed something?

Yes, you need to actually *read* the man page I linked to tongue

SYNOPSIS
       Section "InputDevice"
         Identifier "devname"
         Driver "libinput"
         Option "Device"   "devpath"
         ...
       EndSection

So for your options you should have:

    Option "Tapping" "1"
    Option "HorizontalScrolling" "1"
    Option "NaturalScrolling" "1"

Note that you should be able to install xserver-xorg-input-synaptics and switch back to that again, as outlined in this post:
https://forums.bunsenlabs.org/viewtopic … 434#p25434

Offline

#5 2016-05-22 17:06:18

paxmark1
Member
Registered: 2015-10-02
Posts: 45

Re: [Solved] Scrolling via synaptic touchpad no longer possible

If you are running sid - you might want to follow the Siduction forums.  That one did sneak past apt-listbugs.

Offline

#6 2016-05-22 17:22:38

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [Solved] Scrolling via synaptic touchpad no longer possible

paxmark1 wrote:

That one did sneak past apt-listbugs.

That's because it's not a bug smile

API changes are all part of the fun of rolling releases.

Offline

#7 2016-05-23 21:28:45

Naik
Member
From: the edge of insanity
Registered: 2015-10-03
Posts: 328

Re: [Solved] Scrolling via synaptic touchpad no longer possible

@ Head_on_a_Stick: I actually did. But English is still a foreign language to me and i suggested it useing "Option" in this case to simply clarify that the following will describe one of the possible options. but anyway, trying as you suggested didn't work out too..
i will now try to switch back to synaptic drivers and will be back tomorrow with the news of triumph or failure wink

naik --greetz


"Kaum macht [Mensch]* es richtig, funktioniert es sofort!"
BL-Kitchen Codeberg

Offline

#8 2016-05-24 06:28:16

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [Solved] Scrolling via synaptic touchpad no longer possible

Naik wrote:

I actually did. But English is still a foreign language to me and i suggested it useing "Option" in this case to simply clarify that the following will describe one of the possible options. but anyway, trying as you suggested didn't work out too..

Ah, of course -- my apologies  :8

Did you still have /etc/X11/xorg.conf.d/10-synaptic.evdev in place as well as the new libinput file?

I think they would conflict if that was the case.

Check your Xorg log to see which is loading, if you run a display manager use:

grep 'synaptic\|libinput' /var/log/Xorg.0.log

If you have a console login with rootless X use:

grep 'synaptic\|libinput' ~/.local/share/xorg/Xorg.0.log

This will check which devices are covered:

libinput-list-devices

Offline

#9 2016-05-24 09:06:22

Naik
Member
From: the edge of insanity
Registered: 2015-10-03
Posts: 328

Re: [Solved] Scrolling via synaptic touchpad no longer possible

ok, for now everthing works as expected but i think i left quite a mess while achieving this.
I discovered that the synaptics driver was still installed and so simply placed a new config in /etc/X11/xorg.conf.d/synaptics.conf which reads like:

Section "InputClass"
Identifier "Touchpad"
MatchIsTouchpad "yes"
Driver "synaptics"
Option "MinSpeed" "0.4"
Option "MaxSpeed" "0.9"
Option "AccelFactor" "0"
Option "TapButton1" "1"
Option "TapButton2" "3"
Option "VertTwoFingerScroll" "0"
Option "HorizTwoFingerScroll" "0"
Option "VertEdgeScroll" "1"
Option "CoastingSpeed" "8"
Option "CornerCoasting" "1"
Option "TouchpadOff" "0"
Option "HorizEdgeScroll" "1"
Option "VertEdgeScroll" "1"
EndSection

To be sure it will be used i removed xserver-xorg-input-libinput. Well I shouldn`t have done this because it also removed xserver-xorg-input-all and although my touchepad did what i wanted it to do my keyboard stopped working at all. Reinstalling the xserver-xorg-input-all package vie recovery straightened things up again and all desired functionality is present, i can`t get rid of the feeling that drivers are a litlle messed up now and will lead to problems later...

anyway it may be helpful to have a look at the output you asked for anyway

naik@HP-D2:~$ grep 'synaptic\|libinput' /var/log/Xorg.0.log
[    28.837] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    28.837] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    28.837] (II) LoadModule: "libinput"
[    28.838] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    28.895] (II) Module libinput: vendor="X.Org Foundation"
[    28.895] (II) Using input driver 'libinput' for 'Power Button'
[    29.008] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    29.008] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    29.008] (II) Using input driver 'libinput' for 'Video Bus'
[    29.033] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[    29.033] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[    29.033] (II) Using input driver 'libinput' for 'Sleep Button'
[    29.064] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[    29.064] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[    29.064] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[    29.100] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[    29.100] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[    29.100] (II) LoadModule: "synaptics"
[    29.100] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[    29.115] (II) Module synaptics: vendor="X.Org Foundation"
[    29.116] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[    29.180] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5472 (res 75)
[    29.180] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4448 (res 123)
[    29.180] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[    29.180] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[    29.180] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left right double triple
[    29.180] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[    29.181] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[    29.216] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[    29.216] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 2.25
[    29.216] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.000
[    29.217] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[    29.222] (**) HP WMI hotkeys: Applying InputClass "libinput keyboard catchall"
[    29.222] (**) HP WMI hotkeys: Applying InputClass "libinput keyboard catchall"
[    29.222] (II) Using input driver 'libinput' for 'HP WMI hotkeys'
[    45.196] (II) UnloadModule: "libinput"
[    45.196] (II) UnloadModule: "synaptics"
[    45.197] (II) UnloadModule: "libinput"
[    45.197] (II) UnloadModule: "libinput"
[    45.197] (II) UnloadModule: "libinput"
[    45.197] (II) UnloadModule: "libinput"

Libinput-list-devices answers "Command not found".

naik --greetz

Last edited by Naik (2016-05-24 09:07:48)


"Kaum macht [Mensch]* es richtig, funktioniert es sofort!"
BL-Kitchen Codeberg

Offline

Board footer

Powered by FluxBB