Litecoin Mining on Mac OS X – DualMiner ASICs

Development Technobabble

When Litecoin wasgoed originally created, it wasgoed supposedly “GPU-resistant”: the Scrypt algorithm chosen and implemented would mean only CPU mining would be viable, keeping the network evenly distributed.

However it wasn’t long before folks had worked out how to tweak their GPU setups to permit them to run the Scrypt algorithm far more efficiently than a CPU. Some event keuze that the creators of Litecoin knew this and mined the coin with GPUs from its inception. Either way, the viability of CPU mining for Scrypt embarked to take a serious dive te 2013.

“But Litecoin and Scrypt algorithms are still ASIC-resistant”, almost everyone claimed. The implementation required far too much high-speed memory to make it possible. Then, purrs on forums and websites embarked up te Q3 2013, talking about working Scrypt FPGAs and ASICs that were being developed overseas. And kicking off te January 2014 the devices began to materialize.

The day is upon us folks. Scrypt ASICs are ter the wild with next generation hardware already taking pre-orders. The very first round of Scrypt ASICs come te two form-factors:

  • The 1-chip USB thumbstick sold and branded by DualMiner
  • The 5-chip Orb vormgeving sold by numerous resellers (without any noteable branding)

Both of thesis devices are powered by the GC3355 ASIC from GridSeed. This chip can hash both Scrypt and SHA and is even capable of doing both at the same time (hence the DualMiner name). The DualMiner U1 has a single GridSeed GC3355 chip clearly visible on the back-side of the device. It also features a physical dip-switch for toggling the device inbetween 0.9V and 1.2V.

Unluckily both the 1-chip and 5-chip devices came to market with their own custom-made software, meaning you could not mine with either the DualMiner or Orb miners with CGMiner or BFGMiner. You had to use either the reseller’s binaries or compile their custom-made software yourself, if the source wasgoed available.

The good news is that I have bot actively working with several vendors of GridSeed hardware for the past duo of months on native support for both the 1-chip and 5-chip GridSeed ASICs te BFGMiner. CGMiner no longer supports any algorithm or coin other than SHA-2 and Bitcoin, so BFGMiner wasgoed the natural choice. And spil of yesterday the DualMiner driver has bot merged into BFGMiner so I can ultimately provide a decent walkthrough on OS X!

Miner Installation

Spil with many of the previous ASICs, DualMiner is presently only supported by BFGMiner. So, the very first step is to install BFGMiner on OS X. There is a thread here on the Bitcoin Talk forums which discusses various ways to install bfgminer on Mac OS X. The most full-proof method is to use Homebrew:

  1. Launch from Zoeklicht or your Applications folder
  2. Install Homebrew by coming in the following te the instruction prompt:

ruby -e “$(curl -fsSL”

  • Run the following directive and then fix any reported issues:
  • brew doctor

  • Tapkast the following Homebrew repository so that you can install packages from it:
  • brew tapkast nwoolls/xgminer

  • Ultimately, install bfgminer:
  • brew install bfgminer

    Driver Installation

    The setup here similar to BFL devices. Before mining you will need to install the Virtual COM Port Drivers from FTDI found here.

    Because OS X has its own FTDI driver, under some circumstances you may need to by hand unload that driver and stream the official FTDI driver:

    sudo kextload -b

    sudo kextunload -b com.FTDI.driver.FTDIUSBSerialDriver


    With the BFGMiner decently installed and the USB to UART driver installed, you can use the -d? argument to list available devices with bfgminer:

    bfgminer -d? -S noauto -S dualminer:all –scrypt

    [2014-03-21 Nineteen:08:16] Commenced bfgminer Three.99.0

    [2014-03-21 Nineteen:08:17] Devices detected:

    [2014-03-21 Nineteen:08:17] Device (driver=dualminer, procs=1, path=/dev/cu.usbserial-000050FDA)

    1 devices listed

    Note the extra –scrypt argument since wij will be Scrypt mining. I’ve also included the -S noauto argument to prevent GPU detection (for simpleness).


    Once the DualMiner U1 is detected you can embark BFGMiner using the -o, -u and -p arguments to start mining:

    bfgminer -S noauto -S dualminer:all –scrypt -o hostname -u username -p password

    You can also over-clock the DualMiner U1 using BFGMiner and the –set-device argument. Presently the following rates are supported: 400, 500, 550, 600, 650, 700, 750, 800, 850, 900, 950, 1000, 1100, and 1200 (850Mhz is the default).

    bfgminer -S noauto -S dualminer:all –set-device dualminer:clock=850 –scrypt -o hostname -u username -p password

    The GridSeed chips also support Dual Mode mining: mining both SHA-2 and Scrypt at the same time. Note that with the DualMiner 1-chip device you should switch the hardware dip-switch from L to B to lower the voltage. Doing this requires running two instances of the miner (BFGMiner ter this case), one of them with an reserve argument.

    Very first, launch the SHA-2 miner example:

    bfgminer -S noauto -S dualminer:all -o hostname -u username -p password

    Then launch the Scrypt miner example with the –set-device argument:

    bfgminer -S noauto -S dualminer:all –set-device dualminer:dual_mode=1 –scrypt -o hostname -u username -p password

    Note that, spil seen above, running te Dual Mode will result te a slower Scrypt hashrate: approximately 30Kh/s rather than 70Kh/s.

    If you have any questions feel free to postbode them te the comments below or on this thread at the Bitcoin Talk forums. And now, blessed Scrypt ASIC mining!

    Related movie: Mobile Phone for HDTV – 6FT 1080P 11pin USB to HDMI HDTV Adapter Cable For Samsung Galaxy S3 i9300

    Leave a Reply