Do you have any log for debugging On Mon, Nov 9, 2026 at 4:46 PM Asiye Sarıyıldız <[email protected]> wrote:
> > > Hello, > > I would like to report a touchpad issue I encountered on my laptop and ask > for advice on the appropriate way to address it in libinput. > > Hardware and software > > Laptop: Casper Excalibur G870 > > Touchpad: SYN1B8B:00 06CB Touchpad > > Bus: I2C (BUS_I2C, 0x18) > > Vendor ID: 0x06cb > > Product ID: 0xce7d > > Touchpad dimensions: approximately 121 × 76 mm > > Distribution: CachyOS > > Kernel: 7.3.1-1-cachyos > > libinput: 1.32.0 > > Desktop: KDE Plasma on Wayland > > Problem description > > The issue occurs when a finger enters the touchpad from the surrounding > laptop chassis. > > I can reproduce it as follows: > > Place a finger on the laptop surface just outside the touchpad. > > Without lifting the finger, slide it onto the touchpad. > > Continue moving the finger over the touchpad. > > In this situation, the pointer does not respond, even after the finger has > entered the touchpad. > > However, if I lift the finger and place it directly onto the touchpad > again, pointer movement works normally. > > This is particularly noticeable when trying to use the touchpad by sliding > a finger onto it from the surrounding palm-rest area. > > Investigation > > I first captured kernel input events using evtest. The device reported > touch and multitouch position events, including BTN_TOUCH and > ABS_MT_POSITION_X/Y, while the finger was moving onto the touchpad. > > I then captured libinput debug-events output with verbose logging enabled. > > The original libinput logs showed messages such as: > > palm detected (edge) > > The contact was initially classified as an edge palm. In the captured > logs, libinput later reported that the contact was no longer considered a > palm after it moved out of the edge zone, at which point pointer motion > events started appearing. > > This made edge palm detection a likely cause of the behavior. > > I also tested forcing the I2C bus speed from 400 kHz to 100 kHz in the > kernel, but this did not meaningfully change the behavior. > > Local workaround and test results > > I cloned libinput 1.32.0 and modified tp_init_palmdetect_edge() in > src/evdev-mt-touchpad.c. > > For this specific I2C device, I added the following check: > > if (libevdev_get_id_bustype(device->evdev) == BUS_I2C && > libevdev_get_id_vendor(device->evdev) == 0x06cb && > libevdev_get_id_product(device->evdev) == 0xce7d) > return; > > This skips the initialization of edge palm detection for this device. > > The existing pressure-based and size-based palm detection initialization > remains untouched. > > After rebuilding libinput, I tested the modified library with > libinput-debug-events. The palm detected (edge) messages disappeared from > the test capture, and pointer motion events were generated. > > I then packaged the modified libinput 1.32.0 as a local Arch Linux package > and installed it through pacman, so that KDE Plasma Wayland would use the > modified system library. > > After rebooting, I repeated the original test on the actual desktop > session. > > The issue was fixed: I can now slide my finger from the surrounding > chassis onto the touchpad without lifting it, and the pointer responds > normally. > > The package build completed successfully. The Meson test run reported: > > 11 tests passed > > 28 tests skipped > > 0 tests failed > > The skipped tests were marked as requiring hardware, root privileges, or > Valgrind. > > Questions > > I would appreciate your advice on how this should be handled upstream. > > Is this behavior expected from the current edge palm detection > implementation, or could it indicate a device-specific reporting issue? > > Would disabling edge palm detection for this device be an acceptable > workaround in libinput? > > Would a device-specific quirk be preferable to checking the I2C vendor and > product IDs directly in the touchpad code? > > Would matching the laptop's DMI information in addition to the touchpad ID > be more appropriate? > > Are there any additional tests or information you would like me to provide? > > I have the original evtest capture, the original verbose libinput capture, > and the modified libinput source available. I can provide these for further > investigation. > > I am happy to refine the implementation according to the project's > preferred approach. > > Thank you for your time and for maintaining libinput. > > Best regards, > Muhammed Sariyildiz > -- ________________ Best Regards Tran Huu Nhan https://github.com/nhanth87 https://medium.com/@nhanth87 http://nhanth87.blogspot.com/
