firmware: detect + label Bixbit and Hiveon (own colours)
Bixbit and Hiveon keep the stock Antminer web API, so asic-rs identifies them as "AntMiner Stock". Distinguish them at scan time from the cgminer `version` reply: Bixbit tags it with BixFirmware/BixMiner/BixAPIVersion (definitive; verified live on a Bixbit S19j Pro at 10.4.1.70); Hiveon carries a "hiveon" marker (best-effort -- no live Hiveon unit to confirm the exact signature yet). A real stock miner (no marker) stays "Stock". Firmware column colours: Bixbit -> pinkish-red (223,62,102, their logo); Hiveon -> darker logo orange (228,112,24), with "hiveon" added to the existing hive/hiveos alias. The probe is a short, timeout-bounded cgminer query run only for Antminer miners that first identified as stock. SELFTEST PASS. Hiveon detection to be re-verified once a Hiveon miner is available. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6
This commit is contained in:
@@ -215,9 +215,9 @@ fn firmware_color(family: &str) -> Option<(u8, u8, u8)> {
|
||||
"braiins" => (150, 90, 210), // purple
|
||||
"luxos" | "lux" => (185, 150, 20), // yellow/gold
|
||||
"vnish" => (40, 165, 70), // green
|
||||
"bixbit" => (225, 105, 175), // pink
|
||||
"bixbit" => (223, 62, 102), // pinkish-red (Bixbit logo)
|
||||
"epic" | "umc os" | "umcos" | "umc" => (70, 160, 225), // ePIC PowerPlay / UMC OS: light blue
|
||||
"hive" | "hiveos" => (235, 140, 35), // orange
|
||||
"hive" | "hiveos" | "hiveon" => (228, 112, 24), // Hiveon: darker logo orange
|
||||
"alkane" => (80, 100, 205), // navy
|
||||
_ => return None, // Stock / unknown -> theme default
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user