linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Implement notifier chain for lid switch events
@ 2025-10-30 14:10 Jonathan Denose
  2025-10-30 14:10 ` [PATCH 1/2] Input: Create input notifier chain in input.c Jonathan Denose
  2025-10-30 14:10 ` [PATCH 2/2] HID: multitouch: Toggle touch surface on Elan touchpad on lid event Jonathan Denose
  0 siblings, 2 replies; 6+ messages in thread
From: Jonathan Denose @ 2025-10-30 14:10 UTC (permalink / raw)
  To: Dmitry Torokhov, Jiri Kosina, Benjamin Tissoires
  Cc: linux-input, linux-kernel, Jonathan Denose

To circumvent a hardware issue where the touchpad is not physically
connected to the lid angle sensor, implement a notifier chain which
broadcasts lid switch events and a notifier_block which can be enabled
via a quirk to listen for those events turning the touchpad surface
on or off based on if the lid is open or closed. This will prevent
issues resulting from interference between the laptop lid and the
touchpad.

Signed-off-by: Jonathan Denose <jdenose@google.com>
---
Jonathan Denose (2):
      Input: Create input notifier chain in input.c
      HID: multitouch: Toggle touch surface on Elan touchpad on lid event

 drivers/hid/hid-multitouch.c | 32 +++++++++++++++++++++++++++++++-
 drivers/input/input.c        | 13 +++++++++++++
 include/linux/input.h        |  7 +++++++
 3 files changed, 51 insertions(+), 1 deletion(-)
---
base-commit: 3a8660878839faadb4f1a6dd72c3179c1df56787
change-id: 20251014-lid-switch-notifier-1cb9918d675d

Best regards,
-- 
Jonathan Denose <jdenose@google.com>


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-11-05 22:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-30 14:10 [PATCH 0/2] Implement notifier chain for lid switch events Jonathan Denose
2025-10-30 14:10 ` [PATCH 1/2] Input: Create input notifier chain in input.c Jonathan Denose
2025-11-05 21:55   ` Dmitry Torokhov
2025-11-05 22:40     ` Jonathan Denose
2025-11-05 22:59       ` Dmitry Torokhov
2025-10-30 14:10 ` [PATCH 2/2] HID: multitouch: Toggle touch surface on Elan touchpad on lid event Jonathan Denose

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).