Dear Hans,
Thank you for taking the time to reply.
Am 13.11.23 um 13:08 schrieb Hans de Goede:
On 11/13/23 09:39, Paul Menzel wrote:
On a Dell XPS 13 9360 with a touchscreen, when it’s connect to an
external monitor, that is set up as the only display, the
touchscreen – although the internal monitor is disabled (in GNOME)
– is still active and draws power according to PowerTOP: >>
$ uname -a
Linux abreu 6.5.0-4-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.10-1 (2023-11-03) x86_64 GNU/Linux
$ lsusb | grep Touchscreen
Bus 001 Device 003: ID 04f3:2234 Elan Microelectronics Corp. Touchscreen
$ sudo LANG= powertop
Power est. Usage Events/s Category Description
9.39 W 100.0% Device USB device: DELL DA300 (Bizlink)
1.39 W 100.0% Device USB device: Touchscreen (ELAN)
Is there a way to disable the touchscreen, so it does not draw power?
`sudo modprobe -r hid-multitouch` also affects the touchpad, which is not wanted.
Ideally userspace would close the /dev/input/event node belonging to
the touchscreen when the internal panel is off. Please file an issue
for that against libinput (to add the plumbing for this to libinput,
ultimately the wayland-compositor, e.g. mutter, then needs to use
that plumbing).
I created issue *Disabling the panel of a touchscreen does not disable
the input/touch part wasting energy* [1].
[…]
Kind regards,
Paul
[1]: https://gitlab.freedesktop.org/libinput/libinput/-/issues/956