Skip to content

Instantly share code, notes, and snippets.

@m-bartlett
Last active March 9, 2025 10:00
Show Gist options
  • Save m-bartlett/78d0748b279b7c4c2efd9c93c7496405 to your computer and use it in GitHub Desktop.
Save m-bartlett/78d0748b279b7c4c2efd9c93c7496405 to your computer and use it in GitHub Desktop.
Dell XPS 15 9510 / Dell Precision 5560 ELAN touchpad firmware updates (might fix touchpad input lag)

The Dell XPS 15 9510 / Dell Precision 5560 (essentially the same model with slight nuanced differences) ELAN touchpad has some issues with occasional laggy input that noticeably drifts off or ignores input while making slow movements.

This gist captures the gudiance from this post in this thread discussing how to modify the tirmware version: https://gitlab.freedesktop.org/libinput/libinput/-/issues/618#note_1837620

The firmware binaries are shared here respectively named 0b.bin and 0c.bin.

The install-touchpad-firmware requires the fwupd package be installed (or at least this is the name of the package on Arch linux. Search for whichever package contains fwupdtool on your distro).

In short, download the desired firmware(s) and the install-touchpad-firmware script, and execute the install-touchpad-firmware script with the file path of whichever firmware you wish to flash as an argument.

#!/usr/bin/env bash
# sudo pacman -S fwupd
firmware_path="${1:?firmware path required argument}"
echo -ne 'Getting device ID...'
device_id=$(sudo fwupdtool get-devices 2>/dev/null|grep Touchpad -B2|grep -oP 'Device ID: +\K.+$')
echo -e "\r$device_id"
sudo fwupdtool install-blob $firmware_path $device_id
@ldrahnik
Copy link

ldrahnik commented Oct 4, 2023

@m-bartlett Hi, I appreciate your gist, I face some issue with another driver for Touchpad device, from where / how were these binary processed?

@m-bartlett
Copy link
Author

I downloaded them from the links in this comment earlier in the thread linked in the README:
https://gitlab.freedesktop.org/libinput/libinput/-/issues/618#note_1837620

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment