Add screensaver auto-lock, lynx/gsocket/apexrc defaults, htoprc, and Bantam updates
This commit is contained in:
1 parent
b7dca4f15f
commit
c12ed68d19
36 files changed
+1421
-75
No files matched your search
@@ -17,7 +17,7 @@ Configured in [kernel/configs/geminux-mt6797x.config](file:///home/lux/proj/gemi
|
||||
|
||||
All background system services avoid wake-up timers and polling loops:
|
||||
|
||||
- **`geminux-powerd`**: Sleeps indefinitely in `epoll_wait()` over `/dev/input/event*` (`SW_LID`, `KEY_POWER`), `KOBJECT_UEVENT` netlink (AC charger/HDMI hotplug), `/run/geminux/powerd.sock`, and an on-demand `timerfd`.
|
||||
- **`geminux-powerd`**: Sleeps indefinitely in `epoll_wait()` over `/dev/input/event*` (`SW_LID`, `KEY_POWER`, keyboard/touch/pointer activity), `KOBJECT_UEVENT` netlink (AC charger/HDMI hotplug), `/run/geminux/powerd.sock`, and a lazy-rearming `timerfd`; implements two-stage screensaver dimming and auto-lock/blank or suspend strictly timed from the last active user input (`dim_timeout_s` / `suspend_timeout_s`).
|
||||
- **`geminux-statusd`**: Uses `signalfd` (`SIGUSR1`), `RTMGRP_LINK` netlink, `inotify`, and a minute-aligned `timerfd` so the DWM status bar wakes only on actual network/power/modem changes or minute boundaries with zero child shell forks.
|
||||
- **`geminux-touchd`**: Event-driven XInput 2.2 multi-touch gesture recognizer with zero polling loops.
|
||||
- **`geminux-ccci-daemon` & `geminux-modem-ctl`**: Event-driven `epoll_wait()` over `/dev/ccci_*`, AT port, and netlink; enter completely idle sleep when no modem activity is pending.
|
||||
@@ -27,11 +27,13 @@ All background system services avoid wake-up timers and polling loops:
|
||||
|
||||
`geminux-power-ctl` (and `geminux-control`) switches between three profiles managed in [src/geminux-daemons/geminux-power-policy.c](file:///home/lux/proj/geminux/src/geminux-daemons/geminux-power-policy.c):
|
||||
|
||||
| Profile | Governor | A72 big cores (`cpu8..9`) | A53 max freq | Auto-suspend on battery |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| `eco` | `schedutil` | Offline (`0`) | `1391 MHz` | `180 s` idle |
|
||||
| `balanced` | `schedutil` | Online (`1`) | `1547 MHz` | `300 s` idle |
|
||||
| `performance` | `schedutil` | Online (`1`) | `1846 MHz` | Disabled |
|
||||
| Profile | Governor | A72 big cores (`cpu8..9`) | A53 max freq | Battery idle (dim -> lock+suspend) | AC idle (lock+blank screensaver) |
|
||||
| --- | --- | --- | --- | --- | --- |
|
||||
| `eco` | `schedutil` | Offline (`0`) | `1391 MHz` | `60 s` -> `180 s` | `180 s` |
|
||||
| `balanced` | `schedutil` | Online (`1`) | `1547 MHz` | `120 s` -> `300 s` | `300 s` |
|
||||
| `performance` | `schedutil` | Online (`1`) | `1846 MHz` | `180 s` (lock+blank, no suspend) | `600 s` |
|
||||
|
||||
All idle thresholds above are measured from the last active keyboard, touchscreen, pointer, or lid-open event (`CLOCK_MONOTONIC`) and are not reset by periodic battery `power_supply` uevents.
|
||||
|
||||
Closing the Gemini PDA clamshell (`SW_LID = 1`) suspends immediately to RAM (`mem`), unless inhibited by an active voice call (`inhibit add call`), an explicit inhibitor, or a connected external HDMI monitor (`SiI9024`).
|
||||
|
||||
|
||||
Reference in new issue
Block a user