Author

Topic: How to use BFGMiner with a Block Erupter USB Miner (Read 28562 times)

-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
legendary
Activity: 1624
Merit: 1130
Bitcoin FTW!
guys i have a question:
 Block: ...8d7302eac2187d59  Diff:518k ( 3.71Th)  Started: [12:04:55]  I: 0.00 BTC/hr
 ST:3  F:0  NB:7  AS:0  BW:[ 45/  2 B/s]  E:0.00  BS:21
 1            | 334.0/322.5/572.3Mh/s | A:0 R:0+0(none) HW:0/none
------------------------------------------------------------------------------------------------------------------------
 BES 0:       | 305.7/333.3/588.4Mh/s | A:0 R:0+0(none) HW:0/none
------------------------------------------------------------------------------------------------------------------------
 [2016-12-17 12:02:57] Started bfgminer 5.4.2
 [2016-12-17 12:02:58] Probing for an alive pool
 [2016-12-17 12:02:59] Pool 0 stratum+tcp://ispace.co.uk:4433 alive
 [2016-12-17 12:02:59] Network difficulty changed to 371k ( 2.66Th)
 [2016-12-17 12:02:59] Stratum from pool 0 detected new block
 [2016-12-17 12:03:22] Pool 0 is hiding block contents from us
 [2016-12-17 12:03:33] Network difficulty changed to 314k ( 2.25Th)
 [2016-12-17 12:03:33] Stratum from pool 0 detected new block
 [2016-12-17 12:03:55] Network difficulty changed to 392k ( 2.81Th)
 [2016-12-17 12:03:55] Stratum from pool 0 detected new block
 [2016-12-17 12:04:02] Network difficulty changed to 428k ( 3.06Th)
 [2016-12-17 12:04:02] Stratum from pool 0 detected new block
 [2016-12-17 12:04:28] Network difficulty changed to 475k ( 3.40Th)
 [2016-12-17 12:04:28] Stratum from pool 0 detected new block
 [2016-12-17 12:04:33] Network difficulty changed to 518k ( 3.71Th)
 [2016-12-17 12:04:33] Stratum from pool 0 detected new block
 [2016-12-17 12:04:55] Stratum from pool 0 detected new block


is my miner mining?
Yes. It isn't getting shares though because the difficulty is too high. Turn it down to 1 on your pool and you will see results, the block erupter isn't capable of mining well at such a high difficulty. As you can see next to the diff it says 3.71TH, the optimal hashrate to use at that diff or something of the sort.
copper member
Activity: 475
Merit: 121
guys i have a question:
 Block: ...8d7302eac2187d59  Diff:518k ( 3.71Th)  Started: [12:04:55]  I: 0.00 BTC/hr
 ST:3  F:0  NB:7  AS:0  BW:[ 45/  2 B/s]  E:0.00  BS:21
 1            | 334.0/322.5/572.3Mh/s | A:0 R:0+0(none) HW:0/none
------------------------------------------------------------------------------------------------------------------------
 BES 0:       | 305.7/333.3/588.4Mh/s | A:0 R:0+0(none) HW:0/none
------------------------------------------------------------------------------------------------------------------------
 [2016-12-17 12:02:57] Started bfgminer 5.4.2
 [2016-12-17 12:02:58] Probing for an alive pool
 [2016-12-17 12:02:59] Pool 0 stratum+tcp://ispace.co.uk:4433 alive
 [2016-12-17 12:02:59] Network difficulty changed to 371k ( 2.66Th)
 [2016-12-17 12:02:59] Stratum from pool 0 detected new block
 [2016-12-17 12:03:22] Pool 0 is hiding block contents from us
 [2016-12-17 12:03:33] Network difficulty changed to 314k ( 2.25Th)
 [2016-12-17 12:03:33] Stratum from pool 0 detected new block
 [2016-12-17 12:03:55] Network difficulty changed to 392k ( 2.81Th)
 [2016-12-17 12:03:55] Stratum from pool 0 detected new block
 [2016-12-17 12:04:02] Network difficulty changed to 428k ( 3.06Th)
 [2016-12-17 12:04:02] Stratum from pool 0 detected new block
 [2016-12-17 12:04:28] Network difficulty changed to 475k ( 3.40Th)
 [2016-12-17 12:04:28] Stratum from pool 0 detected new block
 [2016-12-17 12:04:33] Network difficulty changed to 518k ( 3.71Th)
 [2016-12-17 12:04:33] Stratum from pool 0 detected new block
 [2016-12-17 12:04:55] Stratum from pool 0 detected new block


is my miner mining?
full member
Activity: 140
Merit: 100
In POS we trust
Whats most important is the number of accepted shares. You could have a higher hashrate, but when you got lots of rejects or hardware errors then its worth nothing. Sadly cgminer doesnt show this calculated effective hashrate like bfgminer does (its the right one of the three hashrates).
hero member
Activity: 686
Merit: 504
always the student, never the master.
lets see what you got (total = accepted + rejected +hw):
total num HW %
2549 24         0.94
2582 25         0.96
2479 23         0.92
2527 26         1.02
2454 24         0.97
2524 16         0.63

So you are around 1% HW except for the last one.

This is my BE minirig:


so one offers less hardware errors, one offers more hashes. fair enough. to each his own. both damn good miners

Edit: Thank you for your diplomacy. I just read back through the thread and wow i was too harsh. shouldn't have came in here in trolling in the first place. i apologize.
full member
Activity: 140
Merit: 100
In POS we trust
lets see what you got (total = accepted + rejected +hw):
total num HW %
2549 24         0.94
2582 25         0.96
2479 23         0.92
2527 26         1.02
2454 24         0.97
2524 16         0.63

So you are around 1% HW except for the last one.

This is my BE minirig:
hero member
Activity: 686
Merit: 504
always the student, never the master.
BFGminer 3.2.0 gives you a lower Hardware error rate (~0.6% instead of ~1.0%) with Block Erupters, so at the moment its the better choice.
the performance is also 1-2 mh/s less per miner. i routinely get close to 336 mh/s per USB in cgminer. also if you notice, this is less than 1% error rate

full member
Activity: 140
Merit: 100
In POS we trust
BFGminer 3.2.0 gives you a lower Hardware error rate (~0.6% instead of ~1.0%) with Block Erupters, so at the moment its the better choice.
hero member
Activity: 686
Merit: 504
always the student, never the master.
BFGMiner is for tools. Use cgminer instead, version 3.3.1 or higher. its a very simple process

1. plug usb and install silabs driver http://www.silabs.com/products/mcu/pages/usbtouartbridgevcpdrivers.aspx

2. unplug and replug usb.

3. download zadig http://sourceforge.net/projects/libwdi/files/zadig/zadig_v2.0.1.160.7z/download

4. open zadig > click "list all devices" > select cpx210 to uart controller from drop down menu > click replace driver > wait til it installs then close zadig.

5. open and run cgminer-nogpu.exe >input pool url, username and password. > after it loads and says USB FAILED to initialize hit "S" to bring up the settings menu. > Press "W" to write your info to a config file. > exit cgminer

6. unplug block erupter(careful it may be hot) > restart computer > replug block erupter. > restart cgminer-nogpu.exe and presto you're mining.

 if it still says failed to initialize after you've done these steps do this:

1. open zadig > click list all devices > select cpx210 to uart controller > click reinstall driver > wait til it installs then exit zadig.

2. unplug Block Erupter. > replug block erupter.

3. restart cgminer-nogpu.exe

Wow.  So bfgminer is for tools?  It's very easy?  How come then you've got 5 extra steps (that may or may not work) to get them working? 

There's only one tool in this thread, and it's the one recommending cgminer over bfgminer for Block Erupters.

cgminer>bfgminer

deal with it.
hero member
Activity: 616
Merit: 500
if you use BFGMiner, use the latest version (3.2.0) instead of 3.1.4 listed in the BTC Guild.  Ver 3.2.0 has a significantly lower HW error rate than 3.1.4 (I had HW of about 1.2% with 3.1.4 which dropped to about 0.75% with 3.2.0, note that you need to wait for things to settle down and average, don't panic if one BE has a higher error in the first few minutes).

Enjoy your mining
newbie
Activity: 43
Merit: 0
lol.... windows.... hilarious....
hero member
Activity: 1246
Merit: 501
BFGMiner is for tools. Use cgminer instead, version 3.3.1 or higher. its a very simple process

1. plug usb and install silabs driver http://www.silabs.com/products/mcu/pages/usbtouartbridgevcpdrivers.aspx

2. unplug and replug usb.

3. download zadig http://sourceforge.net/projects/libwdi/files/zadig/zadig_v2.0.1.160.7z/download

4. open zadig > click "list all devices" > select cpx210 to uart controller from drop down menu > click replace driver > wait til it installs then close zadig.

5. open and run cgminer-nogpu.exe >input pool url, username and password. > after it loads and says USB FAILED to initialize hit "S" to bring up the settings menu. > Press "W" to write your info to a config file. > exit cgminer

6. unplug block erupter(careful it may be hot) > restart computer > replug block erupter. > restart cgminer-nogpu.exe and presto you're mining.

 if it still says failed to initialize after you've done these steps do this:

1. open zadig > click list all devices > select cpx210 to uart controller > click reinstall driver > wait til it installs then exit zadig.

2. unplug Block Erupter. > replug block erupter.

3. restart cgminer-nogpu.exe

Wow.  So bfgminer is for tools?  It's very easy?  How come then you've got 5 extra steps (that may or may not work) to get them working? 

There's only one tool in this thread, and it's the one recommending cgminer over bfgminer for Block Erupters.
hero member
Activity: 686
Merit: 504
always the student, never the master.
BFGMiner is for tools. Use cgminer instead, version 3.3.1 or higher. its a very simple process

1. plug usb and install silabs driver http://www.silabs.com/products/mcu/pages/usbtouartbridgevcpdrivers.aspx

2. unplug and replug usb.

3. download zadig http://sourceforge.net/projects/libwdi/files/zadig/zadig_v2.0.1.160.7z/download

4. open zadig > click "list all devices" > select cpx210 to uart controller from drop down menu > click replace driver > wait til it installs then close zadig.

5. open and run cgminer-nogpu.exe >input pool url, username and password. > after it loads and says USB FAILED to initialize hit "S" to bring up the settings menu. > Press "W" to write your info to a config file. > exit cgminer

6. unplug block erupter(careful it may be hot) > restart computer > replug block erupter. > restart cgminer-nogpu.exe and presto you're mining.

 if it still says failed to initialize after you've done these steps do this:

1. open zadig > click list all devices > select cpx210 to uart controller > click reinstall driver > wait til it installs then exit zadig.

2. unplug Block Erupter. > replug block erupter.

3. restart cgminer-nogpu.exe
sr. member
Activity: 280
Merit: 250
Sometimes man, just sometimes.....
[

After you use -S, instead of putting All or erupter:All, you have to tell it which USB COM port to use.

Linux - /dev/ttyUSBn
Windows - \\.\COMn

Replace the n with the com port of the corresponding erupter you want to use.

ok my problem is that when my pc reboots some of the com ports change so a erupter ,ight not be the same som port aka was 12 now 22 etc



No way to control that, except for making sure your system doesnt reboot.
JBT
full member
Activity: 165
Merit: 100
[

After you use -S, instead of putting All or erupter:All, you have to tell it which USB COM port to use.

Linux - /dev/ttyUSBn
Windows - \\.\COMn

Replace the n with the com port of the corresponding erupter you want to use.

ok my problem is that when my pc reboots some of the com ports change so a erupter ,ight not be the same som port aka was 12 now 22 etc

sr. member
Activity: 280
Merit: 250
Sometimes man, just sometimes.....
Instead of --disable-gpu you can use "-G" which does the same thing, just saves characters.

Also if you use the command "-S erupter:all" instead of "-S all" it will give you some more options once the miner is running, nothing big but more might be added down the line.

what command must be use if you only want say 1 erupter to work and the other to be use for something else?

From the README (paraphrasing):

After you use -S, instead of putting All or erupter:All, you have to tell it which USB COM port to use.

Linux - /dev/ttyUSBn
Windows - \\.\COMn

Replace the n with the com port of the corresponding erupter you want to use.
JBT
full member
Activity: 165
Merit: 100
Instead of --disable-gpu you can use "-G" which does the same thing, just saves characters.

Also if you use the command "-S erupter:all" instead of "-S all" it will give you some more options once the miner is running, nothing big but more might be added down the line.

what command must be use if you only want say 1 erupter to work and the other to be use for something else?
hero member
Activity: 504
Merit: 500
Instead of --disable-gpu you can use "-G" which does the same thing, just saves characters.

Also if you use the command "-S erupter:all" instead of "-S all" it will give you some more options once the miner is running, nothing big but more might be added down the line.
legendary
Activity: 858
Merit: 1000
Simple

install it.
Unzip it, create a batch file with the command I posted below and your good to go.


Download from HERE ONLY!
https://bitcointalksearch.org/topic/old-bfgminer-3100-modular-asicfpga-gbtstrtm-rpc-maclnxw64-antu1-drb-168174


Create a Batch File (.bat) in your in windows.
Code:
bfgminer -o stratum+tcp://mint.bitminter.com:3333 -u UserID_worker -p **** --disable-gpu -S all
This is setup for BitMinter so you need to change to your pool.


This will disable the GPU/Video Cards
Code:
--disable-gpu


and this will detect all ASIC Erupters and to load all of them to run.
Code:
-S all

Thanks!
full member
Activity: 238
Merit: 101
Simple

install it.
Unzip it, create a batch file with the command I posted below and your good to go.


Download from HERE ONLY!
https://bitcointalksearch.org/topic/old-bfgminer-3100-modular-asicfpga-gbtstrtm-rpc-maclnxw64-antu1-drb-168174


Create a Batch File (.bat) in your in windows.
Code:
bfgminer -o stratum+tcp://mint.bitminter.com:3333 -u UserID_worker -p **** --disable-gpu -S all
This is setup for BitMinter so you need to change to your pool.


This will disable the GPU/Video Cards
Code:
--disable-gpu


and this will detect all ASIC Erupters and to load all of them to run.
Code:
-S all
member
Activity: 88
Merit: 10
Sign up over at BTCGuild and once logged in, click on the 'Support' link.  They have a complete guide for Windows & Linux.
legendary
Activity: 858
Merit: 1000
I am planning to get a Block Erupter and use it with BFG miner, but before I do, I want to know how to do it BEFORE I get the miner, so my question is, how do I use the Block Erupter with BFGMiner? I know there is a certain command to do, but I want to know before I get it.
Jump to: