Commit Graph

16 Commits

Author SHA1 Message Date
Daniel Schaefer
22d56c8a0d fl16: Turn capslock LED off when SLEEP# is low
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-12-07 17:01:32 +08:00
Daniel Schaefer
05798c19c1 fl16: cleanup
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-11-30 09:09:33 +08:00
Daniel Schaefer
7682b2378d fl16: Re-enable RGB backlight
Can still get into BIOS setup menu on cold and warm boot.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-11-27 13:23:48 +08:00
Daniel Schaefer
c6ba5ad0a2 DEBUG: Working BIOS hotkeys
Works from cold boot and from reboot in windows.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-11-27 12:55:38 +08:00
Daniel Schaefer
c39ea59510 Revert "fl16: Keep keyboard out of suspend at least 30s"
This reverts commit f449ecc074.
2023-11-24 14:43:01 +08:00
Daniel Schaefer
f449ecc074 fl16: Keep keyboard out of suspend at least 30s
With selective suspend windows likes to suspend the keyboard very
eagerly after 5 seconds without activity. So we send keyboard reports
every second for 25 seconds to keep it awake.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-11-21 16:10:53 +08:00
Daniel Schaefer
9a6c749a83 fl16: Bump to v0.2.5
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-11-17 19:11:13 +08:00
Daniel Schaefer
1e6896999f fl16: Don't turn off LEDs in USB suspend
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-11-17 19:04:24 +08:00
Daniel Schaefer
771d183c1a fl16: Dynamic threshold
based on keys pressed in one row of the matrix

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2023-11-10 12:48:41 +08:00
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