Check Battery Level for Keyboard
#4
It's supposed to be "firmware and tools". It looks like you have to clone the source tree with git and then build from source. (On Mobian to get the C compiler, make, etc., you need to "sudo apt-get install build-essential". Not sure on other distros.)

Code:
git clone https://megous.com/git/pinephone-keyboard

Then you cd into the resulting pinephone-keyboard directory where there's a Makefile which has a target to build the tools/utilities. So if you have the prerequisites installed the following would build everything, or just build the tools, respectively:

Code:
make            # Build everything

make tools      # Build tools/utilities only

However, it appears that one of the prerequisites is php, when running either make command the following diagnostic is issued because that's not installed:

Code:
php keymaps/map-to-c.php keymaps/physical-map.txt keymaps/factory-keymap.txt build/kmap.h
make: php: No such file or directory
make: *** [Makefile:21: build/kmap.h] Error 127

The problem is that "apt-get install php" wants to drag in a bunch of other stuff including the apache web server and I really don't want that. (Though I could install all that stuff, build the tools, then remove it all afterwards.)
  Reply


Messages In This Thread
Check Battery Level for Keyboard - by ragreenburg - 02-07-2022, 12:59 PM
RE: Check Battery Level for Keyboard - by Zebulon Walton - 02-07-2022, 02:44 PM
RE: Check Battery Level for Keyboard - by Savrik - 02-10-2022, 06:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Searching for a PinePhone Keyboard Case RubiksCube 1 1,277 10-07-2024, 11:08 PM
Last Post: tllim
  So which keyboard you suggest for the Pinephone? Peter Gamma 21 6,162 07-19-2024, 08:05 AM
Last Post: Peter Gamma
  Rii mini 4 keyboard and touchpad work over Bluetooth Peter Gamma 0 586 07-19-2024, 08:02 AM
Last Post: Peter Gamma
  Bring the Pinephone keyboard back, it is worth it! Peter Gamma 1 1,086 07-04-2024, 07:32 AM
Last Post: Kevin Kofler
Heart The Pinephone keyboard offers alternative layouts Peter Gamma 0 413 07-04-2024, 05:40 AM
Last Post: Peter Gamma
  Keyboard & 2.4G usb dongle for the Pinephone? Peter Gamma 2 1,132 06-29-2024, 09:36 PM
Last Post: Peter Gamma
  Bluetooth keyboard with trackpad Zebulon Walton 11 12,078 06-29-2024, 04:09 AM
Last Post: Peter Gamma
  Was someone able to use the Pinephone keyboard & an usb mouse at the same? Peter Gamma 4 3,957 06-26-2024, 07:11 AM
Last Post: dachalife
Exclamation USB mouse isn't working when a PP keyboard is attached? mikeb 6 3,002 06-25-2024, 12:10 AM
Last Post: Peter Gamma
  keyboard case charging but not typing new2pinephone 18 9,744 02-19-2024, 07:30 AM
Last Post: theResonant

Forum Jump:


Users browsing this thread: 4 Guest(s)