PINE64

Full Version: Pinephone Keyboard Utilities on postmarketOS
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I have my Pinephone Keyboard working really well with my Pinephone running postmarketOS edge.

However, I cannot check the current charge of the keyboard battery.

The device does not show up as /sys/class/power_supply/ip5xxx_power 
I am unable to compile the ppkb utilities as sdcc is not available in the pmOS.

Does anyone running pmOS on the Pinephone know how to tackle this?

Thanks in advance!

Relevant links:
Pinephone Keyboard userspace module FAQ https://xnux.eu/pinephone-keyboard/faq.html
Software Support for the PPKB https://wiki.pine64.org/wiki/PinePhone_(...re_support

P.S.:
I've searched the forum for
  • ppkb postmarketOS
  • sdcc postmarketOS
  • ppkb pmos
  • sdcc pmos
but haven't found anything so I thought I'd open this thread
(03-03-2022, 06:39 AM)elof Wrote: [ -> ]Hi,

I have my Pinephone Keyboard working really well with my Pinephone running postmarketOS edge.

However, I cannot check the current charge of the keyboard battery.

The device does not show up as /sys/class/power_supply/ip5xxx_power 
I am unable to compile the ppkb utilities as sdcc is not available in the pmOS.

Does anyone running pmOS on the Pinephone know how to tackle this?

Thanks in advance!

Relevant links:
Pinephone Keyboard userspace module FAQ https://xnux.eu/pinephone-keyboard/faq.html
Software Support for the PPKB https://wiki.pine64.org/wiki/PinePhone_(...re_support

P.S.:
I've searched the forum for
  • ppkb postmarketOS
  • sdcc postmarketOS
  • ppkb pmos
  • sdcc pmos
but haven't found anything so I thought I'd open this thread
http://sdcc.sourceforge.net/ ?
(03-19-2022, 02:24 PM)--- Wrote: [ -> ]
(03-03-2022, 06:39 AM)elof Wrote: [ -> ]Hi,

I have my Pinephone Keyboard working really well with my Pinephone running postmarketOS edge.

However, I cannot check the current charge of the keyboard battery.

The device does not show up as /sys/class/power_supply/ip5xxx_power 
I am unable to compile the ppkb utilities as sdcc is not available in the pmOS.

Does anyone running pmOS on the Pinephone know how to tackle this?

Thanks in advance!

Relevant links:
Pinephone Keyboard userspace module FAQ https://xnux.eu/pinephone-keyboard/faq.html
Software Support for the PPKB https://wiki.pine64.org/wiki/PinePhone_(...re_support

P.S.:
I've searched the forum for
  • ppkb postmarketOS
  • sdcc postmarketOS
  • ppkb pmos
  • sdcc pmos
but haven't found anything so I thought I'd open this thread
http://sdcc.sourceforge.net/ ?

Have you successfully built it from source on pmOS yet? Unfortunately there is no aarch64 linux build afaik.
I'd love to hear how you did it. I can't find straightforward instructions for this and I've so far not been successful in my attempts.

Currently the configure script fails stating
"C compiler cannot create executables".

This is with gcc-11.2.1 on pmOS edge.