evidence · 7.5 KiB

README.md

Committed at docs/evidence/idle-dim/README.md. This is what grounds the requirements that cite it.

Open raw source

The display dims and sleeps when idle: board evidence

Change: the-display-dims-and-sleeps-when-idle. Evidence class: board, read over protected SSH, with wake taps injected through /var/tmp/ui.py. No webcam check and no glass interaction yet.

Build /nix/store/prk64sjwhxf7r1lfgw1vbjxfssk0lx3r-nixos-system-nixos-26.11.20260919.20b1ddd (commit 2cc67965), test-activated, shell restarted 2026-10-27 ~03:39Z. D is the panel’s /sys/class/backlight/* directory, SM is swaymsg on the shell’s socket.

Dim and off (tasks 3.1, 3.2)

After the last injected input at ~03:39:30Z, unattended:

t0  03:40:39  brightness 37  "power": false     shell-idle active
t36 03:41:15  brightness 37  "power": false
    idle-dimmer.json {"saved": 148, "dimmed": 37, "off": true}

After a wake tap at 03:41:57Z (below), unattended again:

t0  03:42:01  brightness 148 "power": true    (idle-dimmer.json removed)
t32 03:42:33  brightness 37  "power": true    (dimmed to 148 // 4)
t62 03:43:03  brightness 37  "power": false
    idle-dimmer.json {"saved": 148, "dimmed": 37, "off": true}

The terminal card stayed in get_tree throughout (app_id k230-terminal).

Wake by touch (part of task 3.4)

Limits: the taps are uinput touches, so this shows that Sway receives touch on the off output for injected input; a webcam check that the physical panel lights, and a glass tap, are still open. The power key (3.3), video and Timer inhibit (3.5), slider while dim (3.6) and base key (3.7) were not run.

Inhibit (task 3.5), build iw96wr9d… (commit 93dc4efb), 2026-10-27

Inhibit at Home, fixed (build zs05li2k…, commit be58ff02)

The restore() re-check alone did not help (build f0zn5j8l…, 15:41Z: the unfocused video still reported inhibit_idle: true). mpv holds its own application idle inhibitor, which Sway counts while it believes the view is visible. be58ff02 makes that check also ask card_shell_view_hidden().

Run at 15:45-15:47Z: Video playing, a Timer started, then Home through the overview footer (last input 15:46:19Z). get_tree: video and Timer unfocused, both inhibit_idle: false. Brightness 37 at 15:46:55, and the compositor logged output * power off at 15:47:17.

Slider while dim (task 3.6, build 3vk5qy3a…, 2026-10-28)

Injected board run, board/slider-while-dim.sh.txt with its output in board/slider-while-dim.txt. The charger was in, so the idle-on-charger preference was set to sleep for the run, which kept the exhibition from opening on dim. It was removed afterwards. An injected key woke the panel (148). At 18:15:42Z the panel was dimmed to 37, with state saved 148, dimmed 37. k230-settings brightness 80 then wrote 204. This is the command the shade’s Brightness request runs (ServiceRequest::Brightness in service_data.rs). Dragging the slider on the glass was not used, because the touch would itself wake the panel. An injected key at 18:15:51Z woke it: brightness stayed 204 and did not return to 148, and the state file was cleared. Brightness was then set back to 58 % (148).

Glass wakes: finger, keyboard base, power key (tasks 3.3, 3.4, 3.7)

Evidence class: glass. The operator did the touching and said what they did. Each input is timed by board/wakelog.py.txt and the journal, in board/glass-wakes.txt (CDT). Build 3vk5qy3a…, 2026-10-28. The charger was in, and the idle-on-charger preference was sleep from 13:43:49 to 13:50, so the panel went dark instead of opening the exhibition. Each wake started from output * power off (brightness 0).

The preference file was removed afterwards, so the default is Clock again.

Follow-up defects 6.1 and 6.2 (build lrx0026r…, 2026-10-28)

Evidence class: injected over SSH on the board. Nobody touched the glass.