Passer au contenu

Nous améliorons nos opérations pour mieux vous servir. Les commandes sont expédiées normalement depuis Laval, QC. Questions? Contactez-nous

Bitcoin accepté au paiement  |  Expédié depuis Laval, QC, Canada  |  Soutien expert depuis 2016

AUC_USB_LOST Warning

Avalon – AUC USB Connection Lost

AUC USB Connection Lost — host controller has lost the USB session with the Avalon USB Converter (AUC3). Common Canaan log signatures: `socket connect error`, `CODE_MMCRCFAILED` (WARN), AUC3 LED locked red.

Warning — Should be addressed soon

Affected Models: Avalon A721, A741, A761, A821, A841, A851, A911, A921, A1041, A1066, A1146, A1166, A1246 — any rig using an AUC3 USB-to-IIC bridge.

Symptoms

  • cgminer log shows `socket connect error`, `FTDIO`, or `ASC0 not responding` on an Avalon rig
  • Canaan log event `CODE_MMCRCFAILED` (IIC RX CRC mismatch) at WARN severity
  • AUC3 LED locked red sustained, or flickering red/blue instead of settling on green
  • cgminer reporting zero GHs on one or more chains while PSU fans keep spinning
  • Hashrate chart shows a square wave: full nameplate for 30-90 s, zero for 10-20 s, repeat
  • Invalid-nonce / HW-error count climbing on one or more chains while other chains read clean
  • Random cold reboots of the controller (not the hashboards) on an hourly cadence
  • Stratum drops the router log does NOT corroborate — miner-side pool disconnects while ping stays clean
  • `dmesg` / `journalctl -k` shows repeated `usb X-Y.Z: device disconnect` and FTDI re-enumeration
  • On Windows: AUC3 shows up intermittently as an unknown device in Device Manager
  • Problem started after a chassis fan change, cable move, driver update, or dry-winter-morning power-on
  • Wiggling the USB cable at the AUC3 end triggers or clears the fault

Step-by-Step Fix

1

Power-cycle the whole rig for 30 seconds at the PDU. Not a soft reboot — a real cold power-down. Clears USB session state and any latched FTDI weirdness at the host and AUC3.

2

Re-seat the USB cable at both ends. Push until you feel the click at the USB-B end on the AUC3 and the USB-A end at the controller. The USB-B end is your #1 suspect — fan vibration works it loose first.

3

Watch the AUC3 LED during boot. Blue = initialising or idle, green = working normally, red = comm issue or rejected shares (per the 2018 Canaan PDF, which conflates hardware-comm and pool-reject into the same red state).

4

Verify pool settings haven't changed. Since Canaan's red-LED state conflates hardware and pool, confirm you can reach your pool from another device. `ping stratum.poolname.com` and `telnet stratum.poolname.com <port>` are valid quick checks.

5

Override the default DNS. Stock Avalon firmware defaults to `114.114.114.114` (a Chinese public DNS that resolves unreliably outside China). Set the miner DNS to `8.8.8.8` or `1.1.1.1` to eliminate a whole class of ambiguous 'is it USB or is it DNS' failures.

6

Zip-tie the USB cable to the chassis frame to stop it hanging off the AUC3 port under fan vibration. Zeus Mining documents this fix for the A1246 specifically; it applies to every AUC3-based Avalon.

7

Swap the USB cable with a known-good shielded USB-A-to-USB-B, 1 m maximum, ferrite bead preferred. Long (2-3 m) cables collect noise on data lines and drop under load. Short + shielded eliminates an entire failure vector.

8

Move the cable to a different USB port on the controller. On a Raspberry Pi, use the port farthest from the Ethernet jack — the onboard USB controller shares bandwidth with Ethernet on older Pis, and a heavy pool-side stream can starve USB.

9

Check `dmesg` / `journalctl -k` on the host for enumeration. SSH in, run `dmesg -w`, then pull-and-re-insert the AUC3 USB cable. Expected: `usb X-Y.Z: new full-speed USB device number N` followed by `FTDI USB Serial Device converter now attached to ttyUSBx`. Missing the second line = driver or permissions; missing both = hardware or cable.

10

Verify the host user is in the `dialout` group on Linux. `groups $USER` should include `dialout`. If not, `sudo usermod -aG dialout $USER` and re-login. Fixes the #1 'FTDI enumerates but cgminer can't open it' failure on custom controller images.

11

Reinstall the FTDI driver on Windows. Download the official driver from ftdichip.com rather than relying on Windows Update. Zeus Mining documents FTDI driver conflicts as a root cause of AUC 'socket connect error'.

12

Test DC power at the AUC3. The AUC3 runs off USB 5 V. Some controllers sag below 4.75 V under load, and the FTDI bridge gets unhappy below 4.5 V. Multimeter on DC at the USB-B jack's +5 V / GND pins while the rig is running; expect >=4.8 V. Below that, power the AUC3 via a powered USB hub.

13

Drop AUC3 IIC speed and raise transfer delay. Edit cgminer launch config and set `--avalon7-aucspeed 200000 --avalon7-aucxdelay 24000` (substitute `avalon8` or `avalon10` for matching generation). These flags are undocumented in Canaan's materials but live in the cgminer ASIC-README. Conservative values double bus headroom.

14

Split long daisy chains across two AUC3s. One AUC3 supports up to 5 MMs. Six or more is unsupported; beyond 3-4 on older AUC revs you see intermittent CRC failures even with a perfect cable. If you're running 5+ MMs on one bridge, order a second AUC3.

15

Reflash the controller SD card. On A11/A12-era Avalons the controller is typically a Raspberry Pi running Armbian/OpenWrt. SD-card write-wear degrades the filesystem over 2-3 years of continuous logging. Dump current config, image a fresh SD from Canaan's firmware portal or a verified community image, boot from the new card.

16

AUC3 isolation swap. Pull the suspect AUC3, label it, install a known-good AUC3, restart cgminer with original defaults. Fault follows the AUC3 to a second rig = dead AUC3, order replacement. Fault stays on the first rig with the known-good AUC3 = chassis IIC harness or MM #1 is the problem.

17

Run cgminer standalone on a Linux PC with the AUC3 and hashboards in the daisy chain. If the fault clears, the on-chassis controller or its SD card is the problem; if it follows the AUC3, the AUC3 is dead. Fastest way to isolate controller vs AUC3 without buying a replacement AUC3.

18

Check for an FTDI chip-level fault with a USB-protocol analyzer (Saleae Logic or equivalent). Capture the USB enumeration handshake. An AUC3 that enumerates but drops under load will show bulk-transfer NAKs or STALLs. Bulk errors at the USB layer = FTDI bridge is dying and no cable/driver work will help.

19

Stop DIY when: the AUC3 swap proves the AUC3 dead but you don't have a replacement, OR a known-good AUC3 still drops on your rig, OR the controller shows storage corruption that reflash doesn't fix. Book a D-Central ASIC Repair slot at https://d-central.tech/services/asic-repair/ .

20

Ship safely. Place the AUC3, suspect USB cable, and the controller each in its own anti-static bag. Double-box with >=5 cm of foam on every side. Include a note with observed symptoms, firmware version, `dmesg` excerpts, cgminer log snippet, and flag any non-stock cgminer flags so we can match config at the bench.

When to Seek Professional Repair

If the steps above do not resolve the issue, or if you are not comfortable performing these repairs yourself, professional service is recommended. Attempting advanced repairs without proper equipment can cause further damage.

Related Error Codes

Still Having Issues?

Our team of Bitcoin Mining Hackers has been repairing ASIC miners since 2016. We have seen it all and fixed it all. Get a professional diagnosis.