I had this too. The solution was to rebuild the kernel module manually.
These are the steps that I made:
1. Clone kernel sources from https://github.com/megous/linux
2. copy kernel config
zcat /proc/config.gz > .config
then edit .config and replace line
# CONFIG_KEYBOARD_PINEPHONE is not set
with
CONFIG_KEYBOARD_PINEPHONE=m
3. run
make modules_prepare
4. edit include/generated/utsrelease.h to make sure it matches 'uname r' exactly. I had to add dash 1.
5. make the module and copy to correct location
make M=drivers/input/keyboard
xz drivers/input/keyboard/pinephone-keyboard.ko
sudo cp -f drivers/input/keyboard/pinephone-keyboard.ko.xz /usr/lib/modules/5.17.5-1-MANJARO-ARM/kernel/drivers/input/keyboard
6. run depmod and load the module, rerun mkinitcpio
depmod
modprobe pinephone-keyboard
mkinitcpio -P
There is a bug report for this at Manjaro:
https://gitlab.manjaro.org/manjaro-arm/p.../issues/17
After this you will likely have a mapping problem with the special characters under the numbers. See https://xnux.eu/log/#066
These are the steps that I made:
1. Clone kernel sources from https://github.com/megous/linux
2. copy kernel config
zcat /proc/config.gz > .config
then edit .config and replace line
# CONFIG_KEYBOARD_PINEPHONE is not set
with
CONFIG_KEYBOARD_PINEPHONE=m
3. run
make modules_prepare
4. edit include/generated/utsrelease.h to make sure it matches 'uname r' exactly. I had to add dash 1.
5. make the module and copy to correct location
make M=drivers/input/keyboard
xz drivers/input/keyboard/pinephone-keyboard.ko
sudo cp -f drivers/input/keyboard/pinephone-keyboard.ko.xz /usr/lib/modules/5.17.5-1-MANJARO-ARM/kernel/drivers/input/keyboard
6. run depmod and load the module, rerun mkinitcpio
depmod
modprobe pinephone-keyboard
mkinitcpio -P
There is a bug report for this at Manjaro:
https://gitlab.manjaro.org/manjaro-arm/p.../issues/17
After this you will likely have a mapping problem with the special characters under the numbers. See https://xnux.eu/log/#066