Patch Changes
-
#13
3a2abd0Thanks @TooTallNate! - Fix the console hanging on wake-from-sleep when file logging is enabled
(log = true). The log sink writes to the SD card, and a write triggered
during the PSC sleep transition (e.g. the "power: sleeping" line) issued
fsp-srv I/O inside the window between the sleep notification and
acknowledgement, which hangs the wake sequence. File writes are now suspended
for the duration of the sleep/wake transition. -
#15
1aeb7daThanks @TooTallNate! - Re-advertise mDNS when the network changes (wifi reconnect, airplane-mode
toggle, DHCP renewal) so the console's<hostname>.localname keeps resolving
without a reboot. Previously the advertisement only happened at startup, so it
went stale after connectivity changes.- Detects connectivity changes by polling nifm for the current IP every ~2s
and acting when it changes. (We tested nifm's connectivity-change event on
hardware; on an unsubmitted request it never fires, so polling is the
reliable trigger.) - On a detected IP change, the HTTP listener and mDNS socket are both rebuilt
(a network teardown can otherwise leave the listener silently not accepting). - Unsolicited announcements now retry until a send actually succeeds, instead
of giving up while routing is still coming up after the network returns.
Sleep-safety: the IP poll runs only while awake, so no nifm IPC hits the PSC
sleep window. (The one confirmed sleep/wake hazard is filesystem I/O during
the transition, fixed separately by suspending the log sink.) - Detects connectivity changes by polling nifm for the current IP every ~2s