Author

Topic: Official FutureBit Moonlander 2 Driver and Support Thread - page 107. (Read 71746 times)

legendary
Activity: 1736
Merit: 1006
im getting my sticks today and i am trying to compile this for linux 32bit.

im running into a issue..

steps taken.

wget https://github.com/jstefanop/bfgminer/archive/bfgminer-5.4.2-futurebit2.tar.gz
tar zxfv bfgminer-5.4.2-futurebit2.tar.gz
cd bfgminer-5.4.2-futurebit2


when i do
./autogen.sh it says

aaron@aaron-701:~/bfgminer-bfgminer-5.4.2-futurebit2$ ./autogen.sh
Getting submodules...
fatal: Not a git repository (or any of the parent directories): .git


im stuck.


also why did you name the driver futurebit.c and not futurebit2.c and also why did you use the same github and not make a new one?

its going to make things really complicated since i have v1 and v2 sticks.. :/


edit i "think" i got it to compile not sure until i can test it.
i did this.

first i cloned the main branch.

git clone --branch futurebit_driver https://github.com/jstefanop/bfgminer.git

then i downloaded the v2 source
wget https://github.com/jstefanop/bfgminer/archive/bfgminer-5.4.2-futurebit2.tar.gz
tar zxfv bfgminer-5.4.2-futurebit2.tar.gz
cd bfgminer-5.4.2-futurebit2

then i copied the driver-futurebit.c from there and put it in the main branch.
cp driver-futurebit.c ~/bfgminer

and copy bwltc-commands.h
cp bwltc-commands.h ~/bfgminer

then cd into the main branch.

cd ~/bfgminer


then i ran autogen.sh
then configure CFLAGS=-O3 --enable-scrypt --enable-futurebit --disable-other-drivers
then sudo make
legendary
Activity: 2182
Merit: 1401
warning for high sierra users - looks like there's no driver yet available

yep, was debugging this with charlie, and apple has a new security mechanism for third party drivers that block them in Mac OS 10.13. If you have upgraded to High Sierra don't expect these to work. Im working with Silicon Labs to provide an update ASAP. In the meantime use a Windows, Linux/ Rasp Pi, or Mac with 10.09-10.12.

i noticed that after allowing the driver in Security & Privacy the chip is still not working. probably because mac drivers' version is still 5?


Workaround found for 10.13...thanks charlie for debugging this with me. Fix has been posted in FAQ and below:

The workaround is to disable the SIP, installed the driver then enable the SIP.
-Shut down the Mac, start with Cmd-R depressed to boot to the Recovery Partition that will display the System Utilities.
-Open the Terminal and issue the command csrutil status and you will see SIP is enabled. To disable the SIP issue the command csrutil disable and then restart the Mac.
-You can then download and install the latest driver from Silicon Labs, you have the new USB to UART driver installed, and should work with the moonlander now
-Shut down and boot to the System Utilities and issue the command csrutil enable and restart.
-The csrutil disable and csrtil enable can only be issued from the Terminal while booted to Recovery Partition. Yes, this is a PITA but it works.

While debugging this also found a bug with bfgminer, and current binary wont work with Mac OS < 10.12. Apparently Apple changed a critical base framework from 10.12 onwards and any binaries compiled on 10.12 (which is my dev system) wont work on 10.11 and below. If you want these run on a Mac us 10.12 for out of the box support, or 10.13 with the above fix.  I can't support dozens of distributions architectures and different versions within sorry Sad
legendary
Activity: 2182
Merit: 1401
Ordered 3 from bitmart and was told on the 6th they would ship within 10 days, then to be told 10 days later they has been a production problem slowing them down. Have been emailing them for support and promised an update last Monday but have only been getting the run around and excuses since then. I wanted to receive them before 12/3 as I'll be on holidays but that looks very unlikely now. Does anyone have any info on bitmart?

my order is still processing, think they waiting for sticks to arrive

One again please keep these threads on topic, this belongs in the order thread not in the support thread.

Bitmart was the last distributor I added, he is literally one of the last on the list and just shipped his sticks out, which wont get to SA until next week. You guys that ordered a month ago can't expect to get your sticks the same time for people that have been waiting for 3 months.
full member
Activity: 1204
Merit: 220
(ノಠ益ಠ)ノ
Ordered 3 from bitmart and was told on the 6th they would ship within 10 days, then to be told 10 days later they has been a production problem slowing them down. Have been emailing them for support and promised an update last Monday but have only been getting the run around and excuses since then. I wanted to receive them before 12/3 as I'll be on holidays but that looks very unlikely now. Does anyone have any info on bitmart?

my order is still processing, think they waiting for sticks to arrive
newbie
Activity: 3
Merit: 0
Ordered 3 from bitmart and was told on the 6th they would ship within 10 days, then to be told 10 days later they has been a production problem slowing them down. Have been emailing them for support and promised an update last Monday but have only been getting the run around and excuses since then. I wanted to receive them before 12/3 as I'll be on holidays but that looks very unlikely now. Does anyone have any info on bitmart?
full member
Activity: 658
Merit: 118
Anyone in the US, any hints on what hubs can be found for under $100 to work with a few of these?  Cool

I made a thread here for hubs: https://bitcointalk.org/index.php?topic=2455609.new#new
newbie
Activity: 29
Merit: 0
Wohoo, mine arrived today and they are working perfectly. At stock they are getting around 3,400 kH/s each.
full member
Activity: 1204
Merit: 220
(ノಠ益ಠ)ノ
I can confirm that Astrali's instructions work perfectly - I don't have the Moonlander2s yet so I haven't run the test yet, but everything compiled without any errors. You might want to add to sudo apt-get update and sudo apt-get dist-upgrade first though, even on a fresh install I got errors trying to install the necessary library files until I had run them. Thanks again Astrali, that was a huge help!

One more question - if I'm going to be running two miners should I just have just one worker information entered?

can't get mines working right now, but looks like miner sends them all like one worker
jr. member
Activity: 70
Merit: 1
I can confirm that Astrali's instructions work perfectly - I don't have the Moonlander2s yet so I haven't run the test yet, but everything compiled without any errors. You might want to add to sudo apt-get update and sudo apt-get dist-upgrade first though, even on a fresh install I got errors trying to install the necessary library files until I had run them. Thanks again Astrali, that was a huge help!

One more question - if I'm going to be running two miners should I just have just one worker information entered?
full member
Activity: 1204
Merit: 220
(ノಠ益ಠ)ノ
warning for high sierra users - looks like there's no driver yet available

yep, was debugging this with charlie, and apple has a new security mechanism for third party drivers that block them in Mac OS 10.13. If you have upgraded to High Sierra don't expect these to work. Im working with Silicon Labs to provide an update ASAP. In the meantime use a Windows, Linux/ Rasp Pi, or Mac with 10.09-10.12.

i noticed that after allowing the driver in Security & Privacy the chip is still not working. probably because mac drivers' version is still 5?
legendary
Activity: 2182
Merit: 1401
are these available in market ? in europe or asia ? how much is per piece.

This is the support thread, please keep questions only to support related topics. There is a general thread as well as an order thread linked in main post. To answer your question bitshopper.de will have remaining stock available for sale next week.
sr. member
Activity: 532
Merit: 250
The harder your life is the more meaning it has.
are these available in market ? in europe or asia ? how much is per piece.
legendary
Activity: 2182
Merit: 1401
warning for high sierra users - looks like there's no driver yet available

yep, was debugging this with charlie, and apple has a new security mechanism for third party drivers that block them in Mac OS 10.13. If you have upgraded to High Sierra don't expect these to work. Im working with Silicon Labs to provide an update ASAP. In the meantime use a Windows, Linux/ Rasp Pi, or Mac with 10.09-10.12.
full member
Activity: 1204
Merit: 220
(ノಠ益ಠ)ノ
warning for high sierra users - looks like there's no driver yet available
full member
Activity: 281
Merit: 130
Crypto Addicted
getting NO DEVICES FOUND: Press 'M' and '+' to add. can see the stick in System report, tried both ports on mbp. 720 MHz, last drivers and osx

Code:
[M]anage devices [P]ool management [S]ettings [D]isplay options                                                     [H]elp [Q]uit
 Pool 0: us.litecoinpool.or  Diff:1m  +Strtm  LU:[12:20:51]  User:charlesrocket.1
 Block: ...61b2dbf7449cf46e  Diff:1.2M ( 8.58T)  Started: [12:18:41]  I: 0.00 BTC/hr
 ST:2  F:0  NB:1  AS:0  BW:[ 58/  6 B/s]  E:0.00  BS:0
 0            |   0.0/  0.0/  0.0 h/s | A:0 R:0+0(none) HW:0/none
-----------------------------------------------------------------------------------------------------------------------------------
NO DEVICES FOUND: Press 'M' and '+' to add
-----------------------------------------------------------------------------------------------------------------------------------
 [2017-11-22 12:20:51] coinbase1: 01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff4403e51b14045a1
5b1f22cfabe6d6da5408fa43528e119ddfc204257eed1334b3d8d4ea954dfd7caa980a5807b2c9c4000000000000000042f4c502f08
 [2017-11-22 12:20:51] coinbase2: ffffffff023fbeed95000000001976a91457757ed2ecf2052ff3126c397aca7defb9ca2cec88ac0000000000000000266
a24aa21a9ed41c7df616de42239e6014990df9caf6e612fa72b9914d7ac8e8f8348f8b7414500000000
 [2017-11-22 12:20:51] merkle0: 54c63da6de7c465405e138b61ef1a5081646caa99824745f076b2fd4a6370e95
 [2017-11-22 12:20:51] merkle1: 73055a1b7e956f485f77b565e0f2de51207a16190864076ba4033faae5d09ea0
 [2017-11-22 12:20:51] merkle2: eab602d77119a27c8addea39fcbeface3fdf92acb4a9cbe95c9169b0b9449ce5
 [2017-11-22 12:20:51] merkle3: bd464b65d0270c16156945e68066c19ad8f8ba5a4e47301403f52275783e4501
 [2017-11-22 12:20:51] merkle4: 4d8e95da7dd78c101d0abd65571ba3d5b490273818eaf9240ea8edadd0bcffb6
 [2017-11-22 12:20:51] merkle5: 9ec25200df484849d5eb3e56b71b7b17bc3a8bd62f5edeffd3f593715db5c458
 [2017-11-22 12:20:51] merkle6: 1633525f802637860b36c3257a5d6a19527b8ef2cf2fb07b1ef827f5633fba9d
 [2017-11-22 12:20:51] bbversion: 20000000
 [2017-11-22 12:20:51] nbit: 1a0e0019
 [2017-11-22 12:20:51] ntime: 5a15b1f2
 [2017-11-22 12:20:51] clean: no
 [2017-11-22 12:20:51] Pool 0: SEND: {"params": ["279c"], "id": "txlist279c", "method": "mining.get_transactions"}
 [2017-11-22 12:20:51] Generated stratum header 20000000449cf46e61b2dbf7992b0265a038308da03595738e8e2ba63a3c4968cdaa46ff40984982ca8
eae0e53e81515ab365a851db75749456efbe6e127d6d4f6c92e8a5a15b1f21a0e001900000000
 [2017-11-22 12:20:51] Work job_id 279c nonce2 00000000
 [2017-11-22 12:20:51] Work stale due to work update (06 != 07)
 [2017-11-22 12:20:51] Discarded work
 [2017-11-22 12:20:51] Work stale due to work update (06 != 07)
 [2017-11-22 12:20:51] Discarded work
 [2017-11-22 12:20:51] Selecting pool 0 for work
 [2017-11-22 12:20:51] Discarded 2 stales that didn't match current hash
 [2017-11-22 12:20:51] Stratum from pool 0 requested work update
 [2017-11-22 12:20:51] Generated stratum header 20000000449cf46e61b2dbf7992b0265a038308da03595738e8e2ba63a3c4968cdaa46ff397a247d5dd
4b728020bb9ffaa9a15eb25dc21818a7ae5b0410038891e7b70225a15b1f21a0e001900000000
 [2017-11-22 12:20:51] Work job_id 279c nonce2 01000000
 [2017-11-22 12:20:51] Generated stratum work
 [2017-11-22 12:20:51] Pushing work 36 from pool 0 to hash queue
 [2017-11-22 12:20:51] Selecting pool 0 for work
 [2017-11-22 12:20:51] Generated stratum header 20000000449cf46e61b2dbf7992b0265a038308da03595738e8e2ba63a3c4968cdaa46ff357631e7a1b
9ec5f49168dcf70a5b9e60239d4423b2a8ad8a9643c54f016f70a5a15b1f21a0e001900000000
 [2017-11-22 12:20:51] Work job_id 279c nonce2 02000000
 [2017-11-22 12:20:51] Generated stratum work
 [2017-11-22 12:20:51] Pushing work 38 from pool 0 to hash queue
 [2017-11-22 12:20:51] Pool 0: RECV: {"id":"txlist279c","result":null,"error":[-3,"Method 'get_transactions' not found for service
'mining'",null]}
 [2017-11-22 12:20:51] Received no-transaction-list response for pool 0 job 279c

did you try pressing m  and then + to add the miner?
Code:
Enter "auto", "all", or a serial port to probe for mining devices.
Prefix by a driver name and colon to only probe a specific driver.
For example: erupter:/dev/ttyUSB39
Enter target:
Greetings - Astrali
full member
Activity: 281
Merit: 130
Crypto Addicted
Thanks Astrali, that's perfect! I have a screen and keyboard for my Pi, but I was using it with RetroPie so I'll need to start fresh. Are these steps for a fresh Rasperian install?

Thanks again  Grin

hi,

the description should work on all kind of systems - fresh installs and already used systems.

please add the commands from jstefanop about additional packages needed in his post!

if you do it before install or right before starting doesnt matter. you will just need the packages before you run the miner Smiley
Code:
sudo apt install libjansson-dev libcurl4-openssl-dev

i add it to my previous "how to" Smiley




thanks for that writeup Astrali, when I think I got the "basic" instructions down but keep forgetting there are some people that never used linux before  Grin

and yes like I mentioned in the download links you'll need to install the required dependancies on a fresh system to run the compiled linux binaries. You only need

Code:
sudo apt install libjansson-dev libcurl4-openssl-dev

If you have never used linux before Id start off with just getting these to run on either windows or mac, since its just a download and double click the startup script to get running on those systems. Then you can start playing around in linux.

What step in Astrali's instructions do you install the required dependancies?
as mentioned above - it doesnt matter.
its like fueling your car - it doesnt matter if you do it before or after you wash and pack it - you just need to do it before you start your engine (the miner) Smiley


Greetings - Astrali
jr. member
Activity: 70
Merit: 1
thanks for that writeup Astrali, when I think I got the "basic" instructions down but keep forgetting there are some people that never used linux before  Grin

and yes like I mentioned in the download links you'll need to install the required dependancies on a fresh system to run the compiled linux binaries. You only need

Code:
sudo apt install libjansson-dev libcurl4-openssl-dev

If you have never used linux before Id start off with just getting these to run on either windows or mac, since its just a download and double click the startup script to get running on those systems. Then you can start playing around in linux.

What step in Astrali's instructions do you install the required dependancies?
full member
Activity: 1204
Merit: 220
(ノಠ益ಠ)ノ
getting NO DEVICES FOUND: Press 'M' and '+' to add. can see the stick in System report, tried both ports on mbp. 720 MHz, last drivers and osx

Code:
[M]anage devices [P]ool management [S]ettings [D]isplay options                                                     [H]elp [Q]uit
 Pool 0: us.litecoinpool.or  Diff:1m  +Strtm  LU:[12:20:51]  User:charlesrocket.1
 Block: ...61b2dbf7449cf46e  Diff:1.2M ( 8.58T)  Started: [12:18:41]  I: 0.00 BTC/hr
 ST:2  F:0  NB:1  AS:0  BW:[ 58/  6 B/s]  E:0.00  BS:0
 0            |   0.0/  0.0/  0.0 h/s | A:0 R:0+0(none) HW:0/none
-----------------------------------------------------------------------------------------------------------------------------------
NO DEVICES FOUND: Press 'M' and '+' to add
-----------------------------------------------------------------------------------------------------------------------------------
 [2017-11-22 12:20:51] coinbase1: 01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff4403e51b14045a1
5b1f22cfabe6d6da5408fa43528e119ddfc204257eed1334b3d8d4ea954dfd7caa980a5807b2c9c4000000000000000042f4c502f08
 [2017-11-22 12:20:51] coinbase2: ffffffff023fbeed95000000001976a91457757ed2ecf2052ff3126c397aca7defb9ca2cec88ac0000000000000000266
a24aa21a9ed41c7df616de42239e6014990df9caf6e612fa72b9914d7ac8e8f8348f8b7414500000000
 [2017-11-22 12:20:51] merkle0: 54c63da6de7c465405e138b61ef1a5081646caa99824745f076b2fd4a6370e95
 [2017-11-22 12:20:51] merkle1: 73055a1b7e956f485f77b565e0f2de51207a16190864076ba4033faae5d09ea0
 [2017-11-22 12:20:51] merkle2: eab602d77119a27c8addea39fcbeface3fdf92acb4a9cbe95c9169b0b9449ce5
 [2017-11-22 12:20:51] merkle3: bd464b65d0270c16156945e68066c19ad8f8ba5a4e47301403f52275783e4501
 [2017-11-22 12:20:51] merkle4: 4d8e95da7dd78c101d0abd65571ba3d5b490273818eaf9240ea8edadd0bcffb6
 [2017-11-22 12:20:51] merkle5: 9ec25200df484849d5eb3e56b71b7b17bc3a8bd62f5edeffd3f593715db5c458
 [2017-11-22 12:20:51] merkle6: 1633525f802637860b36c3257a5d6a19527b8ef2cf2fb07b1ef827f5633fba9d
 [2017-11-22 12:20:51] bbversion: 20000000
 [2017-11-22 12:20:51] nbit: 1a0e0019
 [2017-11-22 12:20:51] ntime: 5a15b1f2
 [2017-11-22 12:20:51] clean: no
 [2017-11-22 12:20:51] Pool 0: SEND: {"params": ["279c"], "id": "txlist279c", "method": "mining.get_transactions"}
 [2017-11-22 12:20:51] Generated stratum header 20000000449cf46e61b2dbf7992b0265a038308da03595738e8e2ba63a3c4968cdaa46ff40984982ca8
eae0e53e81515ab365a851db75749456efbe6e127d6d4f6c92e8a5a15b1f21a0e001900000000
 [2017-11-22 12:20:51] Work job_id 279c nonce2 00000000
 [2017-11-22 12:20:51] Work stale due to work update (06 != 07)
 [2017-11-22 12:20:51] Discarded work
 [2017-11-22 12:20:51] Work stale due to work update (06 != 07)
 [2017-11-22 12:20:51] Discarded work
 [2017-11-22 12:20:51] Selecting pool 0 for work
 [2017-11-22 12:20:51] Discarded 2 stales that didn't match current hash
 [2017-11-22 12:20:51] Stratum from pool 0 requested work update
 [2017-11-22 12:20:51] Generated stratum header 20000000449cf46e61b2dbf7992b0265a038308da03595738e8e2ba63a3c4968cdaa46ff397a247d5dd
4b728020bb9ffaa9a15eb25dc21818a7ae5b0410038891e7b70225a15b1f21a0e001900000000
 [2017-11-22 12:20:51] Work job_id 279c nonce2 01000000
 [2017-11-22 12:20:51] Generated stratum work
 [2017-11-22 12:20:51] Pushing work 36 from pool 0 to hash queue
 [2017-11-22 12:20:51] Selecting pool 0 for work
 [2017-11-22 12:20:51] Generated stratum header 20000000449cf46e61b2dbf7992b0265a038308da03595738e8e2ba63a3c4968cdaa46ff357631e7a1b
9ec5f49168dcf70a5b9e60239d4423b2a8ad8a9643c54f016f70a5a15b1f21a0e001900000000
 [2017-11-22 12:20:51] Work job_id 279c nonce2 02000000
 [2017-11-22 12:20:51] Generated stratum work
 [2017-11-22 12:20:51] Pushing work 38 from pool 0 to hash queue
 [2017-11-22 12:20:51] Pool 0: RECV: {"id":"txlist279c","result":null,"error":[-3,"Method 'get_transactions' not found for service
'mining'",null]}
 [2017-11-22 12:20:51] Received no-transaction-list response for pool 0 job 279c
newbie
Activity: 42
Merit: 0
Ok cool - maybe we could pop links on the OP to these. These new USB miners are digging up some old discussions but theres newer hubs out there.

Any comments on steps to compiling our own binary on a PI? I'm going to reimage mine tonight Smiley
legendary
Activity: 2182
Merit: 1401
I would be careful about going off-topic here, maybe we need to start a new thread about usb hub for miners Inc comparability with different platforms like PI etc

Yea there is a wealth of knowledge already posted about hubs, if someone wants to start a thread and consolidate some of the info that would be awesome. Just look at my old Moonlander thread for some tips, and also check out sidehack's threads on his bitcoin USB miner, I believe they have their own hub discussion as well that would apply my sticks as well.
Jump to: