Skip to content

AxeOS reports normal BM1372/BM1373 frequency as low #1902

Description

@skot

Describe the bug

AxeOS shows the warning banner:

Device frequency is set low - See settings

on a Naja Duo 1201 running at its normal BM1372/BM1373 frequency of 327 MHz. The ASIC frequency is configured correctly and the miner operates normally.

The warning condition is currently hard-coded as frequency < 400 in both:

  • main/http_server/axe-os/src/app/components/home/home.component.ts
  • main/http_server/axe-os/src/app/components/swarm/swarm.component.ts

BM1372/BM1373 uses a default frequency of 327 MHz and currently exposes these supported options: 327, 350, 375, 380, 400, and 410 MHz.

To reproduce

  1. Run the Naja Duo 1201 firmware from the current Naja PR series.
  2. Leave the BM1372/BM1373 frequency at the factory default of 327 MHz.
  3. Open the AxeOS dashboard.
  4. Observe the low-frequency warning even though the configured frequency is valid and mining is operating normally.

Expected behavior

AxeOS should not display a low-frequency warning when the configured frequency is within the supported range for the active ASIC.

Suggested fix

Replace the global 400 MHz threshold with an ASIC-aware threshold. AxeOS already obtains the device-specific settings from /api/system/asic, including frequencyOptions and defaultFrequency.

A robust condition would preserve the warning for a missing or zero frequency, but compare nonzero frequencies against the minimum supported value for the active device, for example:

const minimumFrequency = Math.min(...asicSettings.frequencyOptions);
const frequencyIsLow = !info.frequency || info.frequency < minimumFrequency;

Apply the same logic to both the main dashboard and swarm view so their warning behavior remains consistent. If ASIC settings are unavailable, AxeOS can retain a conservative fallback.

Hardware

  • Device: Naja Duo
  • Board version: 1201
  • ASIC: 2x BM1372/BM1373
  • Tested frequency: 327 MHz
  • Voltage: 1000 mV
  • Tested firmware: integrated Naja branch at 3d84e44

Related implementation work: #1890 and #1892.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions