Bfgminer works fine with the S9. Sounds like you have network or electrical issues. What kind of power are you feeding the S9? What's your network setup?
Are you using BFGMiner?
sorry - I meant to ask, how did you get it to work? Did you build the executable? I'm stuck...I posted to its forum and I was told that S9's are not supported...
Thanks
My questions as well.
The s9's are stand-alone miners with their own controllers and BMminer miner software (Bitmains ripped off version of cgminer).
So,
a. Why on earth would you want to try and re-invent the wheel by using a different controller/software?
b. How did you write a driver to interface between the s9 hash boards and BFGminer?
Let me try to answer a and b :S9 is offsite so I pointed the URL to
http://mynetwork.net:3333 and the backup to
stratum+tcp://mynetwork.net:3333
I opened port 3333 on mynetwork.net to allow 3333 traffic from the off-site's ip
On my pc, I run bitcoind with -server in the config, along with
txindex=1
server=1
rpcuser=username
rpcpassword=USerpass1
rpcport=8332
rpcconnect=127.0.0.1
gen=0
On that same pc, I run an utter hack, using my palms to type:
C:\bfgminer-5.4.2-win64\bfgminer-5.4.2-win64>bfgminer -o http://127.0.0.1:8332 -u username -p USerpass1 --stratum-port=3333 -S bitmain:auto --set btm:model=S9 --no-longpoll
and get
bfgminer version 5.4.2 - Started: [2018-01-10 15:09:11] - [ 0 days 00:00:16]
[M]anage devices [P]ool management [S]ettings [D]isplay options [H]elp [Q]uit
Pool 0: 127.0.0.1 Diff:1.93T - GBT LU:[15:09:11] User:username
Block: ...0ecf5579a7b6f1d6 Diff:1.93T (13.82Eh) Started: [15:09:11] I:?
ST:4 F:0 NB:1 AS:0 BW:[199/ 0kB/s] E:0.00 BS:0
-----------------------------------------------------------------------------------------------------------------------
PXY 0: | 0.0/ 0.0/ 0.0 h/s | A:0 R:0+0(none) HW:0/none
PXY 1: | 0.0/ 0.0/ 0.0 h/s | A:0 R:0+0(none) HW:0/none
-----------------------------------------------------------------------------------------------------------------------
[2018-01-10 15:09:03] Waiting for devices; press 'M+' to add, or 'Q' to quit
[2018-01-10 15:09:03] Added local bitcoin RPC server on 127.0.0.1:8332 as pool 1
[2018-01-10 15:09:03] Probing for an alive pool
[2018-01-10 15:09:11] Now using coinbase address 1KYKLWeBzzqSuaKMnhrXFCsCgQaHXU4sU8, provided by pool 1
[2018-01-10 15:09:11] Network difficulty changed to 1.93T (13.82Eh)
[2018-01-10 15:09:11] Pool 0 http://127.0.0.1:8332 alive
[2018-01-10 15:09:11] Pool 1 http://127.0.0.1:8332/#getcbaddr#allblocks alive
Then they get sick. During this time the 3rd backup (slushpool) shows degrading hashrates until zero - shows my pc has taken control of the miners...
Stranger things sidenote : I don't want to confuse anything, but I actually got it working at the beginning :
https://i.imgur.com/JxYUEyt.pngWent to bed so happy I couldn't feel anything - Next morning, pc had rebooted from windows update, and no more nirvana. Just not working anymore - just zeros...)