04-21-2022, 04:11 AM
I've had another go at it with no success.
I originally tried adding the "kb151.disable_input" boot argument but found that did nothing (keyboard still worked). Then discovered this comment which explains that it has changed to "pinephone-keyboard.disable_input". And I can confirm that it does indeed disable the keyboard input.
I then compiled the pinephone-keyboard code and tried both starting it with "sudo ppkb-i2c-inputd" as well as starting it via systemd. Both had no effect (the program would run but no keyboard input).
I then tried installing ppkb-tools via pacman and again tried both starting it on the command line and via systemd with no effect. It would run (previously, when using kb151.disable_input, it would throw an error) but no output from the keyboard.
Just for future reference here's the steps I tried which I gather should have worked:
The effect this had was to disable input from the pinephone keyboard completely. Checking with ps -ef I can see that ppkb-i2c-inputd is running.
I originally tried adding the "kb151.disable_input" boot argument but found that did nothing (keyboard still worked). Then discovered this comment which explains that it has changed to "pinephone-keyboard.disable_input". And I can confirm that it does indeed disable the keyboard input.
I then compiled the pinephone-keyboard code and tried both starting it with "sudo ppkb-i2c-inputd" as well as starting it via systemd. Both had no effect (the program would run but no keyboard input).
I then tried installing ppkb-tools via pacman and again tried both starting it on the command line and via systemd with no effect. It would run (previously, when using kb151.disable_input, it would throw an error) but no output from the keyboard.
Just for future reference here's the steps I tried which I gather should have worked:
- Disable the kernel driver by adding "pinephone-keyboard.disable_input" to the end of the line starting with "setenv bootargs" in /boot/boot.txt
- Apply the change by running "sudo ./mkscr" from the "/boot" folder
- install ppkb-tools vi pacman: "sudo pacman -S ppkb-tools"
- enable the systemd service: "sudo systemctl enable ppkb-i2c-inputd.service"
- reboot
The effect this had was to disable input from the pinephone keyboard completely. Checking with ps -ef I can see that ppkb-i2c-inputd is running.