Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
Dejvino 523d304260 Add cpu-sleep před 4 roky
src Add cpu-sleep před 4 roky
.gitignore Initial commit před 4 roky
LICENSE Initial commit před 4 roky
README.md Add cpu-sleep před 4 roky
meson.build Add cpu-sleep před 4 roky

README.md

PinePhone Toolkit (PPTK)

A collection of tools and utility apps for the PINE64 PinePhone.

Components

backlight

Get / Set display backlight brightness.

$ pptk-backlight get
4
$ pptk-backlight set 6

led

Get / Set LED light level for the RGB indicator and the white flash light.

# Get red RGB indicator brightness
$ pptk-led get red
255
# Turn RED indicator OFF
$ pptk-led set red 0
# Turn FLASH light ON
$ pptk-led set flash 255

cpu-sleep

Puts secondary CPUs to sleep to save energy. Wakes them up to gain more CPU power.

$ pptk-cpu-sleep enable
$ pptk-cpu-sleep get
enabled
$ pptk-cpu-sleep disable
$ pptk-cpu-sleep get
disabled

Build & Install

$ meson build
$ cd build
$ ninja
$ sudo ninja install