Bitcoin Forum

Bitcoin => Mining support => Topic started by: technofox on October 08, 2014, 10:29:57 PM



Title: Gridseed Mini / Orb / 5 Chip on Raspberry Pi - Dual Mining Mode the Easy Way
Post by: technofox on October 08, 2014, 10:29:57 PM
Howdy,

After a lot of cursing and hours of frustration, I have successfully got dual mining to work in Minera v0.3.6. The problem with getting Gridseed Orb / Mini / 5 Chip in dual mode was the bloody software (cgminer-dmaxl-zeus) would accidentally take away my Antminers from BFGMiner, a very irritating problem and one that has not been resolved until now (I have spent countless hours Googling and only finding others with similar issues, but no resolution). Well look no further now, dear friends.

Step 1 - Get Minera v 0.3.6 or later.
Step 2 - Use BFGMiner to setup your Antminers (or non-Gridseed / non-Zeus miners).
Step 3 - Use SSH to log into the Linux shell and once in the command prompt, type in "lsusb" without the quotes. You should get results similar to that of below:

user@minera ~ $lsusb
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 009: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 001 Device 010: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 005: ID 0483:5740 SGS Thomson Microelectronics
Bus 001 Device 006: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 007: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 001 Device 008: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB

Look for the ID that contains SGS Thomson Microelectronics (as you can tell I have 3 Antminers, which use Cygnal, so it was easy to pick apart the correct device).

Step 4 - type in "nano /etc/rc.local" without the quotes and press enter.
Step 5 - add the two lines below before the "exit 0" without the quotes, but make sure you modify them for your setup or it will not work:

su - minera -c "screen -dmS SHA256 sudo /var/www/minera/minera-bin/cgminer-dmaxl-zeus --usb 001:005 --sha256 -o stratum+tcp://stratum.bitcoins.com:3333 -u username -p password"

su - minera -c "screen -dmS SCRYPT sudo /var/www/minera/minera-bin/cgminer-dmaxl-zeus --usb 001:005 --scrypt -o stratum+tcp://stratum.scryptcoins.com:3333 -u username -p password"

Step 6 - reboot and enjoy.

P.S. - Sometimes BFGMiner can be finicky with the DMAX and cause your Antminers not to work, just log into your shell and type in:
screen -dmS BFGMINER bfgminer -o stratum+tcp://stratum.bitcoins.com:3333 -u username -p password -S antminer:all --set-device antminer:clock=x0981

It should fire them up for mining Bitcoins.



Title: Re: Gridseed Mini / Orb / 5 Chip on Raspberry Pi - Dual Mining Mode the Easy Way
Post by: RanduCandu on January 17, 2015, 10:02:48 PM
Grrr;

OK.  I am trying to replicate this - but I am an absolute beginner. I am technical (just inexperienced in these matters).
Any chance you can go thru what you did here in a more verbose way?

My objective is easy:  I bought a bunch of Gridseed miners (Dual Mode - 5 chip type) and I want to run a Raspberry Pi as the main 'controller' and communicator to the pools.   I think I got most of the HASHRA software to work (ver 1.4.5) but it is hit and miss.

I think I need:
10x Gridseeds (got)
1x PSU 1200W (got)
Cables (got)
1x 10 port powered hub (4A) (got it - but having issues - think it is because it is a USB 3.0 type?).
Raspberry Pi (got)
Lots of intention and time


Is there a Pi Image that you can point me to?

Many thanks in advance.

AL.