[How To] Flash new keyboard/touchpad firmware on Pinebook Pro

The default firmware in the keyboard and touchpad of the Pinebook Pro has been troublesome for some people.

So in late November 2019 Pine64 released a firmware flashing tool that will update the firmware inside the keyboard and touchpad hardware of the Pinebook Pro.
And we have packaged it up, so it's easy to install and use.

  1. Install the package: sudo pacman -S pinebook-pro-keyboard-updater.
  2. Run the first step: sudo updater step-1. If it does not succeed, please run the command again.
    This step is complete when the terminal outputs:
[*] Finished succesfully!
>>> release interface
[*] Please reboot now, and run `step-2`.
  1. Reboot (be aware, touchpad won't work at this stage)
  2. Run the second step: sudo updater step-2. If it does not succeed, please run the command again.
    This step is complete when the terminal outputs:
[*] Finished succesfully!
>>> release interface
[*] All done! Your keyboard and touchpad should be updated.
  1. Reboot again.

Known issues:

  • Some have mentioned they had to run sudo updater step-1 and sudo updater step-2 multiple times before it worked.
4 Likes

I get this when trying to run step -1, after updating and rebooting:


Running STEP-1...
[*] Flashing keyboard updater firmware...
>>> Fix hex file
[*] Opening in user mode...
>>> Trying to open VID:258a PID:001e...
>>> Kernel Driver Active
[*] Sending command to switch to boot mode...
[*] Command send
>>> release interface
[*] Opening in boot mode
>>> Trying to open VID:0603 PID:1020...
>>> Device not found
>>> Trying to open VID:0603 PID:1020...
>>> Device not found
>>> Trying to open VID:0603 PID:1020...
>>> Device not found
>>> Failed to open in boot mode

EDIT: after the 3rd or 4th attempt step-1 succeeded. Step-2 also took a few tries. It appears faster typing is still a no-go, in case anyone was wondering. (I had to correct every word used in this post that has repeated letters. The trackpad feels more responsive, though.) I had Bounce Keys on (not sure why.)

How would I know if it had worked as intended?

It's different, but both step-1 and 2 have messages that denote completion. step-1 ends with a message to reboot, step-2 doesn't say to reboot, but its message does tell you when it's done.

Please see Ayufan's github page of the script for how-to and outputs: https://github.com/ayufan-rock64/pinebook-pro-keyboard-updater#update-all-firmwares
@Strit, great work! Thank you! Will try it today's evening.

Added completed messages guide to the steps in the original post. So people will know when it's safe to reboot.

1 Like

step-2 is giving me problems. More than 6-7 attempts and what I get is just

...
...
>>> Verify mismatch: type=f2, pass=e2, received=d5
>>> Touchpad verify (type=242, pass=226) data failed
>>> Touchpad erase failed
>>> release interface

Lets see which attempt will do the trick

Well, it completed step-2 on the first try from tty2. For comparison, it didn't complete successfully after 5-10 attempts from KDE (fresh Preview 4 install).

All good now!

1 Like

Worked smoothly from the first try. Thanks for this!

P.S. with preview 4

1 Like

Forum kindly sponsored by