sidehack
Legendary
Offline
Activity: 3374
Merit: 1859
Curmudgeonly hardware guy
|
|
April 02, 2016, 06:55:17 AM |
|
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
|
|
April 02, 2016, 11:38:08 AM |
|
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
|
|
|
|
gt_addict
|
|
April 02, 2016, 05:16:09 PM |
|
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
Activity: 3374
Merit: 1859
Curmudgeonly hardware guy
|
|
April 02, 2016, 05:35:52 PM |
|
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.
|
|
|
|
gt_addict
|
|
April 02, 2016, 05:58:48 PM |
|
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
|
|
April 02, 2016, 06:08:22 PM Last edit: April 02, 2016, 06:20:06 PM by gt_addict |
|
Thanks for the replies, ive just sorted it. Had to unplug it and plug it in again while cgminer was running 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
Activity: 3374
Merit: 1859
Curmudgeonly hardware guy
|
|
April 02, 2016, 08:30:24 PM |
|
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.
|
|
|
|
gt_addict
|
|
April 02, 2016, 08:45:23 PM |
|
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 ......me
|
**SUPPORT SIDEHACK** Miner Development Donations to: 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
Donations/Tips to:- 1GTADDicTXD1uachKKgW24DZDxDGhSMdRa
Join Bitconnect: https://bitconnect.co/?ref=gtaddict
|
|
|
connersc
Newbie
Offline
Activity: 3
Merit: 0
|
|
April 03, 2016, 12:52:07 PM |
|
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
Activity: 3374
Merit: 1859
Curmudgeonly hardware guy
|
|
April 03, 2016, 01:46:53 PM |
|
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?
|
|
|
|
vapourminer
Legendary
Offline
Activity: 4480
Merit: 4061
what is this "brake pedal" you speak of?
|
|
April 03, 2016, 02:01:25 PM |
|
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
Activity: 3
Merit: 0
|
|
April 03, 2016, 02:13:15 PM |
|
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
Activity: 3374
Merit: 1859
Curmudgeonly hardware guy
|
|
April 03, 2016, 02:42:19 PM |
|
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.
|
|
|
|
philipma1957
Legendary
Offline
Activity: 4270
Merit: 8667
'The right to privacy matters'
|
|
April 03, 2016, 02:43:41 PM |
|
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.
|
|
|
|
connersc
Newbie
Offline
Activity: 3
Merit: 0
|
|
April 03, 2016, 03:47:54 PM |
|
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
|
|
April 03, 2016, 04:52:46 PM |
|
@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
Activity: 3374
Merit: 1859
Curmudgeonly hardware guy
|
|
April 03, 2016, 09:35:20 PM |
|
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.
|
|
|
|
Biodom
Legendary
Offline
Activity: 3906
Merit: 4379
|
|
April 04, 2016, 02:57:25 PM |
|
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
Activity: 3906
Merit: 4379
|
|
April 04, 2016, 03:11:01 PM |
|
cgminer addition: earlier instructions basically as described, then wget http://gekkoscience.com/misc/cgminer-gekko.tar.gztar 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
Activity: 3374
Merit: 1859
Curmudgeonly hardware guy
|
|
April 04, 2016, 03:19:45 PM |
|
And if you want to run a U3 or most other stickminers, you'll need to --enable-icarus as well.
|
|
|
|
|