Bitcoin Forum
June 20, 2024, 11:16:00 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: NO DEVICES FOUND: Press 'M' and '+' to add haunts me.  (Read 421 times)
caveguy (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
November 19, 2017, 02:56:54 AM
 #1


Enviroment: bfgminer 5.4.2 running on Raspberry Pi B3 controling two Gridseed G-Blades.

sudo bfgminer --scrypt --userpass <xxx.y:z> --url stratum+tcp://us.litecoinpool.org:3333

bfgminer starts up but can not find the blades.

NO DEVICES FOUND: Press 'M' and '+' to add

I enter M + as instructed and all to the Enter target: prompt.
and I get "Device scan succeeded" and we move on, all is well.

The problem is that it has no permanence, I have to do this every time I restart, making a watchdog function useless.

In my attempt to find a way to start without having to enter M + all return every time.

I found "bfgminer -h"  lists: --scan|-S <arg> Configure how to scan for mining devices

Numerous attempts to force scan all, have all failed.
ie:  [2017-11-18 21:11:51] cgminer: -S: unrecognized option
     [2017-11-18 21:13:27] cgminer: --scan: unrecognized option
     [2017-11-18 21:14:54] cgminer: --scan=all: unrecognized option
     [2017-11-18 21:16:05] cgminer: -S=all: unrecognized option

What am I missing ?
fapar
Sr. Member
****
Offline Offline

Activity: 1414
Merit: 267


Undeads.com - P2E Runner Game


View Profile
November 19, 2017, 10:18:51 AM
 #2


Enviroment: bfgminer 5.4.2 running on Raspberry Pi B3 controling two Gridseed G-Blades.

sudo bfgminer --scrypt --userpass <xxx.y:z> --url stratum+tcp://us.litecoinpool.org:3333

bfgminer starts up but can not find the blades.

NO DEVICES FOUND: Press 'M' and '+' to add

I enter M + as instructed and all to the Enter target: prompt.
and I get "Device scan succeeded" and we move on, all is well.

The problem is that it has no permanence, I have to do this every time I restart, making a watchdog function useless.

In my attempt to find a way to start without having to enter M + all return every time.

I found "bfgminer -h"  lists: --scan|-S <arg> Configure how to scan for mining devices

Numerous attempts to force scan all, have all failed.
ie:  [2017-11-18 21:11:51] cgminer: -S: unrecognized option
     [2017-11-18 21:13:27] cgminer: --scan: unrecognized option
     [2017-11-18 21:14:54] cgminer: --scan=all: unrecognized option
     [2017-11-18 21:16:05] cgminer: -S=all: unrecognized option

What am I missing ?


You need to run the miner with specific parameters:
bfgminer --scrypt -S gridseed:all --set gridseed@<serial_number>:clock=825
if you have multiple G-blades then edit the file bfgminer.conf:
"set" : [
        "gridseed@<serial_number>:clock=825",
        "gridseed@<serial_number>:clock=850",
        "gridseed@<serial_number>:clock=875"
]

 
Everything is clearly described in the file README.ASIC

💀|.
   ▄▄▄▄█▄▄              ▄▄█▀▀  ▄▄▄▄▄█      ▄▄    ▄█▄
  ▀▀▀████████▄  ▄██    ███▀ ▄████▀▀▀     ▄███   ▄███
    ███▀▄▄███▀ ███▀   ███▀  ▀█████▄     ▄███   ████▄
  ▄███████▀   ███   ▄███       ▀▀████▄▄███████████▀
▀▀███▀▀███    ███ ▄████       ▄▄████▀▀████   ▄███
 ██▀    ▀██▄  ██████▀▀   ▄▄█████▀▀   ███▀   ▄██▀
          ▀▀█  ▀▀▀▀ ▄██████▀▀       ███▀    █▀
                                      ▀
.
.PLAY2EARN.RUNNER.GAME.
||VIRAL
REF.SYSTEM
GAME
|
████████████████████████████
████████████████████████████
████████████████████████████
██████ ▄▀██████████  ███████
███████▄▀▄▀██████  █████████
█████████▄▀▄▀██  ███████████
███████████▄▀▄ █████████████
███████████  ▄▀▄▀███████████
█████████  ████▄▀▄▀█████████
███████  ████████▄▀ ████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████▀▀▄██████▄▀▀████████
███████  ▀        ▀  ███████
██████                ██████
█████▌   ███    ███   ▐█████
█████▌   ▀▀▀    ▀▀▀   ▐█████
██████                ██████
███████▄  ▀██████▀  ▄███████
████████████████████████████
████████████████████████████
████████████████████████████
caveguy (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
November 19, 2017, 11:09:31 AM
 #3

Thanks for the clue.

sudo bfgminer --scrypt -S all --userpass xxx.y:zzz --url stratum+tcp://us.litecoinpool.org:3333

works!

Sometimes order is important Smiley

 
toptek
Legendary
*
Offline Offline

Activity: 1274
Merit: 1000


View Profile
November 19, 2017, 02:07:57 PM
Last edit: November 19, 2017, 02:33:38 PM by toptek
 #4

you may have to compile it with the script flag on sense it is off by default if you download the already made BFG like this.. or master BFG.

Code:
sudo apt-get -y install git-core build-essential autoconf automake libtool pkg-config libcurl4-openssl-dev libjansson-dev uthash-dev libncursesw5-dev libudev-dev libblkmaker-0.1-6 libevent-dev libmicrohttpd-dev libc-bin 

sudo git clone https://github.com/luke-jr/bfgminer.git

cd /root/bfgminer
./autogen.sh
chmod +x ./configure
sudo ./configure "CFLAGS=-O2" --enable-scrypt --enable-broad-udevrules --enable-gridseed

make -j 4
sudo ldconfig
lsusb

sudo chmod 777 bfgminer
sudo ./bfgminer --version

an for the command line all you really need is

Gridseed Mini
Code:
--scrypt -S gsd:all --set gsd:clock=838

Gridseed Blade
Code:
--scrypt -S gsd:all --set gsd:clock=825


Gridseed generic per device

Code:
--scrypt --set gsd@/dev/ttyUSB0:clock=838


adjust the
Code:
clock=838
 as you see fit ...

an if you use the set command
Code:
--set gsd:clock=xxx
with
Code:
 -S all or -S gsd:all
it doesn't mater what order you use and might be easier to set up

Code:
sudo bfgminer -o stratum+tcp://us.litecoinpool.org:3333 --userpass xxx.y:zzz --scrypt -S gsd:all --set gsd:clock=838  
adjust the clock as needed
but you got it cool ...

For security, your account has been locked. Email acctcomp15@theymos.e4ward.com
caveguy (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
November 19, 2017, 05:00:35 PM
 #5

I have several Pi's I am swapping between testing both btc using 6 5seads and ltc using 2 blades, in the last 2 days I have built several versions of bfgminer, cgminer and minerd. I have several more 5seeds to set up as a test bench

I started over with a fresh build this morning and :

sudo bfgminer -o stratum+tcp://us.litecoinpool.org:3333 --userpass xxx.yy:zz --scrypt -S gsd:all --set gsd:clock=800

works as expected. fyi without the set clock statement the default clock rate was 600.
 
next project is to figure out how to look at the blade temps and power draw.
but first I need to label and document this pile of memory cards, most can be formatted.

thanks for helping me in the right direction ... it has been fun Smiley
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!