Follow-up to the Round 15 corpus. The toolkit reported supports_power_limit=false for LuxOS and ePIC; investigated both against the live corpus (S19j Pro). LuxOS was genuinely under-reporting: it tunes by discrete named profiles that each carry a Watts rating (the `profiles` RPC gives Step + Watts), applied via profileset -- pure frequency/voltage tuning, no PSU dependency. Implemented SetPowerLimit to map the requested watts to the highest profile whose Watts does not exceed it (or the lowest profile when the target is below all of them). The pure mapping (parse_profile_watts + select_profile_at_or_below) has a unit test. Live-verified: set_power_limit(2500) on an S19j Pro picked step -4 (2385 W) and the miner's active profile became 445MHz/-4. ePIC is left at false, now with a comment explaining why: PowerPlay's only true power-limit path is the PowerTune perpetual-tune algorithm, which the firmware gates on the PSU -- on a fixed-voltage Bitmain APW12 (S19j Pro) it answers "Power optimization is not supported by this PSU". That is a per-PSU runtime property the synchronous capability check cannot see, so reporting true would over-advertise on most reflashed Antminers. Hashrate tuning remains available via set_tuning_config. Captured as asic-rs patch 0011. luxminer + epic crate tests pass. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
alkane-toolkit
Cross-platform desktop toolkit (Rust core, native GUI) to install stock or alkaneOS firmware on ASIC miner control boards, whatever they currently run (stock, Vnish/AnthillOS, Braiins OS+, LuxOS, ePIC, BixBit, WardenOS).
Sibling to alkane-sdk: the SDK owns board knowledge and build outputs; this toolkit is the orchestration engine and operator UI that executes its install recipes safely.
Status
M1 primary view ships: discovery (vendored asic-rs 0.8.1) + the UI-SPEC table (6 KPIs, sortable/drag-reorderable columns, row checkboxes, scan-range editor, Excel-style filter, columns panel). Pure-Rust GUI on wxWidgets via vendored + patched wx-rs (docs/adr/0002, 0003).
Build + run (Debian)
scripts/build-wx-linux.sh # once: builds vendored wx 3.3.3 to ~/.cache
scripts/build-gui-linux.sh # cargo build --release -p alkane-gui
~/.cache/alkane-tk-target/release/alkane-toolkit
Windows/macOS: scripts/build-gui-windows.sh (needs a Windows/msys2
toolchain) and scripts/build-gui-macos.sh (needs a Mac) - the GUI code is
shared; only the C++ bridge + wx differ per platform.
See docs/IMPLEMENTATION-PLAN.md for the roadmap.
Hard rules (from alkane-sdk docs/install-methods.md, encoded in code)
- Never write the bootloader/secure region.
- Verify on a channel the installer does not control.
- Reboot is root-only; a dropped SSH connection can be success.
- A packer is per board; never reuse across boards.
- Boot-switch handling is an explicit, verified step.