Pages:
Author

Topic: GekkoScience 2Pac/Compac BM1384 Stickminer Official Support Thread - page 94. (Read 177300 times)

newbie
Activity: 7
Merit: 0
Guys for the life of me i cannot get cgminer to activate the GekkoScience 2Pac BM1384 Stickminer.
Using Ubuntu 16.04, I compiled properly with the --enable-gekko switch.

lsusb lists the device properly:
Bus 002 Device 004: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light

cgminer -n displays:
 [2017-05-26 13:52:43.003] USB all: found 5 devices - listing known devices
.USB dev 0: Bus 2 Device 4 ID: 10c4:ea60
  Manufacturer: 'GekkoScience'
  Product: '2Pac BM1384 Bitcoin Miner'
 [2017-05-26 13:52:43.003] 1 known USB devices

but when i run ./cgminer -o stratum+tcp://sha256.eu.nicehash.com:3334/#xnsub -u XXXXXXXXXXX
it states no devices detected.
when i press U and then L i get this:
Bus 2 Device 4 ID: 10c4:ea60 GekkoScience 2Pac BM1384 Bitcoin Miner inactive
1 total known USB device

No clue how to enable this device. would love an expert to chime in. im lost, and new.
vh
hero member
Activity: 699
Merit: 666
I'm new and I apologize if I missed it in this thread, but will mixing the compaq and 2pac yield any issues? I see that you can set the clock rate for either/or/both of those devices in the OP but unsure if this is a suggested setup to run or not. Curious cause I see a few up on ebay that I might try to snatch up.

No issues.   They work perfectly fine mixed together.

Awesome Thanks. One more question, however aimed more to mining and Pi3...I found an old 16 GB Class 2 Micro SD card from my Original Droid phone and it would be nice to find some use for it. I was planning on using it in the Pi3 that will be used for this mining setup. I know transfer rate for installing packages/etc will be dreadfully slow, and I'm fine with that. What I'm not fine with is if it impacts mining at all. Would anyone see an issue with this Class 2 card bottle-necking mining capabilites?

Bottleneck, no.   I'm using a 2GB card I pulled out of and old ip cam from 2008.   Worst case it can die and kernel panic the pi, but while its working, mining via cgminer does not wait on I/O.
newbie
Activity: 19
Merit: 0
I'm new and I apologize if I missed it in this thread, but will mixing the compaq and 2pac yield any issues? I see that you can set the clock rate for either/or/both of those devices in the OP but unsure if this is a suggested setup to run or not. Curious cause I see a few up on ebay that I might try to snatch up.

No issues.   They work perfectly fine mixed together.

Awesome Thanks. One more question, however aimed more to mining and Pi3...I found an old 16 GB Class 2 Micro SD card from my Original Droid phone and it would be nice to find some use for it. I was planning on using it in the Pi3 that will be used for this mining setup. I know transfer rate for installing packages/etc will be dreadfully slow, and I'm fine with that. What I'm not fine with is if it impacts mining at all. Would anyone see an issue with this Class 2 card bottle-necking mining capabilites?
vh
hero member
Activity: 699
Merit: 666
I'm new and I apologize if I missed it in this thread, but will mixing the compaq and 2pac yield any issues? I see that you can set the clock rate for either/or/both of those devices in the OP but unsure if this is a suggested setup to run or not. Curious cause I see a few up on ebay that I might try to snatch up.

No issues.   They work perfectly fine mixed together.
newbie
Activity: 19
Merit: 0
I'm new and I apologize if I missed it in this thread, but will mixing the compaq and 2pac yield any issues? I see that you can set the clock rate for either/or/both of those devices in the OP but unsure if this is a suggested setup to run or not. Curious cause I see a few up on ebay that I might try to snatch up.
vh
hero member
Activity: 699
Merit: 666
@n_p, what OS and version is that you are building in?
vh
hero member
Activity: 699
Merit: 666
Nice Dude,

Now i can change under Win 10 the MHZ

thank you so much, that Shit works Grin Grin Grin Grin

...

Glad you got a workable setup.   Tried out ck's windows build/zip and the write config locks up the same for me.   I'm comfortable thinking for the time being it's not something I added.    I'll circle back to take a closer look at it another time.
newbie
Activity: 13
Merit: 0
Nice Dude,

Now i can change under Win 10 the MHZ

thank you so much, that Shit works Grin Grin Grin Grin


Probably gonna want to look up a thing called "batch files".
such as something like:
Code:
REM 2PAC's at home:
c:\Apps\CGminer\cgminer-4.10.0-windows-gekko\cgminer.exe -o stratum+tcp://solo.ckpool.org:3333 -u 1GBYzaad1m6UJs2UDrzRQAc456GR8NSxWL -p x --suggest-diff 40 --gekko-2pac-freq 100

Edit the actual location of cgminer and the wallet address to yours (or keep mine Tongue ), save it as a .cmd file and put in the same folder where cgminer is and all set. Of course copy the file and make a shadow of it to drop where ya want...
n_p
newbie
Activity: 28
Merit: 0
I had a small problem compiling cgminer (which I fortunately managed to overcome).

First attempt finished like this:

Code:
Making all in ccan
make[2]: Entering directory '/home/user/cgminer-vthoang/cgminer/ccan'
  CC       opt/libccan_a-helpers.o
  CC       opt/libccan_a-opt.o
  CC       opt/libccan_a-parse.o
  CC       opt/libccan_a-usage.o
  AR       libccan.a
make[2]: Leaving directory '/home/user/cgminer-vthoang/cgminer/ccan'
make[2]: Entering directory '/home/user/cgminer-vthoang/cgminer'
  CC       cgminer-cgminer.o
  CC       cgminer-util.o
  CC       cgminer-sha2.o
  CC       cgminer-api.o
  CC       cgminer-logging.o
  CC       cgminer-klist.o
  CC       cgminer-noncedup.o
  CC       cgminer-usbutils.o
  CC       cgminer-driver-gekko.o
  CCLD     cgminer
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../x86_64-pc-linux-gnu/bin/ld: cgminer-cgminer.o: undefined reference to symbol 'halfdelay'
/lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:824: cgminer] Error 1
make[2]: Leaving directory '/home/user/cgminer-vthoang/cgminer'
make[1]: *** [Makefile:1687: all-recursive] Error 1
make[1]: Leaving directory '/home/user/cgminer-vthoang/cgminer'
make: *** [Makefile:727: all] Error 2

A search led me to this page (don't think it matches the problem exactly, but it did lead me to the solution). Smiley

https://stackoverflow.com/questions/26267788/linking-fails-with-gcc-4-8-2-ld-2-24-succeeds-with-gcc-4-4-7-ld-2-20

Anyway, in the Makefile, I changed:

Code:
LIBS = -lncurses -lpthread

to:

Code:
LIBS = -lncurses -lpthread -ltinfo

and then it compiled fine.

Just thought I would pass this on in case someone runs into the same problem (or maybe this suggests an extra test in the build tools so that other users won't run into this problem).
hero member
Activity: 578
Merit: 501
if i try to save a Config. the Miner crah´s and i have in the folder a config file but it´s emtpy, if i wirte in this anythin and start, the Miner ask me after Server...
I'll look that this in a moment or two.  I shouldn't have touched anything there.  Might never have been tested in windows from the upstream code.
It does not work in Linux either. I figured it was due to your changes, but perhaps there is some other reason.
legendary
Activity: 3752
Merit: 2667
Evil beware: We have waffles!
Probably gonna want to look up a thing called "batch files".
such as something like:
Code:
REM 2PAC's at home:
c:\Apps\CGminer\cgminer-4.10.0-windows-gekko\cgminer.exe -o stratum+tcp://solo.ckpool.org:3333 -u 1GBYzaad1m6UJs2UDrzRQAc456GR8NSxWL -p x --suggest-diff 40 --gekko-2pac-freq 100

Edit the actual location of cgminer and the wallet address to yours (or keep mine Tongue ), save it as a .cmd file and put in the same folder where cgminer is and all set. Of course copy the file and make a shadow of it to drop where ya want...
legendary
Activity: 3346
Merit: 1858
Curmudgeonly hardware guy
Probably gonna want to look up a thing called "batch files".
newbie
Activity: 13
Merit: 0
ah okay,

and how can i start under Windows with comand line?
Or you know a version where that option is given, without Crash´s? :-)
member
Activity: 79
Merit: 18

What is --suggest-diff 32?


That would be suggest difficulty.  I use 512 for less network traffic.

Saving and reading config files seems to be broken in VH's current cgminer, doesn't work here either.  Nice feature when it works, but this isn't the first version I've seen where it doesn't.  I guess it breaks easily.  It's almost like it doesn't have permission to open the file then it crashes trying to read/write a file that didn't open.
newbie
Activity: 13
Merit: 0
Morning,

okay thank´s
but if i write anything in the Config File and save that, the cgminer.exe ask me after Start after the Login Server, User and PW, it looks like the dont start from the config file, but why  Huh Huh

I mine at a pool not solo.

What is --suggest-diff 32?

thank You
vh
hero member
Activity: 699
Merit: 666

if i try to save a Config. the Miner crah´s and i have in the folder a config file but it´s emtpy, if i wirte in this anythin and start, the Miner ask me after Server...

I'll look that this in a moment or two.  I shouldn't have touched anything there.  Might never have been tested in windows from the upstream code.





Can you tell me how i can add this line "cgminer will accept one or both parameters for the stick.
--gekko-compac-freq 200 --gekko-2pac-freq 150" so that i can change my Mhz?

Where i can change it?


You would just add that at startup like so:

Code:
cgminer.exe -o stratum+tcp://solo.ckpool.org:3333 -u 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr -p x --suggest-diff 32 --gekko-2pac-freq 150
newbie
Activity: 13
Merit: 0
Hi

i use CgMiner 4.10 last Version, under Windows 10

if i try to save a Config. the Miner crah´s and i have in the folder a config file but it´s emtpy, if i wirte in this anythin and start, the Miner ask me after Server...
But this BTW.

Can you tell me how i can add this line "cgminer will accept one or both parameters for the stick.
--gekko-compac-freq 200 --gekko-2pac-freq 150" so that i can change my Mhz?

Where i can change it?

ATM i run at 100MHZ
https://abload.de/img/unbenanntmiup7.png



Thank you
Charlie
newbie
Activity: 1
Merit: 0
I've been doing some tests during the last week and currently I've two 2Pacs running at 225 MHz, cooled by a rpm monitored 12cm fan, providing about ~25 GH/s each one.
https://i.imgur.com/yTQRRAw.jpg
https://i.imgur.com/RqQjrHJ.jpg

The fan has a resistor added to lower the voltage from 12v to 7v, so it's very less noisy. Even the reduced speed and the 2Pacs being overclocked, the heatsinks are never not too hot.
I wrote a script to monitor the fan every second, so if its speed drops below 2000rpm, the cgminer process will be automatically killed.

And finally, I've edited the miner.php included with cgminer to show the speed at the title bar, check if the script that checks the fan speed is running, and the current fan speed.
After a few days doing some testings, now it has been working for more than 24h.
https://i.imgur.com/zymEmfn.png

The little computer is an old Astaro Security Gateway, running a Debian Linux, that luckily has 3-pin fan connectors inside, so I can use them to add that external fan and monitor its speed  Grin
The USB hub is powered by a 5v 3A power supply.

Power consumption of the computer is about 25W plus the miners.

If anyone wants more info about the mine.php modifications, or the scripts to check the fan speed, just ask  Wink
newbie
Activity: 7
Merit: 0
Quote
I do not disagree with your statement. Have you tried on a different USB port or on a different computer?

I'm only interested in using RPi's at the moment so I've only tried it with an RPi model B rev. 2 and RPi 3 model B, same results with both.  I've tried with 4 different powered hubs, 12V 3A, 5V 4A and two different 5V 2A hubs.  Same behavior everywhere.
hero member
Activity: 578
Merit: 501
... Power issues aside, the stick should not be responding to my touch.  ...
I do not disagree with your statement. Have you tried on a different USB port or on a different computer?
Pages:
Jump to: