Bitcoin Forum

Bitcoin => Mining support => Topic started by: HeroC on August 05, 2013, 10:48:29 PM



Title: How to use BFGMiner with a Block Erupter USB Miner
Post by: HeroC on August 05, 2013, 10:48:29 PM
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.


Title: Re: How to use BFGMiner with a Block Erupter USB Miner
Post by: mccminer on August 06, 2013, 01:15:48 AM
Sign up over at BTCGuild and once logged in, click on the 'Support' link.  They have a complete guide for Windows & Linux.


Title: Re: How to use BFGMiner with a Block Erupter USB Miner
Post by: CrashX on August 06, 2013, 01:45:46 AM
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://bitcointalk.org/index.php?topic=168174.0


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


Title: Re: How to use BFGMiner with a Block Erupter USB Miner
Post by: jengert on August 06, 2013, 11:41:40 AM
very easy mining
https://bitcointalk.org/index.php?topic=268933.0


Title: Re: How to use BFGMiner with a Block Erupter USB Miner
Post by: HeroC on August 08, 2013, 05:48:52 PM
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://bitcointalk.org/index.php?topic=168174.0


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!


Title: Re: How to use BFGMiner with a Block Erupter USB Miner
Post by: purelithium on August 11, 2013, 01:00:43 AM
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.


Title: Re: How to use BFGMiner with a Block Erupter USB Miner
Post by: JBT on September 06, 2013, 04:10:52 PM
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?


Title: Re: How to use BFGMiner with a Block Erupter USB Miner
Post by: Zanatos666 on September 06, 2013, 05:57:07 PM
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.


Title: Re: How to use BFGMiner with a Block Erupter USB Miner
Post by: JBT on September 06, 2013, 06:15:03 PM
[

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



Title: Re: How to use BFGMiner with a Block Erupter USB Miner
Post by: Zanatos666 on September 06, 2013, 06:18:59 PM
[

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.


Title: Re: How to use BFGMiner with a Block Erupter USB Miner
Post by: r3wt on September 06, 2013, 06:27:12 PM
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


Title: Re: How to use BFGMiner with a Block Erupter USB Miner
Post by: HellDiverUK on September 08, 2013, 11:55:19 AM
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.


Title: Re: How to use BFGMiner with a Block Erupter USB Miner
Post by: Ex0deus on September 12, 2013, 06:24:03 AM
lol.... windows.... hilarious....


Title: Re: How to use BFGMiner with a Block Erupter USB Miner
Post by: kabopar on September 14, 2013, 01:19:58 PM
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


Title: Re: How to use BFGMiner with a Block Erupter USB Miner
Post by: r3wt on September 14, 2013, 01:46:27 PM
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.


Title: Re: How to use BFGMiner with a Block Erupter USB Miner
Post by: SirMintALot on September 15, 2013, 09:13:51 AM
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.


Title: Re: How to use BFGMiner with a Block Erupter USB Miner
Post by: r3wt on September 15, 2013, 09:29:14 AM
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

https://i.imgur.com/z8YyfCF.png?1


Title: Re: How to use BFGMiner with a Block Erupter USB Miner
Post by: SirMintALot on September 15, 2013, 10:17:51 AM
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:
http://s7.directupload.net/images/130915/tz8qt3w5.png


Title: Re: How to use BFGMiner with a Block Erupter USB Miner
Post by: r3wt on September 15, 2013, 10:30:29 AM
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:
http://s7.directupload.net/images/130915/tz8qt3w5.png

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.


Title: Re: How to use BFGMiner with a Block Erupter USB Miner
Post by: SirMintALot on September 15, 2013, 05:46:10 PM
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).


Title: Re: How to use BFGMiner with a Block Erupter USB Miner
Post by: playersfun on December 17, 2016, 11:06:03 AM
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?


Title: Re: How to use BFGMiner with a Block Erupter USB Miner
Post by: leowonderful on December 17, 2016, 05:48:34 PM
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.


Title: Re: How to use BFGMiner with a Block Erupter USB Miner
Post by: -ck on December 17, 2016, 10:10:29 PM
Use the bfgminer support thread instead of necroing an old post:
https://bitcointalk.org/index.php?topic=877081.0
/locked