Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Mining Dogecoin/Litecoin with cgminer and the Antminer U1 USB.

Using cgminer with the Bitmain Antminer U1 USB

Download

Download the latest version of cgminer. At the time of writing, this is version 4.1.0.

$ wget http://ck.kolivas.org/apps/cgminer/cgminer-4.1.0.tar.bz2
$ tar xf cgminer-4.1.0.tar.bz2
$ cd cgminer-4.1.0

Compile

Compile cgminer with support for Icarus. If you don't do this, cgminer won't recognize the Antminer U1 and will fail with a "No known USB devices".

$ ./configure --enable-icarus
$ make -j5

Optional:

Confirm that cgminer recognizes your Antminer U1 by running sudo ./cgminer -n. If it does, you will see something like the following output:

$ sudo ./cgminer -n
 [2014-03-13 23:40:18] USB all: found 12 devices - listing known devices
.USB dev 0: Bus 4 Device 4 ID: 10c4:ea60
  Manufacturer: 'Silicon Labs'
  Product: 'CP2102 USB to UART Bridge Controller'                    
 [2014-03-13 23:40:18] 1 known USB devices       

Run

Run cgminer. I'm running it as root, which is probably a terrible idea, but I didn't feel like setting up the USB hotplug permissions and udev rules.

$ sudo ./cgminer -o stratum+tcp://<pool>:<port> --userpass <user>:<pass>
@Markarend

This comment has been minimized.

Copy link

@Markarend Markarend commented May 5, 2014

Sooo, the comment at the top says "Mining Dogecoin/Litecoin with cgminer and the Antminer U1 USB." Is it true this will allow you to mine SCRYPT coins with the Antminer U1 USB? That would be a dream come true; any idea what kind of hashrates? Thanks,

@Klaj

This comment has been minimized.

Copy link

@Klaj Klaj commented Jun 11, 2014

Hi, can you please tell me, if this way I will really mine Dogecoin/Litecoin on Antminer usb?

@okyanu

This comment has been minimized.

Copy link

@okyanu okyanu commented Jun 13, 2014

how can I do this in mac

@ringohasadd

This comment has been minimized.

Copy link

@ringohasadd ringohasadd commented Jun 17, 2014

wtf is this? RTFM n00b.

@starmandate

This comment has been minimized.

Copy link

@starmandate starmandate commented Feb 3, 2015

What hash rate can you achieve with this method? I was thinking of selling my asic on as it is too slow for btc (I don't want to damage it)..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.