diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-29 16:56:08 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-29 16:56:08 +0100 |
| commit | 8657d6c72ee10380f9af61e224050b7d1623e686 (patch) | |
| tree | 327d771e6d5990579f83e170f2575aadb8648fe5 /docs | |
| parent | 66f8c77b853bb67166aac8ca9c3b31abe6468426 (diff) | |
| download | unified-desktop-theme-8657d6c72ee10380f9af61e224050b7d1623e686.tar.gz unified-desktop-theme-8657d6c72ee10380f9af61e224050b7d1623e686.zip | |
bulb: `on` waits up to 30 s for the gateway
The bulb stayed off after a resume while the LED strip came back.
hypridle's after_sleep_cmd runs `udt-bulb on` the moment the resume
finishes, and the wired link only came up 4 s later (16:52:22 resume,
16:52:26 eth0 carrier in the log). A request sent before that fails at
once, and udt-bulb gave up after one try; the strip survived because a
failed cached address makes it listen for its broadcast for up to 20 s.
`on` now polls the first bulb every 2 s until the gateway answers, for
up to 30 s, which also covers the same race at login. `off` still makes
a single attempt, since it runs as the session ends and cannot wait.
The cause is read from timing, not observed: nothing logs what the
after_sleep_cmd did. The next resume confirms it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
