After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 726011 - Support for laptops without trackstick buttons (T440, etc.)
Support for laptops without trackstick buttons (T440, etc.)
Status: RESOLVED INVALID
Product: gnome-settings-daemon
Classification: Core
Component: mouse
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Ondrej Holy
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2014-03-10 01:26 UTC by Peter Hutterer
Modified: 2014-03-13 10:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
0001-mouse-check-for-a-touchpad-with-top-software-button-.patch (10.04 KB, patch)
2014-03-10 01:26 UTC, Peter Hutterer
accepted-commit_after_freeze Details | Review

Description Peter Hutterer 2014-03-10 01:26:52 UTC
Created attachment 271394 [details] [review]
0001-mouse-check-for-a-touchpad-with-top-software-button-.patch

The Lenovo T440, T540, X240 series have a touchpad where the top edge serves as software-emulated buttons for the trackstick. In the synaptics driver, this feature is exposed through the "Synaptics Secondary Soft Button Areas" property.

For the touchpads to work satisfactory, syndaemon is needed to disable the touchpad when the trackstick is in use:
        syndaemon -P -I <timeout>

These flags are set on their own, or together with the keyboard-related flags.

What we need for g-s-d is to always start syndaemon when such a touchpad is present, and then merely kill and restart it with the keyboard-related flags enabled or disabled. For other touchpads, we keep the current behaviour. 

For the xorg driver work, see https://bugs.freedesktop.org/show_bug.cgi?id=74544

Tentative patch attach, please note that we don't have an upstream release for this feature yet so things may still change. Do not commit.
Comment 1 Bastien Nocera 2014-03-13 10:36:27 UTC
Review of attachment 271394 [details] [review]:

Urgh. You can remove the Signed-off-by line, code looks fine.
Comment 2 Peter Hutterer 2014-03-13 10:39:00 UTC
Update on this: we've fixed the synaptics driver in a way that we don't need syndaemon to trigger this anymore. Might need it later once we release and get some more feedback, but for now it looks like we can leave it as-is.
Comment 3 Bastien Nocera 2014-03-13 10:47:41 UTC
That's good news. Thanks!