nerver mind my previous post I found my answer. Hopefully reposting the Linux version on the same page as the windows version will help. maybe mentioning the changes on the 1st post (icarus + gekko +bitshopper support) would be helpful ? You are right, I made a note on the first page. -- novak
|
|
|
comes up as a virus on my avast...just saying ... says Multi:BitCoinMiner-C [PUP] I'm still trying to get the linux version working...but just in case the file has issues Yes, that's cgminer, not my driver. cgminer always trips out antivirus because some viruses used to include it to steal mining power from people, back when cpu mining was useful. -- novak
|
|
|
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.gzThe 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
|
|
|
numbers are pretty good for 3 sticks at freq 331 should about 51gh and is around 48gh for overnight I am fine with this
So 3 compacs OC'd equals roughly a U3, that's pretty cool. Much less power use, much less hardware problems, and made by a member of our community, not some Chinese mining conglomerate. Can't wait for my 4 to arrive! Depends on how much you overclock it. Probably around 350 is a practical max for long term, I had four sticks running at 400MHz over a weekend and they had only two hardware errors and averaged 87.90GH/s, where expected is 88GH/s. Sometimes though, some of them didn't seem to want to properly start up at such a high frequency. They never had any trouble starting at 350 or so, however. Also you're probably not going to run very many sticks at 400MHz unless you have a really beefy hub or one with a whole bunch of extra ports not in use. It appears to me that hot-plugging is actually "better", which I found surprising.
I've seen odd behavior of cgminer on windows not actually starting to mine at first unless you hotplug as well. Usually it only does it the first time I plug a stick into my machine. It seems to be something with the zadig drivers, I'll see if I can figure out why it does that but it's lower priority than some of the other driver improvements. As far as detecting as an AMU- it gets pretty nasty to differentiate the compac from the U1/2/3 because from a software standpoint the only difference is the extra identifiers we added to our sticks. If it checks to see if they look like an AMU, they appear identical because bitmain added no such info. You might ask Luke-Jr if maybe you used a slightly wrong COM identifier or something else that made it come up that way. -- novak
|
|
|
Okay. I grabbed zadig now for when i will need it. I will probably try to use the gekko cgminer version and set it up when i receive my stick. I'm guessing soon. Was just thinking the link should be in OP, since a ctrl+f of zadig doesn't find anything there. I asked the same question a page or two back, and for the same reason. The directions should note that zadig is required as part of using cgminer. It's added now, thanks! -- novak
|
|
|
I got it the regular cgminer 4.9.2 to work on rasparian. Im using one of the test ones and a review one. I was able to use enable icarus and run those that way. Not sure if final production model will work with that or if it will want to run on compac. I should know in a day or two when I get my production one.
Should work just fine up to frequency 250, see the first post. That's what sidehack usually plugs them in on to make sure they light up. -- novak
|
|
|
I'm using the Gekko build of cgminer. I used Zadig on a Win7 machine to install the correct drive. When I start the bat file, I get a "No valid hashes for over 10 secs, attempting to restart" then I get a "LIBUSB_SUCCESS" but there is no hash going on. I've tried 2 different machines and am getting the same error.
bat file code:
cgminer -o stratum+tcp://solo.ckpool.org:3333 -u 1JiWuyX94wrCr7JhkAn7x5qNMCEef1KhqX.Chris_Sabianstick --compac-freq 150
yeah this happens way too much. what is your powered hub? how many sticks are you running? back it down to one stick. try a little turn on the power pot say it is in this position + the top is at 12 oclock rotate clockwise to 1 oclock Also windows can be really picky with zadig, I've noticed that for most hardware I have to hotplug it while cgminer is running for it to start mining. I've gotten exactly that error if I install zadig and then run cgminer, but it starts mining if I hotplug it. -- novak
|
|
|
I need to play with it some more. But the hub is really pretty good.
I am able to run quite a bit higher freq 350 and 0 errors 2 sticks around 20gh.
Yet I can't run 3 sticks at good numbers..
I have many hubs and will do more testing tommorrow.
I have 3 pc's I have 1 doing windows 7 pretty new build and i5 cpu ------------ This is doing 8 sticks at freq 150 I have 1 doing windows 7 in a vm shell a mac mini i5 ------------- This is doing 7 sticks at freq 125
I have 1 doing windows 10 an i5 cpu new build new mobo -------- This is doing 2 sticks at freq 250 perfectly I can go to freq 350 perfectly on 2 sticks So far this setup is the really weird one as it allows 2 sticks as high as freq 350 yet does not like to do 3 or more sticks. could be a mobo issue.
I am a bit tired will get back with more info
Interesting, so the other machines can both do as many sticks per hub as want? It seems that at least one other person (Ecnad) is having the same issue so motherboard issues seems maybe too specific. It could maybe windows 10. I'll keep looking at it, Ecnad got me a logfile. -- novak
|
|
|
here is valid hash note the zombies the hub was only able to run 7 sticks see second screen shots I still get drop outs
I'm still more inclined to wonder about hardware than software, unless there is some difference between our win7 setups. Do you have something else to test on- a raspi, a mac, or linux box? You've already used this same powered hub for large numbers of stickminers before, right? If you run it with --debug and create a log file I can look at it some more. Example: cgminer.exe -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr --compac-freq 150 --debug 2>logfile.txt Just run a few minutes or the file will get pretty big, so log long enough to see some failures, then kill it and you can send me the file. -- novak
|
|
|
So flat edge flush with bottom would be what voltage about?
It would depend which way you turned it. Did you turn right or left and how much? Could be .8 or .55 depending on that or between. Not sure what you mean but no, it's always the same voltage. About 0.68V. -- novak Sorry about that I must be not understanding. With variable voltage screw how is it always the same? Or do you mean same voltage at certain spots on it? Thanks for time on my questions, I do appreciate it. Yeah, what I'm trying to say is: If the potentiometer is at a given position, it should always output the same voltage. The position he specified is flat edge against the bottom, so 180 degrees from 0.55V. yeah it must affect the windows build. I can run two sticks at freq 350 get 0 hw nice speeds like 18-19gh a stick
yet I can not run 3 sticks on the same hub at freq 175 and get correct speeds.
Basically on windows 7 and 10
1 stick = really good 2 sticks = really good 3 or more = ?
Certainly unique. I'll check it out. EDIT: Can't reproduce that at all on windows 7. What hub are you using and has it had this sort of trouble before? -- novak
|
|
|
That one might be on me for failing to gut all the icarus related stuff out of compac drivers. I've been collecting some small things that need to be repaired and I'll probably post an updated version soon. As far as your fix where you deleted the duplicate lines that's fine unless you don't build with --enable-icarus, because there are still apparently references to opt_anu_freq in driver-gekko.c. As I said, I have them cleaned up in my current working version and should have it out for you guys soon. I'll try to test with the u2 as well.
Thanks for looking into this. There are other compile problems with usbutils.c, which I've just worked through. Now I'm seeing problems with driver-gekko.c. Unfortunately I'm out of time for the next few hours. So I won't be able to poke at this anymore. But none of these are difficult problems. Looks like it's just some clean up to dis-entangle your gekko implementation from the same named code and variables for icarus. If you get a clean build before I do, I'd be happy to take your source updates and rebuild for the Pi. I've already got most of it done, I just need to test it thoroughly before I post it. -- novak
|
|
|
Oh, oh. I tried to build with icarus and gekko support (following my own recipe above) and I got a compile error: make[2]: Entering directory '/var/www/minera/minera-bin/src/cgminer-gekko' CC cgminer-cgminer.o cgminer.c:237:7: error: redefinition of ‘opt_anu_freq’ cgminer.c:229:7: note: previous definition of ‘opt_anu_freq’ was here cgminer.c:240:7: error: redefinition of ‘opt_rock_freq’ cgminer.c:232:7: note: previous definition of ‘opt_rock_freq’ was here Makefile:782: recipe for target 'cgminer-cgminer.o' failed make[2]: *** [cgminer-cgminer.o] Error 1
Novak, could this be a copy/paste issue where a variable got reused without being renamed? That one might be on me for failing to gut all the icarus related stuff out of compac drivers. I've been collecting some small things that need to be repaired and I'll probably post an updated version soon. As far as your fix where you deleted the duplicate lines that's fine unless you don't build with --enable-icarus, because there are still apparently references to opt_anu_freq in driver-gekko.c. As I said, I have them cleaned up in my current working version and should have it out for you guys soon. I'll try to test with the u2 as well. Does cgminer-gekko come with xnsub for nicehash or do I need to patch it in myself?
It's the same as stock 4.9.2, so, no. So flat edge flush with bottom would be what voltage about?
It would depend which way you turned it. Did you turn right or left and how much? Could be .8 or .55 depending on that or between. Not sure what you mean but no, it's always the same voltage. About 0.68V. -- novak
|
|
|
Trying CGMiner now. Getting a "Failed to initiate device" error. It recognizes the devices.
Using ./cgminer -o stratum+tcp://peercoin.ecoining.com:3336/ -u blackbird.2 -p 12345 --compac-freq 150
I would like to help, but I have not seen that error specifically. Can I get a little more info about your setup? What OS, How are you powering, did you rebuild cgminer,etc? Maybe get a little more cgminer output? 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 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. Novak can you provide a diagram showing the voltage adjustment position in relation to voltage I use the flat surface as a guide and with it directly flush with USB port I have been able to get to 250 mhz or so no HW errors I dont have a volt meter handy to test what voltage that brings me up to
Here you go: -- novak
|
|
|
hey all,
running into a small problem here
using cgminer, got zadig, it recognizes the device, but everytime i try and run it i get this:
Input server details. URL: ./cgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1BURGERAXHH6Yi6LRyb RJK7ybEm5m5HwTr --compac-freq 150 Username: 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr Password [enter for none]: [2015-09-10 23:47:42.715] Failed to resolve (?wrong URL) ./cgminer -o stratum+t cp: URL stratum+tcp://./cgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1 BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr --compac-freq 150 failed alive testing, reinpu t details URL:
could it be my network?
I never had to do -p x, it's optional. That is the error it gives when it fails to resolve a URL- or if you don't tell it a pool- but reading this I think the problem is that you're inputting the entire command when it only asks for a url. Don't, you can give it the URL later but do not give anything but the URL. I've never launched it quite like that but what you should input is clearly either: "stratum+tcp://stratum.mining.eligius.st:3334" or "stratum.mining.eligius.st:3334" If you want to run the whole thing from the command line on windows without it asking for details try typing this in FROM THE COMMAND LINE, this will start cgminer already set up to mine, it won't have to ask details: cgminer.exe -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1BURGERAXHH6Yi6LRyb RJK7ybEm5m5HwTr --compac-freq 150 (except put in your pool details) -- novak
|
|
|
Waiting on 4 Sticks. Will this work to power them? http://amzn.to/1JYN9m2 10 Front facing Standard A USB ports 0.5 - 2A per port with 17mm port spacing Upstream port support high speed (480M) Box includes 1 x USB hub, 1 x 12V 5A Power Adapter, 1 x USB cable Yeah, it would work quite well, actually. 17mm is plenty of room and even if you had a 10W fan you'd have 12W per stick which should let you hit 400MHz. If you don't want to use a fan I recommend clocking nearer to 150MHz. -- novak
|
|
|
I did a search on the Minera thread. Looks like recent versions of Minera (including the 0.6.1 version I used for the mod) support the Pi 2.
So the Minera Compac mod that I posted today should work fine with a Pi 2. That said, it's untested since I only have Pi 1 models.
I posted the link in the original post so that people see it. -- novak
|
|
|
The stick does not have any temperature sensor.
A great way to figure out what current your hub will run would be to measure the input voltage, if it starts to sag that means you're burning power inside the hub.
-- novak
I see, i think with my technical skill, i will use a laser thermometer on the back of the pcb. (For the temp) However i did finally got a decent multimeter so it would probably good to learn a bit that way. By sag you mean i should figure out how to check the voltage of the usb port under load and if its not at the voltage it should be, i've found the hub's limit? You expect a bit of sag in the voltage, especially if there are any long power cables. But since power=V*I you can find out how much power is being wasted in the hub by multiplying the current draw by the voltage dip. Example: nominal voltage is 5.00V and when you plug in a stick that pulls 2.00A you notice that the voltage sags to 4.90A. The power loss then is (0.10 volts) * (2.00 A) = 0.2 watts. This isn't much, so you're probably fine, but if you see voltage really dipping down then you might start to worry. Really large voltage sag indicates that you are dissipating a lot of power in your hub, which means the resistance is pretty high for that much current. I finally uploaded the Minera mod image that includes Compac support.
Thanks! -- novak
|
|
|
I got a stick to run at 450MHz which gives an expected hashrate of 24.75GH/s, I got 24.89GH/s. It had kind of bad error rates though, around 6% hardware errors. It was drawing 3A at 4.9V which is 14.7W. -- novak Thanks that was exactly what i was looking for. Does the stick have no temp sensor? I'll have to think it through but since i have a powered hub and will only receive one stick, overclocking one with a small usb fan cooling it seem like a good path. Seeing how far you just pushed it, it help figure out what to expect. It sound like it would probably run great at 16ghs for instance. Just need to figure out whats the per port watt limit of a usb hub's port. Not that i'm planning on running one at 14.7W but still. The stick does not have any temperature sensor. A great way to figure out what current your hub will run would be to measure the input voltage, if it starts to sag that means you're burning power inside the hub. -- novak
|
|
|
I got a stick to run at 450MHz which gives an expected hashrate of 24.75GH/s, I got 24.89GH/s. It had kind of bad error rates though, around 6% hardware errors. It was drawing 3A at 4.9V which is 14.7W. -- novak
|
|
|
|