https://bugs.freedesktop.org/show_bug.cgi?id=106534

            Bug ID: 106534
           Summary: Logitech K400: double tap on touchpad is filtered by
                    debouncing code
           Product: Wayland
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: libinput
          Assignee: wayland-bugs@lists.freedesktop.org
          Reporter: noab...@yahoo.com
                CC: 1762...@trash-mail.com, peter.hutte...@who-t.net,
                    wayland-bugs@lists.freedesktop.org
        Depends on: 105974

Created attachment 139584
  --> https://bugs.freedesktop.org/attachment.cgi?id=139584&action=edit
Patch for source package in Cosmic 1.10.6

+++ This bug was initially created as a clone of Bug #105974 +++
+++             Which is an extension of bug 104415          +++

this is a copy of:
https://bugs.launchpad.net/ubuntu/+source/libinput/+bug/1762536

Affects Logitech Wireless Keyboard/Touchpad combo devices.

 libinput:mouse:input:b0003v046Dp404B*
  LIBINPUT_MODEL_LOGITECH_K400r=1

 libinput:mouse:input:b0003v046Dp404C*
  LIBINPUT_MODEL_LOGITECH_K830=1

 libinput:mouse:input:b0003v046Dp404D*
  LIBINPUT_MODEL_LOGITECH_K400plus=1

Conglomerated as the code is clearly a workaround not designed for a large
database of affected hardware.  Apparently filtering devices from debouncing
was unexpected.  As-is, patching is inaccessible in the common use arena.

 libinput:mouse:input:b0003v046Dp404*
  LIBINPUT_MODEL_LOGITECH_KBTP=1


        if (device->model_flags &          
(EVDEV_MODEL_MS_NANO_TRANSCEIVER|EVDEV_MODEL_LOGITECH_K400|EVDEV_MODEL_LOGITECH_KBTP))
{
                dispatch->debounce.state = DEBOUNCE_STATE_DISABLED;
                return;
        }

Ubuntu 18.04.  Since users reported a patch in "Cosmic":
echo "deb-src http://us.archive.ubuntu.com/ubuntu/ cosmic main universe
multiverse" | sudo tee /etc/apt/sources.list.d/cosmic.list
sudo apt update
sudo apt build-dep libinput10
apt source libinput10

Edit affected files (catfish search all files for text K400):
libinput-1.10.6.orig/src/evdev-debounce.c
libinput-1.10.6.orig/src/evdev.c
libinput-1.10.6.orig/src/evdev.h
libinput-1.10.6.orig/udev/90-libinput-model-quirks.hwdb
Edit all files based using existing entries as guide.
Commit patch in source (required to build locally)

debuild -uc -us


Referenced Bugs:

https://bugs.freedesktop.org/show_bug.cgi?id=105974
[Bug 105974] Logitech K400: double tap on touchpad is filtered by debouncing
code
-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to