samsung-{a3,a5,a7,klte,serranove}: Move 20-tm2-touchkey-input.rules to postmarketos-base
Fixes #1422 (closed)
Merge request reports
Activity
added 1 commit
- 68b453c7 - samsung-{a3,a5,a7,klte,serranove}: Move 20-tm2-touchkey-input.rules to postmarketos-base
By Raymond Hackley on 2022-02-12T07:18:11
added 1 commit
- 9c889c81 - samsung-{a3,a5,a7,klte,serranove}: Move 20-tm2-touchkey-input.rules to postmarketos-base
By Raymond Hackley on 2022-02-12T07:19:25
mentioned in issue #1422 (closed)
By Raymond Hackley on 2022-02-12T07:23:13
- Resolved by Administrator
added 1 commit
- a69eb51b - samsung-{a3,a5,a7,klte,serranove}: Move 20-tm2-touchkey-input.rules to postmarketos-base
By Raymond Hackley on 2022-02-12T07:27:50
added 1 commit
- 56c77c7a - samsung-{a3,a5,a7,klte,serranove}: Move 20-tm2-touchkey-input.rules to postmarketos-base
By Raymond Hackley on 2022-02-12T07:29:00
- Resolved by Administrator
$ .ci/check_devices_in_wiki.py --booting *** Failed to parse wiki page
How do I fix this?
By Raymond Hackley on 2022-02-12T07:40:20
- Resolved by Administrator
Darn, I didn't mean to resolve all threads, I tried to add a code suggestion and failed
. I'll now add it as usual comment instead.By Jakko on 2022-02-12T11:23:04
Edited by Ghost User
- Resolved by Administrator
This udev rule now applies to all devices that use the tm2-touchkey driver. There might be devices we're not aware of. We don't know how their right key is mapped and if that makes sense in combination with their left key being mapped to "menu".
Therefore the right key should be mapped as well. This provides the same set of key mapping to all devices using tm2-touchkey in postmarketOS [edit: when using a kernel ≥ 5.16].
# map tm2-touchkey to KEY_MENU and KEY_BACK SUBSYSTEM=="input", KERNEL=="event*", DRIVERS=="tm2-touchkey", ENV{KEYBOARD_KEY_00}="menu", ENV{KEYBOARD_KEY_01}="back", RUN{builtin}+="keyboard"
Maybe split to two lines:
# map tm2-touchkey to KEY_MENU and KEY_BACK SUBSYSTEM=="input", KERNEL=="event*", DRIVERS=="tm2-touchkey", \ ENV{KEYBOARD_KEY_00}="menu", ENV{KEYBOARD_KEY_01}="back", RUN{builtin}+="keyboard"
By Jakko on 2022-02-13T03:11:24
Edited by Administrator
added 1 commit
- 32456e6f - samsung-{a3,a5,a7,klte,serranove}: Move 20-tm2-touchkey-input.rules to postmarketos-base
By Raymond Hackley on 2022-02-13T03:10:40