Bitcoin Forum
April 20, 2024, 01:29:12 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 [89] 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 »
  Print  
Author Topic: GekkoScience Compac BM1384 Stickminer Official Support Thread  (Read 267687 times)
sidehack
Legendary
*
Offline Offline

Activity: 3304
Merit: 1842

Curmudgeonly hardware guy


View Profile
April 02, 2016, 06:55:17 AM
 #1761

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)?

Cool, quiet and up to 1TH pod miner, on sale now!
Currently in development - 200+GH USB stick; 6TH volt-adjustable S1/3/5 upgrade kit
Server PSU interface boards and cables. USB and small-scale miners. Hardware hosting, advice and odd-jobs. Supporting the home miner community since 2013 - http://www.gekkoscience.com
1713576552
Hero Member
*
Offline Offline

Posts: 1713576552

View Profile Personal Message (Offline)

Ignore
1713576552
Reply with quote  #2

1713576552
Report to moderator
"This isn't the kind of software where we can leave so many unresolved bugs that we need a tracker for them." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713576552
Hero Member
*
Offline Offline

Posts: 1713576552

View Profile Personal Message (Offline)

Ignore
1713576552
Reply with quote  #2

1713576552
Report to moderator
1713576552
Hero Member
*
Offline Offline

Posts: 1713576552

View Profile Personal Message (Offline)

Ignore
1713576552
Reply with quote  #2

1713576552
Report to moderator
zOU
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500

★ these are stars ★


View Profile
April 02, 2016, 11:38:08 AM
 #1762

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

gt_addict
Hero Member
*****
Offline Offline

Activity: 2478
Merit: 621


View Profile
April 02, 2016, 05:16:09 PM
 #1763

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.


**SUPPORT SIDEHACK** Miner Development Donations to:  1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr

Donations/Tips to:-   1GTADDicTXD1uachKKgW24DZDxDGhSMdRa

Join Bitconnect: https://bitconnect.co/?ref=gtaddict
sidehack
Legendary
*
Offline Offline

Activity: 3304
Merit: 1842

Curmudgeonly hardware guy


View Profile
April 02, 2016, 05:35:52 PM
 #1764

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.

Cool, quiet and up to 1TH pod miner, on sale now!
Currently in development - 200+GH USB stick; 6TH volt-adjustable S1/3/5 upgrade kit
Server PSU interface boards and cables. USB and small-scale miners. Hardware hosting, advice and odd-jobs. Supporting the home miner community since 2013 - http://www.gekkoscience.com
gt_addict
Hero Member
*****
Offline Offline

Activity: 2478
Merit: 621


View Profile
April 02, 2016, 05:58:48 PM
 #1765

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.

**SUPPORT SIDEHACK** Miner Development Donations to:  1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr

Donations/Tips to:-   1GTADDicTXD1uachKKgW24DZDxDGhSMdRa

Join Bitconnect: https://bitconnect.co/?ref=gtaddict
gt_addict
Hero Member
*****
Offline Offline

Activity: 2478
Merit: 621


View Profile
April 02, 2016, 06:08:22 PM
Last edit: April 02, 2016, 06:20:06 PM by gt_addict
 #1766

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!!!!!!

**SUPPORT SIDEHACK** Miner Development Donations to:  1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr

Donations/Tips to:-   1GTADDicTXD1uachKKgW24DZDxDGhSMdRa

Join Bitconnect: https://bitconnect.co/?ref=gtaddict
sidehack
Legendary
*
Offline Offline

Activity: 3304
Merit: 1842

Curmudgeonly hardware guy


View Profile
April 02, 2016, 08:30:24 PM
 #1767

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.

Cool, quiet and up to 1TH pod miner, on sale now!
Currently in development - 200+GH USB stick; 6TH volt-adjustable S1/3/5 upgrade kit
Server PSU interface boards and cables. USB and small-scale miners. Hardware hosting, advice and odd-jobs. Supporting the home miner community since 2013 - http://www.gekkoscience.com
gt_addict
Hero Member
*****
Offline Offline

Activity: 2478
Merit: 621


View Profile
April 02, 2016, 08:45:23 PM
 #1768

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

**SUPPORT SIDEHACK** Miner Development Donations to:  1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr

Donations/Tips to:-   1GTADDicTXD1uachKKgW24DZDxDGhSMdRa

Join Bitconnect: https://bitconnect.co/?ref=gtaddict
connersc
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
April 03, 2016, 12:52:07 PM
 #1769

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!
sidehack
Legendary
*
Offline Offline

Activity: 3304
Merit: 1842

Curmudgeonly hardware guy


View Profile
April 03, 2016, 01:46:53 PM
 #1770

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?

Cool, quiet and up to 1TH pod miner, on sale now!
Currently in development - 200+GH USB stick; 6TH volt-adjustable S1/3/5 upgrade kit
Server PSU interface boards and cables. USB and small-scale miners. Hardware hosting, advice and odd-jobs. Supporting the home miner community since 2013 - http://www.gekkoscience.com
vapourminer
Legendary
*
Offline Offline

Activity: 4312
Merit: 3506


what is this "brake pedal" you speak of?


View Profile
April 03, 2016, 02:01:25 PM
 #1771

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
connersc
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
April 03, 2016, 02:13:15 PM
 #1772

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]
sidehack
Legendary
*
Offline Offline

Activity: 3304
Merit: 1842

Curmudgeonly hardware guy


View Profile
April 03, 2016, 02:42:19 PM
 #1773

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.

Cool, quiet and up to 1TH pod miner, on sale now!
Currently in development - 200+GH USB stick; 6TH volt-adjustable S1/3/5 upgrade kit
Server PSU interface boards and cables. USB and small-scale miners. Hardware hosting, advice and odd-jobs. Supporting the home miner community since 2013 - http://www.gekkoscience.com
philipma1957
Legendary
*
Offline Offline

Activity: 4102
Merit: 7740


'The right to privacy matters'


View Profile WWW
April 03, 2016, 02:43:41 PM
 #1774

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.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
connersc
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
April 03, 2016, 03:47:54 PM
 #1775

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!
Jake36
Sr. Member
****
Offline Offline

Activity: 331
Merit: 250


View Profile
April 03, 2016, 04:52:46 PM
 #1776

@connersc

Plus with the compac directly plugged into the Pi, it may be causing heat problems in the USB chip from pulling the power to run the compac.

It may have just happened to hit some over temp cut-out just as the block was found (just a guess ??).
sidehack
Legendary
*
Offline Offline

Activity: 3304
Merit: 1842

Curmudgeonly hardware guy


View Profile
April 03, 2016, 09:35:20 PM
 #1777

Also, to reiterate, make sure it's spelled correctly. Because if your command line says "compaq-freq" it won't work, on account of this stick miner is in no way associated with a defunct PC manufacturer.

Cool, quiet and up to 1TH pod miner, on sale now!
Currently in development - 200+GH USB stick; 6TH volt-adjustable S1/3/5 upgrade kit
Server PSU interface boards and cables. USB and small-scale miners. Hardware hosting, advice and odd-jobs. Supporting the home miner community since 2013 - http://www.gekkoscience.com
Biodom
Legendary
*
Offline Offline

Activity: 3738
Merit: 3836



View Profile
April 04, 2016, 02:57:25 PM
 #1778

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]

thant novak writeup is partially incorrect now because last time I used it, it was cgminer-gekko-rev2.
I will provide instructions in the next post.
Biodom
Legendary
*
Offline Offline

Activity: 3738
Merit: 3836



View Profile
April 04, 2016, 03:11:01 PM
 #1779

cgminer addition:

earlier instructions basically as described, then

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

tar xzf cgminer-gekko.tar.gz

cd cgminer-gekko-rev2  #this is where there are some differences

sudo apt-get install autotools-dev libtool libusb-dev libudev-dev

./configure --enable-gekko

make

this should compile a cgminer in the dir you are in.. so you can run it by
./cgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr --compac-freq 150

fill in your own bitcoin username (after -u)
sidehack
Legendary
*
Offline Offline

Activity: 3304
Merit: 1842

Curmudgeonly hardware guy


View Profile
April 04, 2016, 03:19:45 PM
 #1780

And if you want to run a U3 or most other stickminers, you'll need to --enable-icarus as well.

Cool, quiet and up to 1TH pod miner, on sale now!
Currently in development - 200+GH USB stick; 6TH volt-adjustable S1/3/5 upgrade kit
Server PSU interface boards and cables. USB and small-scale miners. Hardware hosting, advice and odd-jobs. Supporting the home miner community since 2013 - http://www.gekkoscience.com
Pages: « 1 ... 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 [89] 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!