Post
Topic
Board Hardware
Re: How to use ASICMiner Block Erupters with CGMiner on Windows 7
by
dangue
on 12/06/2013, 19:50:43 UTC
Ran into a weird problem.  My apologies if it has already been answered somewhere, but a search didn't lead me to anything fruitful. 

For the past couple of days I've been running cgminer 3.1.1 with 3 USB ASICs on a Anker 3.0 hub.  I just received two more today.  I plugged them in and made note of the COM ports they were assigned and added them to the bat file.  When I run the file, cgminer recognizes that they are all there, but only "ICA 0" is initialized, "ICA 1" - "ICA 4" all show as "OFF".

Here's the code:
Code:
start /D "C:\Users\Dan\Desktop\Bitcoin\CGMiner" cgminer-nogpu.exe -o stratum+tcp://stratum.bitcoin.cz:3333 -u user.worker2 -p password--icarus-options 115200:1:1 --icarus-timing 3.0=100 -S COM3 -S COM5 -S COM6 -S COM7 -S COM9

But, if I give each COM it's own line, they all work (but with five different cgminer instances).

Here's that code:
Code:
start /D "C:\Users\Dan\Desktop\Bitcoin\CGMiner" cgminer-nogpu.exe -o stratum+tcp://stratum.bitcoin.cz:3333 -u user.worker2 -p password--icarus-options 115200:1:1 --icarus-timing 3.0=100 -S COM3
start /D "C:\Users\Dan\Desktop\Bitcoin\CGMiner" cgminer-nogpu.exe -o stratum+tcp://stratum.bitcoin.cz:3333 -u user.worker2 -p password--icarus-options 115200:1:1 --icarus-timing 3.0=100 -S COM5
start /D "C:\Users\Dan\Desktop\Bitcoin\CGMiner" cgminer-nogpu.exe -o stratum+tcp://stratum.bitcoin.cz:3333 -u user.worker2 -p password--icarus-options 115200:1:1 --icarus-timing 3.0=100 -S COM6
start /D "C:\Users\Dan\Desktop\Bitcoin\CGMiner" cgminer-nogpu.exe -o stratum+tcp://stratum.bitcoin.cz:3333 -u user.worker2 -p password--icarus-options 115200:1:1 --icarus-timing 3.0=100 -S COM7
start /D "C:\Users\Dan\Desktop\Bitcoin\CGMiner" cgminer-nogpu.exe -o stratum+tcp://stratum.bitcoin.cz:3333 -u user.worker2 -p password--icarus-options 115200:1:1 --icarus-timing 3.0=100 -S COM9

Ideally, I'd like to have one instance of cgminer open for all of them.  Has anyone else encountered this?  Or any thoughts on how to fix it?  I'm not a coder by trade, so odds are it's something simple that I'm overlooking.  Thanks for the help.