Use the Linux Console with the PinePhone Keyboard
#1
With the help of these two references, the console is usable with the PinePhone Keyboard, and the combination has the symbol row working with the Pinecone Key.

ludgate's help on the console

Modify the two files as ludgate describes.

xnux's help on the console symbols

For the symbol row, make the file ppkb.map:

Code:
#strings as usual
#compose as usual for "iso-8859-1"
#keymaps 0-63

plain keycode 125 = ShiftR
ShiftR keycode 125 = ShiftR
ShiftR keycode 0x02 = bar
ShiftR keycode 0x03 = backslash
ShiftR keycode 0x06 = asciitilde
ShiftR keycode 0x07 = grave
ShiftR keycode 0x08 = minus
ShiftR keycode 0x09 = equal
ShiftR keycode 0x0a = underscore
ShiftR keycode 0x0b = plus


then enter or automate:

Code:
sudo loadkeys ppkb.map

To automate, one could insert this into .profile

Code:
export XKB_DEFAULT_MODEL=ppkb
if [ $(tty) = "/dev/pts/0" ]; then
    tty
else
    tty
    sudo loadkeys ppkb.map
fi

Then the console is reachable by pressing Ctrl Fn Alt 2. The Phosh interface is at Ctrl Fn Alt 7, with more consoles in between.
  Reply
#2
It seems that the DanctNIX Arch images do not require this fix, but just the rotation. And the keyboard symbols also work under Wayland with Arch.
  Reply
#3
So, do DanctNIX Arch installations have a monopoly on supporting the PinePhone Keyboard, in both console and Wayland? I forget if Manjaro installations include DanctNIX.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Case for Pinephone totilele 13 7,260 04-11-2024, 11:48 AM
Last Post: gramonyl
  keyboard case charging but not typing new2pinephone 18 5,799 02-19-2024, 07:30 AM
Last Post: theResonant
  Keyboard doesn't charge my phone no matter what, so can I charge my phone directly ragreenburg 3 8,613 01-14-2024, 03:34 PM
Last Post: acid andy
  PinePhone Dock with laptop? Mikey1977Y2J 2 640 12-12-2023, 05:43 PM
Last Post: Mikey1977Y2J
  I've added an I2C connector to the PP keyboard eugenr 0 427 11-26-2023, 07:24 AM
Last Post: eugenr
  Update the PinePhone keyboard driver to support missing characters? Peter Gamma 8 8,178 10-22-2023, 08:43 PM
Last Post: Peter Gamma
  key repeat with pinephone keyboard rotwang 0 452 10-22-2023, 03:39 PM
Last Post: rotwang
Exclamation USB mouse isn't working when a PP keyboard is attached? mikeb 3 1,240 10-21-2023, 08:21 PM
Last Post: Peter Gamma
  Pinephone with mini keyboard, trackpad and large power bank? Peter Gamma 0 519 10-21-2023, 07:50 AM
Last Post: Peter Gamma
  Which mini keyboard and mouse to choose for the PP? Peter Gamma 0 617 10-21-2023, 02:55 AM
Last Post: Peter Gamma

Forum Jump:


Users browsing this thread: 1 Guest(s)