summaryrefslogtreecommitdiff
path: root/sys/src/cmd/reform
AgeCommit message (Collapse)Author
2022-10-12reform/pm: lpc comms: increase delays to 80msSigrid Solveig Haflínudóttir
Apparently 60ms isn't always enough.
2022-10-08reform/pm: oops. do not invertSigrid Solveig Haflínudóttir
2022-10-08reform/pm: kbdoled: allow any size/depth of uncompressed image - convert ↵Sigrid Solveig Haflínudóttir
ourselves
2022-10-08reform/pm: kbdoled: clear the OLED on zero-length writeSigrid Solveig Haflínudóttir
2022-10-08reform/pm: provide /dev/kbdoled to display a 126x32x1 bitmap on the keyboard ↵Sigrid Solveig Haflínudóttir
OLED
2022-10-07reform/pm: power off via the keyboard firstSigrid Solveig Haflínudóttir
Now that we have a way to send HID reports, attempt to power off using the keyboard first, which should work even if LPC firmware has not been updated. It also animates a good bye message on the OLED ♥_♥
2022-10-06reform/pm: add keyboard light level controlling to /dev/lightSigrid Solveig Haflínudóttir
2022-10-06reform/shortcuts: use media keys for LCD brightness controlSigrid Solveig Haflínudóttir
2022-10-04reform/shortcuts: change to use available media keys via HyperSigrid Solveig Haflínudóttir
2022-09-27reform/audio: remove HP caps discharge; faster hp/spk switch and (un)mute ↵Sigrid Solveig Haflínudóttir
response
2022-09-09reform/audio: remove DAC vol limit; discharge HP caps on initSigrid Solveig Haflínudóttir
Capless mode was mistakingly enabled, with 500Ω on VRIO to disable the audio, which most likely cause the original "issue" of speakers playback switching off and on when on full volume. Fix that. Also set impedance on VRIO to 20kΩ. Discharge HP caps on init to cause less pop.
2022-09-08reform/audio: use soft-mute to toggle DACSigrid Solveig Haflínudóttir
Disabling DAC caused an audible pop and would stop the clock, causing any program writing to /dev/audio to halt until DAC would be enabled again. Use "digital soft mute" instead - no clock stopping, nor pops.
2022-09-08reform/pm: measure CPU temperature only when requested, disable monitoring ↵Sigrid Solveig Haflínudóttir
right away
2022-09-08reform/pm: serve lpc readouts over a queue to avoid lockups on other requestsSigrid Solveig Haflínudóttir
2022-09-08reform/pm: lpccall: read as much as possible after the command; clean upSigrid Solveig Haflínudóttir
2022-09-07reform/pm: calculate time to full (dis)charge; low→warn capacity; endless ↵Sigrid Solveig Haflínudóttir
loop protection
2022-09-07reform: add pmctl to read more info and to turn power rails off; manpagesSigrid Solveig Haflínudóttir
2022-09-07imx8/pm: provide acpi(1)-compatible battery readingsSigrid Solveig Haflínudóttir
2022-08-29reform/shortcuts: use Kmod4+esc to (un)mute the audioSigrid Solveig Haflínudóttir
2022-08-24reform/shortcuts: negative step valuesSigrid Solveig Haflínudóttir
2022-08-24reform: add reform/shortcutsSigrid Solveig Haflínudóttir
2022-08-21reform: tweak manpage and reform/audio a bitSigrid Solveig Haflínudóttir
2022-08-21move and rename MNT Reform 2 support utilies, cat manpages into oneSigrid Solveig Haflínudóttir
Aux/imx8pm and aux/wm8960 had pretty cryptic names and it made more sense to use a reform/pm and reform/audio naming, accordingly. Instead of having special mount points /mnt/pm and /mnt/wm8960, /dev is used directly, removing the need to do any manual work - stats(1) will continue showing the CPU temperature, and zuke(1) will still be able to control the volume, etc. Brightness controls were changed to a better interface - /dev/light, where each line contains a "a_thing its_light_value". This way more parts can be controlled. Right now it's only "lcd", but later it might be "kbd" and "trackball" as well. Example of lib/profile: reform/audio echo master 80 > /dev/volume reform/pm echo lcd 100 > /dev/light