Pages:
Author

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

newbie
Activity: 3
Merit: 0
Thanks guys. The kick out after finding a block seems to be a power issue as with no other devices plugged into the Pi except the miner, it worked after the most recently block was found. I will try to reinstall/compile/whatnot using the initial directions to get the --compaq-freq to work. I appreciate the suggestions on ways to power it and I plan on buying what I need to get it working properly, I just wanted to get it to work initially first. Trying not to give into the urge to buy a few more and set up a rig as a project, because the fiance might kill me lol. Thanks for the help!
legendary
Activity: 4256
Merit: 8551
'The right to privacy matters'
I used this method off the first page to set up everything. So, I thought this would take care of it. I did use a different dependency set though I believe. The RPi does provide enough power to run it at 125 as thats what I am doing now, though I know if I want to run it higher I will need a powered USB. I think I fixed the issue with restarting as I did have too many devices plugged in the the RPi and it wasn't getting enough juice. However, after hashing fine for hours, does the power issue explain it failing when the pool hit a block?



It has a reset and a tiny power boost on the draw.

the rasp pi is lacking the testicles for that boost.

there are solutions.    use this to power the rasp pi


http://www.amazon.com/Anker-Charger-Foldable-Technology-Motorola/dp/B014ZN63T4?

http://www.amazon.com/StarTech-3-Feet-Cable-External-Drive/dp/B0047AALS0/ref=sr_1_8?


and then use this to run the single  stick


http://www.amazon.com/Soumooo-Quality-Enhancer-Female-Extension/dp/B01C5IPUIQ/ref=sr_1_3?



this will allow a lot more juice for the stick.


I just added this from sidehack as he is the master. 

If you're running on 125MHz, turn the voltage down to 600mV and it'll use a lot less power.

If you followed the directions from the first post, and installed cgminer-gekko, then your command line will recognize --compac-freq. The sample command line in the instructions is copied directly from what we use for testing all Compacs with that software. Make sure it's spelled correctly. It looks like you are using cgminer-gekko, as with standard cgminer you'd see the stick enumerate as a U3 and try to hash at something like 225MHz, where it'd try to draw about 900mA from your USB port and probably turn off.

That doesn't explain why it would kick out after finding a block. It could be a power issue, maybe with a bit of burst current after scrapping everything and pushing entirely new work? That's not an issue I've ever seen, but then I've never run a stick directly off a Pi. Try turning the voltage down to about 590-600mV for 125MHz (610 or so if you can make it run at 150MHz) and it'll draw USB2-spec power.


if you try my ideas and his ideas combined you will be fine.

I know many power bricks for rasp pi's fall short.  mine will not fall short.
legendary
Activity: 3374
Merit: 1859
Curmudgeonly hardware guy
If you're running on 125MHz, turn the voltage down to 600mV and it'll use a lot less power.

If you followed the directions from the first post, and installed cgminer-gekko, then your command line will recognize --compac-freq. The sample command line in the instructions is copied directly from what we use for testing all Compacs with that software. Make sure it's spelled correctly. It looks like you are using cgminer-gekko, as with standard cgminer you'd see the stick enumerate as a U3 and try to hash at something like 225MHz, where it'd try to draw about 900mA from your USB port and probably turn off.

That doesn't explain why it would kick out after finding a block. It could be a power issue, maybe with a bit of burst current after scrapping everything and pushing entirely new work? That's not an issue I've ever seen, but then I've never run a stick directly off a Pi. Try turning the voltage down to about 590-600mV for 125MHz (610 or so if you can make it run at 150MHz) and it'll draw USB2-spec power.
newbie
Activity: 3
Merit: 0
I used this method off the first page to set up everything. So, I thought this would take care of it. I did use a different dependency set though I believe. The RPi does provide enough power to run it at 125 as thats what I am doing now, though I know if I want to run it higher I will need a powered USB. I think I fixed the issue with restarting as I did have too many devices plugged in the the RPi and it wasn't getting enough juice. However, after hashing fine for hours, does the power issue explain it failing when the pool hit a block?



If you want to run the sticks on linux, you'll need either bfgminer or cgminer.  Either way you are probably going to have to compile them, but I've had little trouble with this so it's probably just a matter of running a few simple commands.

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.

You are ready to run cgminer.  This should look something like:

./cgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr --compac-freq 150

Although if you don't have permissions setup you may have to become root or use sudo, eg,

sudo ./cgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr --compac-freq 150

cgminer should now detect any compacs plugged in while it is running.  Obviously you'll use a slightly different command to launch cgminer, if you use that one you'll be mining for us!  Most pools even post example commands, let me know if you need help figuring it out.

--
novak
[/quote]
legendary
Activity: 4354
Merit: 3614
what is this "brake pedal" you speak of?
I am new to linux and bitcoin mining and I am having some issues. Heres what I am working with:
Raspberry Pi 2 with Raspbian Wheezy (fully up to date as of yesterday)
1 GekkoScience Compac BM1384 Stickminer currently plugged directly in the the RPi USB (not a powered hub/no cooling)
cgminer 4.9.2 all set up following Novaks guide on this site for cgminer-gekko


can the rpi 2 actually put out enough current to its usb port? the compac generally needs .5 amp or more depending on its speed and voltage settings.

what are you powering the rpi with?

most all of us that run rpis as controllers run the compacs on powered hubs
legendary
Activity: 3374
Merit: 1859
Curmudgeonly hardware guy
If --compac-freq is not recognized, you are using stock cgminer and not the cgminer written for the Compac.

Have you read through this support thread at all, specifically the first page or so?
newbie
Activity: 3
Merit: 0
I am new to linux and bitcoin mining and I am having some issues. Heres what I am working with:
Raspberry Pi 2 with Raspbian Wheezy (fully up to date as of yesterday)
1 GekkoScience Compac BM1384 Stickminer currently plugged directly in the the RPi USB (not a powered hub/no cooling)
cgminer 4.9.2 all set up following Novaks guide on this site for cgminer-gekko

I am having these issues:
1. Using sudo ./cgminer -o stratum+tcp://stratum.bitcoin.cz:3333 -u connersc.worker1 -p anything --compac-freq 150 I get an error that the --compac-freq command is not recognized and cgminer does not start. When using the same command with out that option it started with the gekko defaulting to 125. How do I change the freq/voltage?
2. I am using slushs pool and at 125 it registers with the pool and everything seems dandy (6+ GH), but twice now when it hit a block, some error occurred (not sure the error as I was away at the time) and it stopped hashing and eventually went zombie status. The first time this happened I restarted the Pi and restarted cgminer and it was back up and running. However, the second time now it wont start running properly giving errors like : compac 1: no valid hashes for over 10 secs, attempting to reset
compac 1 attempted reset got err:(0) LIBUSB_SUCCESS
compac 1: device failed to respond to restart
compac 1 failure, disabling! and then i repeats for compac 2 etc till zombie

Can anyone help me out? Did I brick it? Any help would be greatly appreciated!
hero member
Activity: 2534
Merit: 623
I appreciate the help, I was concerned that because I was a freebie it may have been damaged by the previous owner so thought I would come here seeing as I had problems. But it turned out that the problem was the operator  Roll Eyes......me  Cheesy
legendary
Activity: 3374
Merit: 1859
Curmudgeonly hardware guy
It's always fun when people see problems that I never have, even though I've tested literally every Compac on both Windows and Linux before they go out. Glad it's working for you now.
hero member
Activity: 2534
Merit: 623
Thanks for the replies, ive just sorted it. Had to unplug it and plug it in again while cgminer was running  Roll Eyes Its now hashing and flashing away woohoo!!!!!!
hero member
Activity: 2534
Merit: 623
If you already have a Windows copy of cgminer, the dll is in that folder. Just copy and paste.

What drivers did you install for the stick? What's the light doing when you plug it in, and when you fire up cgminer? Additionally, if you're using a stock cgminer, the stick enumerates as a U3. If the voltage is too low for it to initialize at 225MHz, you might turn it up a bit. You'd probably see the white LED flash a couple times when cgminer starts, and then about every ten seconds while cgminer is running, as it tries to initialize the stick and fails. Try adjusting the voltage upward and see what happens. If you can measure it, probably set it to about 670mV and see where that gets you. While you're at it, measure the voltages on all the testpads on the back and post what they read out.

Thanks for pointing out the dll file, just pasted it in there and set up a bat file and got cgminer(gecko version) to run and the two U3's are picked up and hashing, the compac is picked up but wont hash, it comes up with a Libusb-success error. Ive used zadig to install the win usb driver, ive installed it and reinstalled it numerous times.

The lights on the gekko are steady green and a couple of blue/purple flash like it starts hashing then just goes back to steady green.

I know it works as ive plugged it into my Antrouter and it worked in there fine, but because it drew all the usb power the antrouter stopped hashing itself.
legendary
Activity: 3374
Merit: 1859
Curmudgeonly hardware guy
If you already have a Windows copy of cgminer, the dll is in that folder. Just copy and paste.

What drivers did you install for the stick? What's the light doing when you plug it in, and when you fire up cgminer? Additionally, if you're using a stock cgminer, the stick enumerates as a U3. If the voltage is too low for it to initialize at 225MHz, you might turn it up a bit. You'd probably see the white LED flash a couple times when cgminer starts, and then about every ten seconds while cgminer is running, as it tries to initialize the stick and fails. Try adjusting the voltage upward and see what happens. If you can measure it, probably set it to about 670mV and see where that gets you. While you're at it, measure the voltages on all the testpads on the back and post what they read out.
hero member
Activity: 2534
Merit: 623
Thanks for the replies guys. I have downloaded the compact version of cgminer but it says I haven't got a "zlib1.dll" so it wont run.

Now im not that well computer minded and ive tried various additional bits in the bat file of cgminer 4.9.2 but it always comes up running at 225m and 775v for the U'3 but doesn't recognise the compac. It only shows the two U3's even thought they are all plugged into the same powered hub.

zOU
hero member
Activity: 728
Merit: 500
★ these are stars ★
The icarus incompatibility was fixed four or five months ago. The current cgminer-gekko source works fine with Icarus; I don't know that the Windows build was updated but someone else (TheRealSteve maybe?) compiled that. If you use the source code provided in the 1st post, you can get both to work by using both --enable-gekko and --enable-icarus
Also, is the current BFG version 5.4.2, which had better Compac support (decimal frequency versus hex, etc)?

Right, that'll teach me to answer before my 2nd coffee Smiley
legendary
Activity: 3374
Merit: 1859
Curmudgeonly hardware guy
The icarus incompatibility was fixed four or five months ago. The current cgminer-gekko source works fine with Icarus; I don't know that the Windows build was updated but someone else (TheRealSteve maybe?) compiled that. If you use the source code provided in the 1st post, you can get both to work by using both --enable-gekko and --enable-icarus
Also, is the current BFG version 5.4.2, which had better Compac support (decimal frequency versus hex, etc)?
zOU
hero member
Activity: 728
Merit: 500
★ these are stars ★
Hi guys,

Ive received a gekko stick as a little bonus when I bought a U3 from ebay. Ive got the two U3's working fine on cgminer 4.9.2, but I cant get it to see the gekko. THey are all connectd to a powered usb hub.

Can anyone shed any light on this?

I have entered no additional settings in the bat file, just my pool and user info.

Has anyone got an example of a full line of info for the bat code that I can copy and change the relevant info?

Thanks in advance.



you can't get the U3 and gekko on the same cgminer

cgminer gekko (cf 1st post) has antminer disabled.

if you want both you need to use BFGminer 5.4.1
member
Activity: 97
Merit: 10
Thanks for the info, I will see of cranking back the clock speed will help.
When I had a similar problem as you, playing with different settings of clock speed and voltage ended up solving it.
legendary
Activity: 1274
Merit: 1000
Ive received a gekko stick as a little bonus when I bought a U3 from ebay. Ive got the two U3's working fine on cgminer 4.9.2, but I cant get it to see the gekko. THey are all connectd to a powered usb hub.
Did you zadig the gekko stick?  I think cgminer492 should see it as a U3, but you can also d/l the cgminer-gekko version that was compiled with compac support, or compile your own.  See previous posts in this thread.
legendary
Activity: 3374
Merit: 1859
Curmudgeonly hardware guy
Have you looked through this thread at all? There's a lot of info just on the first page.
hero member
Activity: 2534
Merit: 623
Hi guys,

Ive received a gekko stick as a little bonus when I bought a U3 from ebay. Ive got the two U3's working fine on cgminer 4.9.2, but I cant get it to see the gekko. THey are all connectd to a powered usb hub.

Can anyone shed any light on this?

I have entered no additional settings in the bat file, just my pool and user info.

Has anyone got an example of a full line of info for the bat code that I can copy and change the relevant info?

Thanks in advance.

Pages:
Jump to: