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

noab...@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #139604|0                           |1
        is obsolete|                            |

--- Comment #8 from noab...@yahoo.com ---
Created attachment 139612
  --> https://bugs.freedesktop.org/attachment.cgi?id=139612&action=edit
Corrected no-debounce for source package in Cosmic 1.10.6

Was dreaming about this issue last night, that's when you know good
trouble-shooting is taking place.  

Existing patch in Cosmic must be wrong.  Addition of K400 patch uses same
no-debounce code created for MS_NANO_TRANSCEIVER=1.  That code defines the
debounce exception handler and isn't supposed to be extensible.  Removed all
existing entries for K400 and localized changes to
libinput-1.10.6/udev/90-libinput-model-quirks.hwdb.

Built my own sources clean:
apt --build source libinput10

Created /etc/udev/hwdb.d/99-no-debounce.hwdb:
# Logitech K400r
libinput:mouse:input:b0003v046Dp404B*
 LIBINPUT_MODEL_MS_NANO_TRANSCEIVER=1

# Logitech K830
libinput:mouse:input:b0003v046Dp404C*
 LIBINPUT_MODEL_MS_NANO_TRANSCEIVER=1

# Logitech K400Plus
libinput:mouse:input:b0003v046Dp404D*
 LIBINPUT_MODEL_MS_NANO_TRANSCEIVER=1

sudo cp 99-no-debounce.hwdb /etc/udev/hwdb.d/99-no-debounce.hwdb
sudo udevadm hwdb --update

The wording of the original patch could be a bit more generic to give a clue as
to purpose, something like LIBINPUT_MODEL_GENERIC_NODEBOUNCE.  Regardless,
those entries state that the LIBINPUT_MODEL_MS_NANO_TRANSCEIVER quirk will be
applied to matching devices.

Users wanting to test no-debounce should get upstream packages with the code,
create a 99-no-debounce.hwdb and, upon successful test, migrate changes to
udev/90-libinput-model-quirks.hwdb.

-- 
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