feat(antminer): add L11 support - #323
Merged
Merged
Conversation
Adds the Antminer L11 model enum variant and hardware entry. Hardware shape verified against 35 live L11s (firmware FR-1.2, miner version 86.48-2.0.0), cross-checked from two independent endpoints: /cgi-bin/stats.cgi chain_num: 3, asic_num: 88 per chain cgminer 4028 stats miner_count: 3, chain_acn1..3: 88 3 boards x 88 chips = 264, 4 fans. Note vendor spec sheets list the L11 as 4 boards / 288 chips; the hardware disagrees. Because parse_hashboards sizes its board vector from device_info.hardware.board_count(), an unmodelled L11 resolved to AntMinerModel::Unknown and produced an empty hashboards array. With this entry the same devices return three boards populated with live working_chips from the cgminer API: before: hashboards=0, expected_chips=None after: hashboards=3, working_chips=Some(88) each, expected_chips=264 Verified with a local build against live L11s, using an L9 on the same firmware family as a control.
b-rowan
approved these changes
Aug 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the Antminer L11 to the AntMiner model enum and hardware table.
Hardware shape
Verified against 35 live L11s (firmware
FR-1.2(251206-L11&L11Pro), miner version86.48-2.0.0), cross-checked from two independent endpoints on the same device:/cgi-bin/stats.cgichain_num: 3asic_num: 88fan_num: 4statsminer_count: 3chain_acn1..3: 88fan_num: 43 boards × 88 chips = 264, 4 fans.
Measured on the same miner before and after this change:
An L9 on the same firmware family was used as a control and behaves identically, which is the intended outcome — the L11 now matches an already-supported sibling exactly.
Verification
cargo fmt --all -- --check— cleancargo clippy --workspace --all-features— no new diagnosticscargo test -p asic-rs-makes-antminer— passingpython scripts/docs/gen_supported_devices.py— regenerated; the docs change in this PR is entirely generator outputTwo pre-existing issues found while testing — not addressed here
Both affect the already-supported L9 identically, so they are not L11-specific and are deliberately left out of this PR. Happy to open separate issues or PRs if useful:
chain_rate{idx}is parsed as a string, but this firmware emits a JSON number.parse_hashboardsdoes.and_then(|v| v.as_str()), so per-boardhashrateis alwaysNoneon86.48-2.0.0. The values are present:"chain_rate1": 6.790325248.temp_pcb{idx}does not exist on this firmware. It reportstemp_in_pcb_1..3/temp_out_pcb_1..3(andtemp_in_chip_*/temp_out_chip_*), so per-boardboard_temperatureis alwaysNone. The 4-field temperature model added in 0.7.0 looks like a natural fit for these keys.There is also a smaller one:
get_system_info.cgireports"Algorithm": "Scrypt"for both L11 and L9, but the AntMiner make reportsSHA256for both. Again pre-existing and not L11-specific.