PINE64
Pinephone Keyboard Utilities on postmarketOS - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: PostmarketOS on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=124)
+---- Thread: Pinephone Keyboard Utilities on postmarketOS (/showthread.php?tid=16213)



Pinephone Keyboard Utilities on postmarketOS - elof - 03-03-2022

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_(Pro)_Keyboard#Software_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


RE: Pinephone Keyboard Utilities on postmarketOS - --- - 03-19-2022

(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_(Pro)_Keyboard#Software_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/ ?


RE: Pinephone Keyboard Utilities on postmarketOS - elof - 06-20-2022

(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_(Pro)_Keyboard#Software_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.