1) Get your hands on some ASICMiner Block Erupter USB’s
2) Get Debian on something with USB ports.
3) apt-get stuff.
apt-get install autoconf gcc make git libcurl4-openssl-dev libncurses5-dev libtool libjansson-dev libudev-dev libusb-1.0-0-dev
4) Clone cgminer source
cd /usr/src/
git clone https://github.com/ckolivas/cgminer.git
5) Run autogen.sh
cd cgminer
./autogen.sh --enable-icarus
6) Compile
make
7) Plug your ASICMiner Block Erupter USB’s into the USB ports of your device.
8) Run
./cgminer -o http://your.pool.com:8332 -u username_worker -p yourpassword
9) Profit ๐
Hello ! Thanks it worked well ! Thanks for info :))
Hi, I did as nstructed but this is what cgminer outputs:
[2013-08-31 15:05:22] Started cgminer 3.4.0
[2013-08-31 15:05:22] USB init open device failed, err -3, you dont have priviledge to access – AMU device 1:14
[2013-08-31 15:05:22] Icarus detect (1:14) failed to initialise (incorrect device?)
[2013-08-31 15:05:22] No devices detected!
[2013-08-31 15:05:22] Waiting for USB hotplug devices or press q to quit
[2013-08-31 15:05:22] Probing for an alive pool
[2013-08-31 15:05:22] Switching pool 0 http://api.bitcoin.cz:8332 to stratum+tcp://stratum.bitcoin.cz:3333
[2013-08-31 15:05:23] Network diff set to 65.8M
[2013-08-31 15:05:28] USB init open device failed, err -3, you dont have priviledge to access – AMU device 1:14
[2013-08-31 15:05:28] Icarus detect (1:14) failed to initialise (incorrect device?)
[2013-08-31 15:05:33] USB init open device failed, err -3, you dont have priviledge to access – AMU device 1:14
[2013-08-31 15:05:33] Icarus detect (1:14) failed to initialise (incorrect device?)
Any sugestion?
KR
Nevermind, got it already, its explained in FPGA.README in the sourceร ยงree of cgminer…
Looks like you needed some permissions to the USB devices?
I’m having the same problem, how do you fix this? The software it suggests seems to be for Windows only not Ubuntu Debian?
run cgminer as root (sudo)
I’m now running the latest version of cgminer as root and ./autogen.sh is not working :@
Well if you would like help gary, you may want to give some details. “not working” is pretty darn vague.
So I’m having trouble myself, this is the output at the autogen.sh
ubuntu@ubuntu:/usr/src/cgminer$ ./autogen.sh –enable-icarus
Running autoreconf -if…
autom4te: cannot create autom4te.cache: No such file or directory
aclocal: autom4te failed with exit status: 1
libtoolize: putting auxiliary files in `.’.
libtoolize: can not copy `/usr/share/libtool/config/config.guess’ to `./’
libtoolize: can not copy `/usr/share/libtool/config/config.sub’ to `./’
libtoolize: can not copy `/usr/share/libtool/config/install-sh’ to `./’
libtoolize: can not copy `/usr/share/libtool/config/ltmain.sh’ to `./’
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4′.
libtoolize: can not copy `/usr/share/aclocal/libtool.m4′ to `m4/’
libtoolize: can not copy `/usr/share/aclocal/ltoptions.m4′ to `m4/’
libtoolize: can not copy `/usr/share/aclocal/ltsugar.m4′ to `m4/’
libtoolize: can not copy `/usr/share/aclocal/ltversion.m4′ to `m4/’
libtoolize: can not copy `/usr/share/aclocal/lt~obsolete.m4′ to `m4/’
autom4te: cannot create autom4te.cache: No such file or directory
autoheader: ‘/usr/bin/autom4te’ failed with exit status: 1
autom4te: cannot create autom4te.cache: No such file or directory
automake: autoconf failed with exit status: 1
autom4te: cannot create autom4te.cache: No such file or directory
autom4te: cannot create autom4te.cache: No such file or directory
aclocal: /usr/bin/autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
Configuring…
./autogen.sh: 22: /usr/src/cgminer/configure: not found
ubuntu@ubuntu:/usr/src/cgminer$ make
make: *** No targets specified and no makefile found. Stop.
Any ideas? Thanks!
crazy_rabbit, Guessing here but perhaps you grabbed the source as another user and your permissions are borked. try using sudo for your commands eg.. “sudo ./autogen.sh รขโฌโenable-icarus”
Or perhaps you need automake?
“apt-get install automake”
Please lmk if that works for you.
worked like a charm!
thank you
Works perfect
Perfect and concise, so much better than many so called “tutorials” on the web.
seems i’m getting some problems. cant seem to find my lovely erupter :’/
Any ideas?
The messages i get in cgminer are:
[2013-10-29 23:22:54] Started cgminer 3.1.0
[2013-10-29 23:22:54] Error -1001: clGetPlatformsIDs failed (no OpenCL SDK instal
led?)
[2013-10-29 23:22:54] clDevicesNum returned error, no GPUs usable
[2013-10-29 23:22:54] No devices detected!
[2013-10-29 23:22:54] Waiting for USB hotplug devices or press q to quit
[2013-10-29 23:22:54] Probing for an alive pool
[2013-10-29 23:22:56] Network diff set to 391M
never mind. ust realised it was using an out of date one for some reason.
Its amazing how much more you see text when you’ve pasted it online haha ๐
cheers ๐
[2013-10-29 23:37:49] Started cgminer 3.6.6
[2013-10-29 23:37:49] Probing for an alive pool
[2013-10-29 23:37:49] Pool 0 difficulty changed to 1.999969
[2013-10-29 23:37:50] Network diff set to 391M
[2013-10-29 23:37:55] Accepted 5cba8472 Diff 2/1 AMU 0
[2013-10-29 23:38:07] Accepted 693648f4 Diff 2/1 AMU 0
[2013-10-29 23:38:08] Accepted 6668a214 Diff 2/1 AMU 0
[2013-10-29 23:38:26] Accepted 23324219 Diff 7/1 AMU 0
Really glad this post has been so helpful you you all ๐
Hey, Google friend! This worked for me.
However, I’d love to be able to have cgminer autorun when I boot up Ubuntu. What’s the simplest way to make that happen?
Cheers!
hey RezOKC!
Then
Add (all one line)
To re-attach to cgminer after reboot type
[128]andie@andie-Dell-DXP051:/usr/src > git clone https://github.com/ckolivas/cgminer.git
fatal: could not create work tree dir ‘cgminer’.: Permission denied
I can’t make the directory with mkdir command. I’m on Linux Mint 15 Olivia and Ubuntu was super buggy and hard to find Konsole
What do I do? How do I change permissions? I tried right clicking src and editing properties but it won’t change them.
Thanks, Phrog!
hey Jesse, you need to get root! start at the beginning with “sudo su” then continue.
Hi guys!
I’m trying to mine LTC using my GPU on my laptop (alienware m17) So whenever i boot cgminer 3.8.1 for windows 64 i keep getting the same error “ No devices detected!“ I have done everything possible! i have searched on forums and sites and nothing fixed my problem! Please if any one know PLEASE help me!!
ruthless,
The information on this page will not help you. GPU’s are not detected for many reasons.. But If I had to guess I would bet you don’t have the prerequisites. read the SCRYPT-README
D’oh! ruthless
cgminer since 3.8.0 has no GPU mining since it is a waste of time so it has been removed.
Hello,
I have setup an Raspberry with a powered USB-hub.
To the USB-hub I have connected a BFL Jalapeno and a block erupter.
bfgminer finds the Jalapeno but not the block erupter.
if I use the hub + miners on windows there is no problems.
If I connect the block erupter directly to the raspberry it finds it.
Could anybody help me?
hey jseppeli, make sure you have the icarus driver enabled.
icarus is enabled. I think I found the error. I’m using a USB3 hub which according to what I have read is not that good with Raspberry ๐
Have to try to get a powered USB2 hub and try
Check out this thread on bitcointalk.org for compatible hubs –> https://bitcointalk.org/index.php?topic=253749.0
Thanks a million for concise working instructions Phrog. I got myself a ASICminer USB thingy for Christmas and following your advice on a fresh install of Wheezy I was up and running in no time. Thanks again ๐
Nice! Short and effective, thanks!
Hi!
Thanks for the simple install instructions. I installed it and yesterday it seems to work fine, but today my Antminer is continiously disconnected when I start CGminer. Tried everything possible, but nothing works. I installed it on a DreamPllug running on Debian Squeeze. Any suggestions? Thanks!
[2014-02-06 23:24:05] Started cgminer 3.12.0[ 256.879656] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0
[ 256.889609] cp210x 1-1.3:1.0: device disconnected
[2014-02-06 23:24:05] Probing for an alive pool
[2014-02-06 23:24:15] Waiting for work to be available from pools.
Hey A3Shocking, my post has absolutely nothing to do with Antminer. I really can’t offer you any knowledgeable suggestions.. sorry. ๐
HELL YEAH MAN!!! IT WORKS U ROCKS ๐
I’m a Linux noobie and keep hitting walls. I’ve successfully installed both cgminer and bfgminer and can start them up. I can’t seem to get them to recognize my Gekko Science Compac block erupters. I’m running Arch Linux on a RPi2, and have installed the Silabs USBtoUART CP210x drivers for Linux. I can’t seem to find instructions on how to configure the map the usb ports to virtual com ports. Can anyone help?
Bob Patterson, DId you build the cgminer from git like this post describes?