Post
Topic
Board Hardware
Re: GekkoScience Compac BM1384 Stickminer Official Support Thread
by
edonkey
on 14/09/2015, 19:28:10 UTC
I posted a question for you on another thread do you know if I can run older U2's in the same instance of cgminer or can I only stick to the compacs id like to fill the rest of the hub with my older U2's and ahve only 1 pi 2 running them all Smiley

I don't know if they will detect correctly, as the icarus driver specifically can detect anything with approximately the correct chips.  You can try, you'd need top build with --enable-icarus and --enable-gekko.

mindtrip, are you using my Minera mod? If so, I didn't build it with --enable-icarus. I only used --enable-gekko, because originally I was building this for me and I only have sticks, not U2's.

That said, it should be easy to rebuild cgminer and add Icarus support. Here's what the steps would be after ssh'ing in as the "minera" user:

Code:
cp /var/www/minera/minera-bin/custom/cgminer-gekko /var/www/minera/minera-bin/custom/cgminer-gekko_saved
cd /var/www/minera/minera-bin/src/cgminer-gekko
./configure --enable-icarus --enable-gekko
make
sudo make install
cp cgminer ../../custom/cgminer-gekko

Hopefully you won't have to do a "make clean". I suspect that since you'll be changing the config above that cleaning probably won't be necessary.

After the above, you should be able to restart the miner from minera, and it will be running the updated cgminer with icarus and gekko support.

Of course enabling U2 support doesn't guarantee that it will work. But at least you'd be able to test at this point.

If something goes wrong, you'll have a backup of the original mod cgminer binary (the cgminer-gekko_saved created in the first step).