permacomputing

Source repository for the main permacomputing wiki site
git clone http://git.permacomputing.net/repos/permacomputing.git # read-only access
Log | Files | Refs

commit e1b92c4c7f239485f0495c25a4943eb466e49845
parent 7db9c292f2363aeb112b714b8ed5134c962cb118
Author: smeeb <smeeb@web>
Date:   Tue,  5 May 2026 09:58:27 +0200


Diffstat:
Munbrick01.mdwn | 9++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/unbrick01.mdwn b/unbrick01.mdwn @@ -105,7 +105,7 @@ and you should share a connection now. Install [`evtest`](https://wiki.postmarketos.org/wiki/Input_devices#Using_evtest_to_show_input_events) with `apk add evtest` -Run `evtest /dev/input/event0` and press the hardware buttons (vol up, vol down, power). It appears only `power` is working atm. +Run `evtest /dev/input/event0` and press the power button to get a response. ```bash Event: time 151283560.995643, type 1 (EV_KEY), code 116 (KEY_POWER), value 1 @@ -114,3 +114,10 @@ Event: time 151283561.130515, type 1 (EV_KEY), code 116 (KEY_POWER), value 0 Event: time 151283561.130515, -------------- SYN_REPORT ------------ ``` + +All hardware buttons __*and*__ the touchscreen are working. + +* `KEY_POWER` is mapped to `/dev/input/event0` +* `KEY_VOLUMEUP` is mapped to `/dev/input/event3` +* `KEY_VOLUMEDOWN` is mapped to `/dev/input/event1` +* `ABS_X`, `ABS_Y` (touchscreen) etc. is mapped to `/dev/input/event2`