Pinebook Pro Revised Keyboard Firmware
Hey all! 

I've been digging into the keyboard firmware recently and trying to figure out how it all works, and luckily it's been pretty straight-forward 8051 assembly. I've started writing some pseudo-code to figure out the flow and data that's being read from the memory. From all that, it's been pretty easy to tackle some of the issues people have been reporting in the forums and Github, and I've put together a "revised" version of the binaries that contain some modifications that you might enjoy:
  • Corrected Fn+F9-12 keys for ANSI (ISO version didn't have this issue)
  • Arrow (and other) keys work with the Pine (GUI) key
  • NumLock is respected only in the Fn layer, i.e. NumLock can be left on all the time
  • Privacy switches now send keycodes when being enabled/disabled, for working into scripts/notifications:
F14: Microphone Enabled
F18: Microphone Disabled
F13: Wifi Enabled
F17: Wifi Disabled
F15: Camera Enabled
F19: Camera Disabled

Check out the fork of the updater with flashing instructions here!

2020-01-31 Update: You can make your own keymaps

I've converted the revised changes into C code that allows you to actually compile things, and combine the changes with the .hex file automatically - this means you can easily create your own keymap, compile (from your PBP) and flash it to your PBP's keyboard. Both default ANSI and ISO versions have been used by community members, but I think it needs more thorough testing before it's ready for production.

Check out all of the documentation for building your own keymaps here!

These changes also fix a bug with the F3 key, adds arbitrary file flashing to the updater, along with some other changes that are documented in the PR itself.

If you have any bug reports or suggestions for other features, feel free to open an issue/PR in the repo, or discuss things here!

Messages In This Thread
Pinebook Pro Revised Keyboard Firmware - by jackhumbert - 01-22-2020, 03:18 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Touchpad notchy on new 2021 pinebook pro Neilcob 19 1,326 06-18-2021, 08:44 PM
Last Post: BCB
  Pinebook Pro Docking Deck Ethernet Port MickTheGeek 1 237 06-16-2021, 07:49 PM
Last Post: Kuawi
  PineBook Pro revision 2.2: Wishlist for the hardware issue fixes dsimic 62 16,255 06-12-2021, 04:05 AM
Last Post: KC9UDX
  Replacing the Keyboard gabb 3 184 06-11-2021, 02:50 AM
Last Post: dsimic
  pinebook pro trackpad randomly stops working chewie 3 414 05-08-2021, 06:53 AM
Last Post: KC9UDX
  Some keyboard keys not working oddsocks 10 1,233 04-20-2021, 08:33 AM
Last Post: dsimic
Question Disassembling PineBook Pro Docking Deck (due to disappeared microSD card) gritibaenz 4 1,273 04-02-2021, 06:45 PM
Last Post: tkudog
  Microphone not working on Pinebook Pro vfr400racer 2 903 03-21-2021, 02:56 AM
Last Post: vfr400racer
Photo PineBook Docking Deck charging port? ColoBill 3 1,300 02-26-2021, 10:07 PM
Last Post: Paull
  Anyone have a microphone working on a Pinebook Pro? Rachel Stone 5 1,331 02-20-2021, 05:21 AM
Last Post: dsimic

Forum Jump:

Users browsing this thread: 1 Guest(s)