Public bug reported:

Please consider a targeted Noble SRU adding the existing upstream GPD
MicroPC 2 touchpad quirk, rather than upgrading the entire libinput
stack.

[Environment]
Ubuntu 24.04.5 LTS; libinput 1.25.0-1ubuntu3.6; kernel after updates/reboot 
6.8.0-139-generic.
Hardware: GPD MicroPC 2, DMI vendor GPD, product G1688-08, Intel Core i3-N300.
Device: ALPS0001:00 36B6:C001 Touchpad.

[Impact]
The touchpad was initially unresponsive. Linux detected it, udev identified it 
as a touchpad and GNOME input was enabled. Logs included "kernel bug: clickpad 
advertising right button". Ubuntu's installed quirk file lacks the MicroPC 2 
entry that is present upstream in libinput 1.29.2:

[GPD MicroPC 2 Touchpad]
MatchName=ALPS0001:00 36B6:C001 Touchpad
MatchUdevType=touchpad
MatchDMIModalias=dmi:*svnGPD:pnG1688-08:*
AttrInputProp=-INPUT_PROP_BUTTONPAD

Tagged upstream file via mirror:
https://gitlab.com/freedesktop-sdk/mirrors/freedesktop/libinput/libinput/-/raw/1.29.2/quirks/50-system-gpd.quirks
Upstream project file:
https://gitlab.freedesktop.org/libinput/libinput/-/blob/main/quirks/50-system-gpd.quirks

[Expected behaviour]
The packaged quirks should recognise this hardware and correct its false 
buttonpad property without requiring a local workaround.

[Workaround and evidence]
An existing local workaround had also been stored incorrectly: 
/etc/libinput/local-overrides.quirks was a directory rather than the required 
regular file. After correcting this and retaining the rule above, libinput 
quirks validate passed and libinput quirks list for the touchpad returned 
AttrInputProp=-INPUT_PROP_BUTTONPAD;.
After reboot, the touchpad worked well. This was not a controlled test proving 
that the missing packaged quirk alone caused every original symptom: the reboot 
also activated the updated kernel. Detailed gesture/suspend tests have not been 
recorded and no proposed Ubuntu package has been tested.

[Proposed fix]
Backport the narrowly matched existing MicroPC 2 quirk to Noble. A wholesale 
libinput upgrade is not requested. Maintainer advice on an appropriate SRU 
would be appreciated.

[Test Plan]
1. On affected hardware, record package versions and back up local overrides. 
Have alternative input available.
2. Temporarily remove the local MicroPC 2 rule, preserving unrelated rules, and 
check for duplicate overrides that could mask the packaged fix.
3. Install the proposed package, verify the rule in its package-owned quirk 
file and run libinput quirks validate.
4. Verify libinput quirks list matches the device and returns 
AttrInputProp=-INPUT_PROP_BUTTONPAD; without the local override.
5. Start a fresh graphical session and test pointer movement, physical 
left/right buttons, tapping, dragging and two-finger scrolling. Test 
suspend/resume separately.
6. Check unrelated input hardware where available for unintended changes.
7. Restore the backup if needed to recover input; recovery through a restored 
local override is not success of the packaged fix.

[Where problems could occur]
The match is limited by exact device name, touchpad type and GPD G1688-08 DMI 
identity. Matching units with different firmware/properties could behave 
differently. Syntax or packaging errors could affect quirk loading more 
broadly, so parser validation and unrelated-device checks matter.

[Other information]
This is a hardware compatibility/SRU request, not a security vulnerability. The 
initial Launchpad similar-report search returned no similar reports for this 
summary.

** Affects: libinput (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2167268

Title:
  GPD MicroPC 2 touchpad quirk missing in Ubuntu 24.04 libinput

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libinput/+bug/2167268/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to