PinePhone_Keyboard/tty
Peter Thomason a301d5fce5 Added console switching with using Ctrl as well as Alt, and Ctrl + Alt. 2022-07-16 21:09:12 +10:00
..
83-ppkb.rules TTY automation improvements 2022-05-17 22:26:53 +10:00
README.md Added console switching with using Ctrl as well as Alt, and Ctrl + Alt. 2022-07-16 21:09:12 +10:00
en.map Added console switching with using Ctrl as well as Alt, and Ctrl + Alt. 2022-07-16 21:09:12 +10:00
keymaps_legend.txt Fixed map issues, added a legend for how the keymap works, changed ppkb_detector.sh to reflect the correct directory, updated the README. 2022-07-13 08:41:04 +10:00
ppkb_detector.sh Fixed map issues, added a legend for how the keymap works, changed ppkb_detector.sh to reflect the correct directory, updated the README. 2022-07-13 08:41:04 +10:00

README.md

TTY Only Settings

Good News! The keymap for this has been included in the kbd > 2.5.0 package:
https://git.kernel.org/pub/scm/linux/kernel/git/legion/kbd.git/tree/data/keymaps/pine/en.map?id=1589e9e1019756b5287b41dddcd7285271c5990e
In the future this will only serve to host the udev rule for auto orientation for the screen and loading the keymap.

News from 13/07/2022

There is an inherant issue with the electrical connctions in the keyboard that cause multiple triggering issues when using Alt + Fn + F2 or F3. As they are all in a pattern electrically they create a box pattern and the firmware driving the keyboard can't distinguish between the signals.
Please see the following for more information: #5
How this was solved is making a console switch to include Ctrl + Fn + F2 or F3.

Add ppkb related files to your system

# cp ./ppkb_detector.sh /usr/bin/
# cp ./83-ppkb.rules /etc/udev/rules.d

On Systemd systems trigger the new rule run:

# udevadm control --reload

or:

# udevadm trigger

or last option is to reboot the phone.

The udev rule detects that the ppkb is connnected by monitoring the kernel module and assigning automatically the keymap and screen orientation for you.

This has been made the same as xkb and AltG + top row will display the correct symbols.

See the following for more information:
https://wiki.archlinux.org/title/Linux_console/Keyboard_configuration
https://wiki.archlinux.org/title/Udev
man 5 keymaps