Pages:
Author

Topic: GekkoScience Compac BM1384 Stickminer Official Support Thread - page 74. (Read 268027 times)

sr. member
Activity: 331
Merit: 250
how are you running them at different speeds ? different cgminers or different rigs ?

You can do multiple cgminers pretty easy.  Then you can specify the usb spot for each miner.  Having 2 would not be to bad to do.

I actually ran 2 on for a while as I had these that have the nice gekko-cgminer, but I had some prototypes and europe one I ran as Icarus.

Yes, just add "--usb :#" to the comand line, on 1 of my Pi-2's, my rc.local file looks similar to this

sleep 8s
cd /cgminer-gekko
sudo ./cgminer -o pool:3333 -u XXXXX --usb :1 --compac-freq 250 --suggest-freq 8 --widescreen --worktime -o pool:3333 -u XXXXXXX
sleep 8s
sudo ./cgminer -o pool:3333 -u XXXXX --usb :4 --compac-freq 250 --suggest-freq 24 --widescreen --worktime -o pool:3333 -u XXXXXXX
sleep 8s
sudo ./cgminer -o pool:3333 -u XXXXX --usb :5 --compac-freq 350 --suggest-freq 50 --widescreen --worktime -o pool:3333 -u XXXXXXX

--usb :1 finds and runs only 1 stick, --usb :4 finds and runs only 4 sticks, and --usb :5 finds and runs only 5 sticks (I don't really need the --usb :5 on the last one, it would just find how ever many sticks that's left not running and use them).

By the way, the "sleep 8s" is just an 8 second pause between booting up and between cgminer starts, just a little extra time to be fully booted and each cgminer to be started. And because it's in the rc.local file, as soon as the Pi boots, it starts mining.
legendary
Activity: 1274
Merit: 1000
Quote
Code:
sudo apt-get install autoconf libusb-1.0-0-dev libusb-1.0-0 libcurl4-openssl-dev libncurses5-dev libudev-dev libtool automake pkg-config libjansson-dev
(you may get a message saying you need other package's installed to install some of the above, if you do, just add it to the above)



I ended up doing the some thing to get Rev 2 to work and compile Smiley .


ended up adding more in case


Code:
sudo apt-get -y install git-core build-essential autoconf automake libtool pkg-config libcurl4-gnutls-dev libjansson-dev uthash-dev libncursesw5-dev libudev-dev libusb-1.0-0-dev libevent-dev libmicrohttpd-dev
legendary
Activity: 1456
Merit: 1000
how are you running them at different speeds ? different cgminers or different rigs ?

You can do multiple cgminers pretty easy.  Then you can specify the usb spot for each miner.  Having 2 would not be to bad to do.

I actually ran 2 on for a while as I had these that have the nice gekko-cgminer, but I had some prototypes and europe one I ran as Icarus.
hero member
Activity: 735
Merit: 500
★YoBit.Net★ 350+ Coins Exchange & Dice
how are you running them at different speeds ? different cgminers or different rigs ?
sr. member
Activity: 331
Merit: 250
Hello All,
Just wanted to report that I'm running The GekkoScience Stickminer with the official Minera (0.6.2) using cgminer and did not do any other options or settings and all is working great.
I did have an issue with one of the stickminers but a small tweek to the voltage regulator/control fixed the issue.

one thing is the identifier of the GekkoScience Stickminers is given as "AU30" and "AU31". I'm new to all this so I don't know if this is correct or not.
I'm now getting an average of 12 GH/s per stick which is the average of what everyone is getting (right).

Thanks to all.  Grin
 



yea they show up as au3 nothing bad though it happened to my minera installation

With just the plain cgminer the sticks list as au3's. With cgminer-gekko they list as compac's.

As for hash rate, it all depends on what freq their running at. But for just plugging them in, 12GH/s is good.

I've got some running freq 310 @ ~ 17GH/s and some at freq250 @ ~ 13.7GH/s. You can push them up to over 20GH/s with the right set-up (which I still need to get around to for "all" the stick's, 1 of these days).
hero member
Activity: 735
Merit: 500
★YoBit.Net★ 350+ Coins Exchange & Dice
yea they show up as au3 nothing bad though it happened to my minera installation
newbie
Activity: 1
Merit: 0
Hello All,
Just wanted to report that I'm running The GekkoScience Stickminer with the official Minera (0.6.2) using cgminer and did not do any other options or settings and all is working great.
I did have an issue with one of the stickminers but a small tweek to the voltage regulator/control fixed the issue.

one thing is the identifier of the GekkoScience Stickminers is given as "AU30" and "AU31". I'm new to all this so I don't know if this is correct or not.
I'm now getting an average of 12 GH/s per stick which is the average of what everyone is getting (right).

Thanks to all.  Grin
 

sr. member
Activity: 331
Merit: 250
One thing more we'd need to know, what cgminer version you are using and what compile flags you used (--enable-icarus, --enable-gekko, etc).

I think I used just the 'enable gekko' command. I ran through the thorough instructions that Novak gave on the first page of this thread. I'll quote everything he posted :

Here's what you'd do to get cgminer on linux going:
1. Open a terminal.

2. wget http://gekkoscience.com/misc/cgminer-gekko.tar.gz            

3. tar -xvzf cgminer-gekko.tar.gz

This extracts the files. which are compressed (like a zip file for linux)

4. cd cgminer-gekko
 
Enters the cgminer-gekko folder you just extracted.

5. sudo apt-get install build-essential autoconf automake libtool

You need to install the dependencies for cgminer.

6. ./autogen.sh

This will generate a configure script for you which will set up compiling for your system.

7. ./configure --enable-gekko

This will configure the build.  This is the most likely place to have anything go wrong, if it does, let me know exactly what's up.  Odds are it would be some package that you should have installed.

8. make

Performs the build.  If you get an error there- again, let me know details.


The steps from around the first page was missing a few things (unless novak edited them in).

From updated steps posted later on:

https://bitcointalksearch.org/topic/m.12468048

First things first, open terminal

sudo apt-get update
sudo apt-get upgrade   (this will update the the system) it will ask do you want to continue y/n hit y and enter.

After it updates,  sudo reboot  (to be sure updates are active).

Then in terminal window again

sudo apt-get install autoconf libusb-1.0-0-dev libusb-1.0-0 libcurl4-openssl-dev libncurses5-dev libudev-dev libtool automake pkg-config libjansson-dev (you may get a message saying you need other package's installed to install some of the above, if you do, just add it to the above)

Again y/n hit y enter
After it's done,

wget http://gekkoscience.com/misc/cgminer-gekko.tar.gz

tar xvzf cgminer-gekko.tar.gz

cd cgminer-gekko

./autogen.sh

./configure --enable-gekko --disable-libcurl    (cgminer doesn't need it, but linux does to build)

sudo make install   (you don't have to do the install)

While still in the cgminer-gekko dir,

sudo cp 01-cgminer.rules /etc/udev/rules.d/   (if it does not copy,  sudo su enter then  cp 01-cgminer.rules /etc/udev/rules.d/   )

sudo usermod -G plugdev -a whoami        (whoami= your user name you setup)

sudo reboot

After it restarts open terminal

cd cgminer-gekko

sudo ./cgminer -o stratum+tcp://whateverpool:XXXX -u poolusername.andworkerifyouwant --compac-freq XXX

These should get you up and running.
sr. member
Activity: 261
Merit: 257
FWIW, the Compac driver in BFGMiner is heavily integrated with the "Icarus" driver, so what Kano is saying makes sense to me.

Future devices using a new protocol should probably get a separate driver from the Compac anyway.
I agree, IMO the best way to do it is to separate all drivers by protocol, if it uses the icarus protocol put it in the icarus driver otherwise separate it out so that it doesn't get too hard to maintain in mainline, separating by manufacturer is IMO more complex and confusing if say an icarus protocol specific bug needs to be dealt with. Multiple protocols within the same driver sounds confusing and hard to maintain. Cgminer binaries(at least for windows) should be compiled with most of the configure flags for usb miners enabled anyways and everything should just get autodetected, otherwise it's easy enough to just flag both at the same time for linux.

Novak, would you mind doing a branch with the gekko driver within icarus for mainline cgminer inclusion or hardware sending dev samples to kano and/or ck so they can do it?
newbie
Activity: 7
Merit: 0
One thing more we'd need to know, what cgminer version you are using and what compile flags you used (--enable-icarus, --enable-gekko, etc).

I think I used just the 'enable gekko' command. I ran through the thorough instructions that Novak gave on the first page of this thread. I'll quote everything he posted :

Here's what you'd do to get cgminer on linux going:
1. Open a terminal.
2. wget http://gekkoscience.com/misc/cgminer-gekko.tar.gz             

This downloads the file- you can save it from your browser instead, it's the same thing.

3. tar -xvzf cgminer-gekko.tar.gz 

This extracts the files. which are compressed (like a zip file for linux)

4. cd cgminer-gekko
 
Enters the cgminer-gekko folder you just extracted.

5. sudo apt-get install build-essential autoconf automake libtool

You need to install the dependencies for cgminer.

6. ./autogen.sh

This will generate a configure script for you which will set up compiling for your system.

7. ./configure --enable-gekko

This will configure the build.  This is the most likely place to have anything go wrong, if it does, let me know exactly what's up.  Odds are it would be some package that you should have installed.

8. make

Performs the build.  If you get an error there- again, let me know details.
legendary
Activity: 3374
Merit: 1859
Curmudgeonly hardware guy
When I think about it from a work protocol standpoint, yeah it makes a bit more sense to say it could be integrated to Icarus and I get where he's coming from. Our changes to the parts we actually used were probably fairly minor. But when I consider the Compac is a Gekko miner, and that we'll probably make more versions of the Compac with different chips and protocols (since no two manufacturers do things the same way), it doesn't make a lot of sense to say "oh this Compac requires Icarus, but this Compac over here uses something else" instead of just putting the code for every Gekko miner into one Gekko module. Less confusing. That, and Icarus doesn't need to get any more convoluted than it already is. But, again, I'm not the programmer I'm the hardware guy so what I say doesn't really matter a whole lot?

The lightshow on the hub was fun. Most of the test batches we ran 20 to 25 at a time; I think the hub was only full to capacity once. I don't have a screenshot; they were on an SSH'd instance from Novak's workbench machine so he might have something but I don't. Right now there's only about half a dozen functional sticks still in the shop so I can't really recreate it.

One of these days I should get back around to designing our own USB hub. I had some preliminary work done on that a few months ago and then kinda did a bunch of other stuff instead. But I likely won't have much manufacturing to do over the next month so maybe I'll use that time for design and prototyping of the project backlog. The idea I had was 7 ports, but that could change I guess. Or maybe not. I don't know.
legendary
Activity: 4256
Merit: 8551
'The right to privacy matters'
It is a very good hub.  I got one from him on amazon.  I sourced a lessor psu but it is the most efficient 5 volt psu I can find

https://www.trcelectronics.com/ecomm/pdf/hsp150.pdf

I dialed it up to 5.4 volts hooked it up to the hub from klintay ran 20 sticks as high as 325 each

This psu gives me the best watt readings from my watt meters.

This psu hooked up to klintay's 49 port hub works better then when I attach it to klintay's older 19 port hubs.

The one cavat is I ran 20 sticks on the 49 port hub and The psu could do maybe 25 sticks tops.

As sidehack shows the hub does 49 sticks with the bigger psu.

I have been running my sticks now  for months on the 49 port hub.
sr. member
Activity: 453
Merit: 250



Oh my..... only if I could afford em. Bet its a damn cool light show when they are mining!
legendary
Activity: 1456
Merit: 1000
Thanks for sharing, I don't mind a shameless plug when it benefits something good such as this and compac making.  

Really neat to see 49 mining at once on a single hub.  Do you have a screenshot of it on PC would love to see pc screenshot with 49 of them running?
hero member
Activity: 735
Merit: 500
★YoBit.Net★ 350+ Coins Exchange & Dice
MINER PORN !!!! love it sidehack
legendary
Activity: 2576
Merit: 1186
FWIW, the Compac driver in BFGMiner is heavily integrated with the "Icarus" driver, so what Kano is saying makes sense to me.

Future devices using a new protocol should probably get a separate driver from the Compac anyway.
legendary
Activity: 3374
Merit: 1859
Curmudgeonly hardware guy


I'm not just showing off, but it is pretty cool to be able to show off. This smexy Eyeboot 49-port-hub setup is what we used to test all the last batch of Compacs. Purchased from Amazon, and reimbursed by klintay on the condition that I publicise it. I generally disapprove of compensated endorsements (you always gotta question motives), but I will gladly endorse a product I actually do approve of and this hub is a heck of a lot better than the scrounger we were using. So, meeting that condition. It's probably a bit late but I'm fairly certain we'll be doing another 500 batch of Compacs (I'll know for sure early next week) and we have plans to continue the Compac line with new chips (whenever possible) and we'll keep using this hub (and 60A PSU) for testing until, I dunno, if it ever breaks I guess.

I'm not sure if it's an issue with cgminer or USB or what, but we couldn't get more than about 300GH out of a hub full of sticks. But even so, that was a decent load of power for a USB hub. Seriously.

So, shameless plug out!
legendary
Activity: 1736
Merit: 1006
For software gurus:

if i run Debian Linux Live Cinnamon on PC (without installing), would I be able to configure cgminer/bfgminer and run stick(s) OR It is necessary to do a full install?
thanks.

if you compile cgminer on the usb drive you should be ok.

dont leave it in your /home folder as that is a ram drive on a live build.. it wont get saved..


also, some usb creators have a persistant mode.. but i could never get it to work with ubuntu based builds..

what i would do is partition the USB drive yourself, you are going to need at least 8gb, 16 or 32 is better..

4gb goes to the usb image and the rest to the /home folder.

when the usb boots up, you just mount the partition manually to the /home/user folder and you can even make a script to do it if you know linux. kind of a hybrid usb live build.

that way all your files will be on the usb drive and not in memory so if you lose power its not completely reset.


altho if you want to not mess with it and have 2 usb drives.. you could boot the live and install it on the other usb drive.. just make sure you put the boot loader on the usb drive and not write it on /dev/sda

sr. member
Activity: 331
Merit: 250
Alright guys. So yes, I'm a little late into the game. But having a few issues and i'm(hopefully) trying to get some support. My software skills are pretty minimal. I recently been experimenting with Ubuntu, and super new to it. So I purchased 3 of these bad boys, and im trying to get these working. So i followed the exact setup for the terminal. Got everything setup for CGminer. It is actually searching for the Gekkoscience miners. But when I plug them up, CGminer does not detect them. I tried plugging them directly to the computer, and I have tried plugging them to a powered USB hub. Nothing. I'm hoping to get some help. Thanks guys! If you need any more info please let me know.

One thing more we'd need to know, what cgminer version you are using and what compile flags you used (--enable-icarus, --enable-gekko, etc).

Also, which steps did you follow? So we can see if maybe a step was missing, maybe had a bad step, or had a step for different hardware.
full member
Activity: 173
Merit: 100
Guys, I've updated cgminer-gekko, if you download it now the link is still the same:

http://gekkoscience.com/misc/cgminer-gekko.tar.gz

If for some reason you need the old version, it can be found at:

http://gekkoscience.com/misc/cgminer-gekko-orig.tar.gz


The new version is slightly cleaned up and will build alongside icarus.  I've tested it with a U2 and they run at the same time.  I also fixed it to recognize bitshopper compacs, as that was a source of annoyance.  I have yet to try to force a windows build.

As to people suggesting that the compac driver should be part of icarus:  maybe, it really doesn't matter to me.  I'm not going to develop it as part of icarus though as I am substantially extending it for multi-chip and icarus is a total mess.  Even detection is crude because no one bothered to build most hardware that runs under icarus correctly so you simply have to try running each piece of hardware successively and see if it might be any of them.

If I need to somehow recombine the compac-only driver as part of icarus that might be possible.  cgminer-gekko will continue to exist for ongoing development, however.

--
novak
Pages:
Jump to: