Pinebook Pro Keyboard Firmware Update

Table of Contents

Preface

This is a verbatim copy of the directions written on jackhumbert's git.

Installtion

# compile
git clone https://github.com/jackhumbert/pinebook-pro-keyboard-updater
cd pinebook-pro-keyboard-updater
sudo apt-get install build-essential libusb-1.0-0-dev xxd
make

# For ISO keyboard
# step-1
sudo ./updater step-1 iso
sudo reboot

# after reboot, step-2
sudo ./updater step-2 iso
sudo reboot

# For ANSI keyboard
# step-1
sudo ./updater step-1 ansi
sudo reboot

# after reboot, step-2
sudo ./updater step-2 ansi
sudo reboot

# updating to the revised ansi firmware after steps 1 and 2
sudo ./updater flash-kb firmware/default_ansi.hex

# updating to the revised iso firmware after steps 1 and 2
sudo ./updater flash-kb firmware/default_iso.hex

Modifications

  1. Corrected Fn+F9-12 keys for ANSI (ISO version didn't have this issue)
  2. Arrow (and other) keys work with the Pine (GUI) key
  3. NumLock is respected only in the Fn layer, i.e. NumLock can be left on all the time
  4. Privacy switches now send keycodes when being enabled/disabled, for working into scripts/notifications

Key codes

F14: Microphone Enabled F18: Microphone Disabled F13: Wifi Enabled F17: Wifi Disabled F15: Camera Enabled F19: Camera Disabled