Skip to content
Snippets Groups Projects

Draft: arm64: dts: imx8mq-librem5: add an input key via the hall sensor

2 unresolved threads

this is mainly an RFC that we could use the hall sensor as an input source.

SW_LID doesn't immediately make sense to me. Is there an input key that could be useful?

how to test:

run sudo eveumu-record, select the gpio-keys and wait for events. You create the event by placing a permanent magnet near the back side of the phone, the area betwee the buttons(? @eric.kuzmenko or @angus.ainslie or @sebastian.krzyszkowiak would know better where it is).

It's described as a wakeup source so this is an elegant way to wake up the phone from system-suspend too.

Where is a permanent magnet? If you by accident own an X230 thinkpad laptop, the one for the LID is on the bottom side between the speakers. Touch the laptop and phone there and it works :) Other laptops might have one too, just look for it using a piece of metal (screwdriver or sth).

Merge request reports

Members who can merge are allowed to add commits.

Pipeline #85824 passed

Pipeline passed for e8010ecb on martin.kepplinger:hall_sensor_key1

Checking if merge request can be merged…
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply