Title: NO DEVICES FOUND: Press 'M' and '+' to add haunts me. Post by: caveguy on November 19, 2017, 02:56:54 AM 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 ? Title: Re: NO DEVICES FOUND: Press 'M' and '+' to add haunts me. Post by: fapar on November 19, 2017, 10:18:51 AM 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 Title: Re: NO DEVICES FOUND: Press 'M' and '+' to add haunts me. Post by: caveguy on November 19, 2017, 11:09:31 AM 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 :) Title: Re: NO DEVICES FOUND: Press 'M' and '+' to add haunts me. Post by: toptek on November 19, 2017, 02:07:57 PM 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 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 an if you use the set command Code: --set gsd:clock=xxx Code: -S all or -S gsd:all Code: sudo bfgminer -o stratum+tcp://us.litecoinpool.org:3333 --userpass xxx.y:zzz --scrypt -S gsd:all --set gsd:clock=838 but you got it cool ... Title: Re: NO DEVICES FOUND: Press 'M' and '+' to add haunts me. Post by: caveguy on November 19, 2017, 05:00:35 PM 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 :) |