Author

Topic: OLD: BFGMiner 3.10.0: modular ASIC+FPGA, GBT+Strtm, RPC, Mac/Lnx/W64, AntU1, DRB - page 135. (Read 1193223 times)

newbie
Activity: 24
Merit: 0
sudo screen bash
launch cgminer
CTL-A D to disconnect
screen -r  to reconnect next time you log in

To do what you're attempting to do, you would need to run:

nohup &


screen depends on X, does it not? I don't have X.
hero member
Activity: 574
Merit: 501
Check the USB device driver.   Should be Silicon Labs CP210x to UART bridge.  What's the COM port number in "devices and printers" - that will show you the device driver, too.
newbie
Activity: 9
Merit: 0
My BFL Little Single has been mining nicely on my laptop using BFGminer, but I can't get it to run on my spare PC running Windows XP (bfgminer 32-bit).  The port picks up fine, but when I run BFGminer, I get the "No device... bla bla bla... cannot mine" message.  I have triple check port names and everything else.  I find that if I replug the USB port and run bfgminer, it will freeze the first time and report the message each time after.  Any suggestions?
hero member
Activity: 658
Merit: 500
CCNA: There i fixed the internet.
having a pita.

waht is the json format for using the --scan-serial flag in a config file

would like to do -S OpenCL:noauto -S erupter:/dev/cu.SLAB_USBtoUART<#>
hero member
Activity: 574
Merit: 501
sudo screen bash
launch cgminer
CTL-A d to disconnect
screen -r  to reconnect next time you log in

To do what you're attempting to do, you would need to run:

nohup &
newbie
Activity: 24
Merit: 0
Code:

[/share/HDA_DATA/Qdownload/bfgminer] # dmesg | tail
[356363.150000] usb 1-1.3.1: new high speed USB device using orion-ehci and address 22
[356363.280000] hub 1-1.3.1:1.0: USB hub found
[356363.280000] hub 1-1.3.1:1.0: 4 ports detected
[356363.420000] usb 1-1.3.2: new full speed USB device using orion-ehci and address 23
[356363.630000] usb 1-1.3.3: new full speed USB device using orion-ehci and address 24
[356363.840000] usb 1-1.3.4: new full speed USB device using orion-ehci and address 25
[356364.050000] usb 1-1.3.1.1: new full speed USB device using orion-ehci and address 26
[356364.290000] usb 1-1.3.1.2: new full speed USB device using orion-ehci and address 27
[356364.500000] usb 1-1.3.1.3: new full speed USB device using orion-ehci and address 28
[356364.730000] usb 1-1.3.1.4: new full speed USB device using orion-ehci and address 29
[/share/HDA_DATA/Qdownload/bfgminer] #
This suggests you don't have the cp210x driver (part of Linux).

It should say:
Code:
[3551139.516400] usb 1-5.1.1: new full-speed USB device number 45 using ehci_hcd
[3551139.609866] usb 1-5.1.1: New USB device found, idVendor=10c4, idProduct=ea60
[3551139.609874] usb 1-5.1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[3551139.609881] usb 1-5.1.1: Product: Block Erupter Sapphire (Silver)
[3551139.609886] usb 1-5.1.1: Manufacturer: Bitfountain
[3551139.609891] usb 1-5.1.1: SerialNumber: ljr0002
[3551139.610704] cp210x 1-5.1.1:1.0: cp210x converter detected

Hi Luke,

Thanks for your help on this. I managed to re compile the kernel with the cp210x module enabled and it's now working.

I just don't know how to ensure that the bfgminer process won't be terminated when I logout my ssh session. I tried backgrounding the process which does background it, but still gets killed upon logout.

What does everyone else do?
newbie
Activity: 45
Merit: 0
Guys, the problem WAS. I didn´t rebooted my computer Cheesy After reboot BFGMiner start well with Block Erupter
newbie
Activity: 49
Merit: 0
newbie
Activity: 32
Merit: 0
Again no effect Sad Whats wrong? I tried with just ./configure and with OpenCL disabled, with icarus enabled. No effect Sad


type this "./bfgminer -n -D -T"
show us the output.
if it does not find anything type this ./bfgminer -o http://api.bitcoin.cz:8332 -u XXXXXX -p XXXXXX -D -T
show us the output.

also if you have it type this lsusb
show us the output.
sr. member
Activity: 280
Merit: 250
Sometimes man, just sometimes.....
Again no effect Sad Whats wrong? I tried with just ./configure and with OpenCL disabled, with icarus enabled. No effect Sad

You shouldnt have to enable icarus, its enabled by default.  When you compile, did you scroll up and check that it shows icarus as enabled?

Maybe there is a "sync" thats missing somewhere, like after you do "make".  I dont know, sometimes I have success without sync and sometimes I dont.
newbie
Activity: 45
Merit: 0
Again no effect Sad Whats wrong? I tried with just ./configure and with OpenCL disabled, with icarus enabled. No effect Sad
legendary
Activity: 1066
Merit: 1098
No effect  Sad

All devices disabled, cannot mine!

./bfgminer -o http://api.bitcoin.cz:8332 -u XXXXXX -p XXXXXX -S All --icarus-options 115200:1:1 --icarus-timing 3.0=100 --disable-gpu

Try '-S erupter:all'

That should work for you.
newbie
Activity: 45
Merit: 0
No effect  Sad

All devices disabled, cannot mine!

./bfgminer -o http://api.bitcoin.cz:8332 -u XXXXXX -p XXXXXX -S All --icarus-options 115200:1:1 --icarus-timing 3.0=100 --disable-gpu
sr. member
Activity: 280
Merit: 250
Sometimes man, just sometimes.....
Didn´t worked for me Sad I used -S all

but still this:
All devices disabled, cannot mine!

This is what the command should look like for bfg, it still uses icarus timing.

-S All --icarus-options 115200:1:1 --icarus-timing 3.0=100 --disable-gpu

Remove the --disable-gpu if you actually want to use the gpu as well as your block erupters.
newbie
Activity: 45
Merit: 0
Didn´t worked for me Sad I used -S all

but still this:
All devices disabled, cannot mine!
hero member
Activity: 658
Merit: 500
CCNA: There i fixed the internet.
BFGminer for Debian from source:

Code:
apt-get update && apt-get install make screen mc autoconf libtool libncurses-dev yasm curl libcurl4-openssl-dev libjansson-dev pkg-config libudev-dev uthash-dev libusb-dev htop php5 apache2

cd bfgminer && ./configure
make

Cheers
r50zyry5

Thank you very much, but it says failed to open OpenCL drivers. I need it to work with ONLY BlockErupters. How to compile it with ICARUS only? I don´t use GPU. Thanks !

The README says:

Quote
BFGMiner specific configuration options:
--disable-avalon Compile support for Avalon (default enabled)
--enable-cpumining Build with cpu mining support(default disabled)
--disable-opencl Build without support for OpenCL (default enabled)
--disable-adl Build without ADL monitoring (default enabled)
--disable-bitforce Compile support for BitForce (default enabled)
--disable-icarus Compile support for Icarus (default enabled)
--disable-modminer Compile support for ModMiner (default enabled)
--disable-x6500 Compile support for X6500 (default enabled)
--disable-ztex Compile support for ZTEX (default if libusb)
--enable-scrypt Compile support for scrypt mining (default disabled)
--with-system-libblkmaker Use system libblkmaker rather than bundled one
(default disabled)
--without-sensors Build with libsensors monitoring (default enabled)
--without-curses Compile support for curses TUI (default enabled)
--without-libmicrohttpd Compile support for libmicrohttpd getwork server
(default enabled)
--without-libudev Autodetect FPGAs using libudev (default enabled)

I'm sure the answer is in there somewhere.

For block erupters:

apt-get update && apt-get install make screen mc autoconf libtool libncurses-dev yasm curl libcurl4-openssl-dev libjansson-dev pkg-config libudev-dev uthash-dev libusb-dev htop php5 apache2
Apt-get install git
Git clone https://github.com/luke-jr/bfgminer.git
cd bfgminer && ./autogen.sh
./configure --disable-opencl
make

Edit: fixed malformed uri

Use sudo as needed while installing dependencies
legendary
Activity: 1066
Merit: 1098
BFGminer for Debian from source:

Code:
apt-get update && apt-get install make screen mc autoconf libtool libncurses-dev yasm curl libcurl4-openssl-dev libjansson-dev pkg-config libudev-dev uthash-dev libusb-dev htop php5 apache2
wget http://beehost.org/bfgminer-3.1.4.zip
unzip bfgminer-3.1.4.zip
mv bfgminer-3.1.4 bfgminer
cd bfgminer && ./configure
make

Cheers
r50zyry5

Thank you very much, but it says failed to open OpenCL drivers. I need it to work with ONLY BlockErupters. How to compile it with ICARUS only? I don´t use GPU. Thanks !

The README says:

Quote
BFGMiner specific configuration options:
--disable-avalon Compile support for Avalon (default enabled)
--enable-cpumining Build with cpu mining support(default disabled)
--disable-opencl Build without support for OpenCL (default enabled)
--disable-adl Build without ADL monitoring (default enabled)
--disable-bitforce Compile support for BitForce (default enabled)
--disable-icarus Compile support for Icarus (default enabled)
--disable-modminer Compile support for ModMiner (default enabled)
--disable-x6500 Compile support for X6500 (default enabled)
--disable-ztex Compile support for ZTEX (default if libusb)
--enable-scrypt Compile support for scrypt mining (default disabled)
--with-system-libblkmaker Use system libblkmaker rather than bundled one
(default disabled)
--without-sensors Build with libsensors monitoring (default enabled)
--without-curses Compile support for curses TUI (default enabled)
--without-libmicrohttpd Compile support for libmicrohttpd getwork server
(default enabled)
--without-libudev Autodetect FPGAs using libudev (default enabled)

I'm sure the answer is in there somewhere.
newbie
Activity: 45
Merit: 0
BFGminer for Debian from source:

Code:
apt-get update && apt-get install make screen mc autoconf libtool libncurses-dev yasm curl libcurl4-openssl-dev libjansson-dev pkg-config libudev-dev uthash-dev libusb-dev htop php5 apache2
wget http://beehost.org/bfgminer-3.1.4.zip
unzip bfgminer-3.1.4.zip
mv bfgminer-3.1.4 bfgminer
cd bfgminer && ./configure
make

Cheers
r50zyry5

Thank you very much, but it says failed to open OpenCL drivers. I need it to work with ONLY BlockErupters. How to compile it with ICARUS only? I don´t use GPU. Thanks !
newbie
Activity: 40
Merit: 0
Yeah, there are so many 'monitor' web apps and real apps out there, you will find one that does what you want.  I like CGWatcher for windows, as it relaunches CG/BFGminer whenever a card/fpga/asic/spotted kangeroo/etc dies.  The web apps, tend not to do that, but they are more portable, and work on mac and linux too.  So do the python ones, etc.  Just do a search on this very subforum for monitor, and see which one you like the most...
Alex
Jump to: