7 Commits

Author SHA1 Message Date
Daniel Schaefer
6ea4debb40 framework: Update debug to print voltage
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-08-30 14:48:13 +08:00
Daniel Schaefer
9c752c120e fl16: Fix white backlight not recovering after reset
If the backlight brightness was changed and the keyboard unplugged and
replugged, the lights would stay off. They should come back to the
previous value, which will happen automatically but the code would
override.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-08-07 19:42:18 +08:00
Daniel Schaefer
4e2e213040 fixup! fl16: On sleep pin only turn off backlight 2023-07-21 15:49:14 +08:00
Daniel Schaefer
27f917f945 fl16: On sleep pin only turn off backlight
Other low power states should be handled perfectly fine by USB suspend,
since this is now fixed in chibios.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-07-21 10:09:22 +08:00
Kieran Levin
e5d1f3cfd8 implement backlight and lower power matrix scanning
With this change the 3.3V rail gets down to 22mA
The backlight and power led will auto turn off when the keyboard
SLEEP# goes low, and will resume when the sleep pin goes high.

For some reason WFI does not sleep as long as I would expect.
Something is triggering interrupts constantly
that we need to figure out to save power.

Signed-off-by: Kieran Levin <ktl@frame.work>
2023-06-26 14:43:01 +08:00
Daniel Schaefer
a8269765d7 Implement persistent FN lock
Stays locked even through power-cycle.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-05-03 17:16:18 +08:00
Daniel Schaefer
966f2e7822 Rename lotus to framework
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-03-23 13:29:15 +08:00