Windows

CgMiner 3.4 以前的版本看不到 USB Block Europtors (Windows)

  • January 15, 2018

自 9 月下旬以來,我一直在使用CgMiner 3.4.1。它可以看到我的四個 USB Block Erupters,並且可以正常工作:

cgminer version 3.4.1 - Started: [2013-11-20 07:48:07]
--------------------------------------------------------------------------------
(5s):1.223G (avg):978.4Mh/s | A:18  R:0  HW:1  WU:17.4/m
ST: 2  SS: 0  NB: 1  LW: 37  GF: 0  RF: 0
Connected to stratum.bitcoin.cz diff 3 with stratum as user joesmith
Block: 00070bedfe64cbc8...  Diff:609M  Started: [07:48:07]  Best share: 124
--------------------------------------------------------------------------------
[P]ool management [S]ettings [D]isplay options [Q]uit
AMU 0:                | 307.2M/327.5Mh/s | A:12 R:0 HW:0 WU:10.0/m
AMU 1:                | 267.8M/314.6Mh/s | A: 0 R:0 HW:0 WU: 2.5/m
AMU 2:                | 280.3M/322.7Mh/s | A: 6 R:0 HW:0 WU: 3.7/m
AMU 3:                | 127.4M/308.9Mh/s | A: 3 R:0 HW:1 WU:10.5/m
--------------------------------------------------------------------------------

[2013-11-20 07:48:43] Accepted 1326b92d Diff 13/3 AMU 0
[2013-11-20 07:48:47] Accepted 3e086003 Diff 4/3 AMU 0
[2013-11-20 07:48:58] Accepted 487047eb Diff 3/3 AMU 3

但它經常 堆棧溢出而崩潰。

大約一個月前,我嘗試升級到CgMiner 3.6,但找不到我的 USB 設備:

cgminer version 3.6.0 - Started: [2013-11-20 07:49:52]
--------------------------------------------------------------------------------
(5s):0.000 (avg):0.000h/s | A:0  R:0  HW:0  WU:0.0/m
ST: 2  SS: 0  NB: 1  LW: 2  GF: 0  RF: 0
Connected to stratum.bitcoin.cz diff 3 with stratum as user joesmith
Block: 00070bedfe64cbc8...  Diff:609M  Started: [07:49:52]  Best share: 0
--------------------------------------------------------------------------------
[P]ool management [S]ettings [D]isplay options [Q]uit
--------------------------------------------------------------------------------

[2013-11-20 07:49:49] Started cgminer 3.6.0
[2013-11-20 07:49:49] Loaded configuration file cgminer.conf
[2013-11-20 07:49:51] No devices detected!
[2013-11-20 07:49:51] Waiting for USB hotplug devices or press q to quit
[2013-11-20 07:49:51] Probing for an alive pool
[2013-11-20 07:49:52] Pool 0 difficulty changed to 3
[2013-11-20 07:49:52] Network diff set to 609M

所以我恢復到3.4.1,忍受半日崩潰並且不得不記住重新啟動 CgMiner。今天早上我測試了 CgMiner 3.8,希望他們修復了它無法看到 USB Block Eruptors(以及堆棧溢出)。不幸的是,它仍然看不到 USB 設備:

cgminer version 3.8.0 - Started: [2013-11-20 07:44:46]
--------------------------------------------------------------------------------
(5s):0.000 (avg):0.000h/s | A:0  R:0  HW:0  WU:0.0/m
ST: 2  SS: 0  NB: 1  LW: 16  GF: 0  RF: 0
Connected to stratum.bitcoin.cz diff 1 with stratum as user joesmith
Block: 70bedfe6...  Diff:609M  Started: [07:44:46]  Best share: 0
--------------------------------------------------------------------------------
[P]ool management [S]ettings [D]isplay options [Q]uit
--------------------------------------------------------------------------------

[2013-11-20 07:44:42] Started cgminer 3.8.0
[2013-11-20 07:44:42] Loaded configuration file cgminer.conf
[2013-11-20 07:44:44] AMU 0 SendWork usb write err:(-7) LIBUSB_ERROR_TIMEOUT
[2013-11-20 07:44:44] FAIL: USB get_lock not found (3:2)
[2013-11-20 07:44:44] FAIL: USB remove not already in use (3:2)
[2013-11-20 07:44:45] No devices detected!
[2013-11-20 07:44:45] Waiting for USB hotplug devices or press q to quit
[2013-11-20 07:44:45] Probing for an alive pool
[2013-11-20 07:44:46] Pool 0 difficulty changed to 3
[2013-11-20 07:44:46] Network diff set to 609M
[2013-11-20 07:45:14] Pool 0 difficulty changed to 1
[2013-11-20 07:45:14] Stratum from pool 0 requested work restart
[2013-11-20 07:45:14] Stratum from pool 0 requested work restart

所以我再次恢復到 CgMiner 3.4.1。

在 CgMiner 3.4 之後他們破壞了什麼,我該如何解決?

WinUSB

只是為了搶占可能提出建議的人,而不是提供任何見解,我重新執行了zadiag 2.0.1.162(更新於 2013 年 11 月 20 日),並為我的 USB 設備*“重新安裝”*了WinUSB驅動程序(並重新啟動)

在此處輸入圖像描述

沒有效果。

CgMiner 2.8 做錯了什麼而 CgMiner 2.4 做對了?

編輯:使用 Silicon Labs 自己的 VCP(虛擬 COM 埠驅動程序):

在此處輸入圖像描述

給出錯誤(在 BfgMiner 中):

usb_devinfo_scan: Error opening device: LIBUSB_ERROR_NOT_SUPPORTED

在 CgMiner 中,它給出:

USB init, open device failed, err -12, you need to install a WinUSB driver for - AMU device 1:3
USB init, open device failed, err -12, you need to install a WinUSB driver for - AMU device 3:3
USB init, open device failed, err -12, you need to install a WinUSB driver for - AMU device 3:2
USB init, open device failed, err -12, you need to install a WinUSB driver for - AMU device 3:6
USB init, open device failed, err -12, you need to install a WinUSB driver for - AMU device 3:8
USB init, open device failed, err -12, you need to install a WinUSB driver for - AMU device 3:10
USB init, open device failed, err -12, you need to install a WinUSB driver for - AMU device 3:11
USB init, open device failed, err -12, you need to install a WinUSB driver for - AMU device 3:12
USB init, open device failed, err -12, you need to install a WinUSB driver for - AMU device 3:13
USB init, open device failed, err -12, you need to install a WinUSB driver for - AMU device 6:2
USB init, open device failed, err -12, you need to install a WinUSB driver for - AMU device 8:3
USB init, open device failed, err -12, you need to install a WinUSB driver for - AMU device 8:1

所以我改變了它,嘗試了一些礦工的每個司機。三個使用libusb-win32驅動程序,三個使用libusbx.org驅動程序,其餘使用Silicon Labs CP210x USB 到 UART 橋驅動程序:

在此處輸入圖像描述

CgMiner和BfgMiner都****沒有檢測到任何設備。

cgminer 的 FPGA 和 ASIC 支持最初取自BFGMiner。由於 GPU 挖礦的維護者對 GPU 挖礦的過時感到不滿,他們分叉了該項目並最終(糟糕地)重寫了 FPGA/ASIC 驅動程序。你正在看到它的影響。

BFGMiner 繼續維護原始(工作)驅動程序,但您需要刪除 Zadig/WinUSB 驅動程序並安裝由 Silabs 提供的官方 CP210x 驅動程序。(CP210x 是 Block Erupters 使用的晶片)

4.10.0 找到了我的舊 asic usb 礦機

引用自:https://bitcoin.stackexchange.com/questions/16951