Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions etc/udev/50-iptsd.rules.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,11 @@ SUBSYSTEM=="hidraw", ACTION=="add", TAG+="systemd", \
PROGRAM="@bindir@/iptsd-check-device --quiet $env{DEVNAME}", \
PROGRAM="/bin/systemd-escape --path $env{DEVNAME}", \
ENV{SYSTEMD_WANTS}+="iptsd@$result.service"

# Hide the raw Intel Touch Host Controller (ithc) input nodes from libinput.
# On Tiger Lake devices (e.g. Surface Pro 7+/8) these duplicate the calibrated
# nodes iptsd publishes above ("IPTSD Virtual Touchscreen"/"IPTSD Virtual
# Stylus") and report a 16:9 geometry on panels that are actually 3:2, causing
# duplicate touch events and distorted coordinates near the edges.
SUBSYSTEM=="input", ATTRS{name}=="Intel Touch Host Controller*", \
ENV{ID_INPUT}="", ENV{ID_INPUT_TOUCHSCREEN}="", ENV{ID_INPUT_TABLET}=""