Pages:
Author

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

newbie
Activity: 51
Merit: 0

I feel dumb, but I've been going round and round with my new 2pac for hours. Admitted noob. Received stick miner 2pac and powered USB hub with usb fan for cooling. I am on my MacBook pro and can't seem to get it to recognize the device. Having trouble with configuration as a result.

Tried running the code mentioned in the Q&A and it did not resolve. Getting varying messages when I run MacMiner. What am I overlooking here? My software is pointed at the correct mining pool address and when it connects it says No Devices Found. I have been digging through pages and pages on here trying to figure out what's wrong. Can anyone help with this specific issue?

The instructions in this thread cover different flavors of Unix and Windows. If you're looking for easy, you should run Bootcamp and install Windows in it, download the binaries on the first page, and go from there.

If you want it to run natively on your Mac, you need to build the version of cgminer from the source code linked on the first page. This requires some comfort with software development tools.

You could also install a linux variant (like Ubuntu) on Bootcamp and run that with the instructions. Most of the people in this thread run it on raspberry pi.

When I need to run cgminer on my Mac (when I travel, I'll take a few miners with me for the free electricity), I just boot up an Ubuntu VM using VMWare Fusion.  The Ubuntu instructions in this thread work perfectly to build cgminer from scratch.  No problems recognizing the 2-pacs (or other miners, for that matter).  Just make sure you have the VMWare USB and networking settings in order.
full member
Activity: 658
Merit: 118
Your code above should work - do you see the miner in the custom miners in minera?

Note that you enter this in SSH, not through minera.

You need to SSH into the minera Pi and enter these commands.
newbie
Activity: 12
Merit: 0
I am sorry if I'm posting too much in the thread.   But for the benefit of others in the same situation.  Could somebody help provide the code for Minera in Raspberry Pi?    

Minera has a dedicated terminal for entering code, including GekkoScience Pac2.  

This guy's code didn't work for me (fyi)
https://www.youtube.com/watch?v=UQndxAfk-hM&t=557s

His code (THAT DIDN"T WORK - don't try this)
(in Minera Terminal one line at a time followed by return/enter key when prompted)

cd /var/www/minera/minera-bin/src

mkdir -p git/vthoang; cd git/vthoang

git clone https://github.com/vthoang/cgminer.git

cd cgminer

CFLAGS="-O2" ./autogen.sh --enable-gekko

make -j 2

cp cgminer /var/www/minera/minera-bin/custom/cgminer-vthoang

cd /var/www/minera/minera-bin/custom



Somebody in the old GekkoScience Compac BM1384 thread compiled Raspberry Pi3 code that would setup Gekkoscience AND Minera.   I think that could be a super helpful tool.    Obviously I am asking for GekkoScience for Dummies type information here, which isn't too far from the truth.

Once again, I'm sorry if I'm talking too much here.   But I'll ask in case it helps people.      
member
Activity: 111
Merit: 10
It´s this one.
Bus 001 Device 006: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Important is to compile the CGMiner with the Gekko support. Then it will be recognized in the USB menü. Try starting CGMiner and then hotplug the stick.
If it´s mining it should look like this:
Code:
cgminer version 4.10.0 - Started: [2017-10-21 12:45:46.261]
--------------------------------------------------------------------------------
 (5s):21.22G (1m):22.42G (5m):22.06G (15m):21.80G (avg):21.78Gh/s
 A:507968  R:80  HW:0  WU:304.4/m
 Connected to connect.pool.bitcoin.com diff 16 with stratum as user derwasi
 Block: b819f6d3...  Diff:1.2T  Started: [16:30:18.634]  Best share: 2.21M
--------------------------------------------------------------------------------
 [U]SB management [P]ool management [S]ettings [D]isplay options [Q]uit
 0: GSD 10010286: COMPAC-2 100.00MHz HW:0 | 14.28G / 10.93Gh/s WU:152.7/m
 1: GSD 10012603: COMPAC-2 100.00MHz HW:0 | 9.266G / 10.85Gh/s WU:151.6/m
--------------------------------------------------------------------------------
 [2017-10-22 16:30:45.632] Accepted 0278a1ea Diff 104/16 GSD 1
 [2017-10-22 16:30:48.121] Accepted 0f3833cf Diff 17/16 GSD 1
 [2017-10-22 16:30:50.960] Accepted 07fa83fa Diff 32/16 GSD 1
 [2017-10-22 16:30:52.972] Accepted 61c72035 Diff 670/16 GSD 1
 [2017-10-22 16:30:53.634] Accepted 0c44cc20 Diff 21/16 GSD 0
 [2017-10-22 16:30:54.721] Accepted 019e037f Diff 158/16 GSD 0
 [2017-10-22 16:31:05.616] Accepted 06d5f3a6 Diff 37/16 GSD 0
 [2017-10-22 16:31:09.390] Accepted 0cc597f9 Diff 20/16 GSD 0
 [2017-10-22 16:31:09.814] Accepted 053dbcc3 Diff 49/16 GSD 1
 [2017-10-22 16:31:11.295] Accepted 0bc594f0 Diff 22/16 GSD 0
 [2017-10-22 16:31:12.656] Accepted 0e19e2cf Diff 18/16 GSD 1
 [2017-10-22 16:31:14.327] Accepted 0289bdff Diff 101/16 GSD 0
 [2017-10-22 16:31:15.561] Accepted 030d302a Diff 84/16 GSD 0
 [2017-10-22 16:31:19.331] Accepted 081516b3 Diff 32/16 GSD 0
 [2017-10-22 16:31:26.227] Accepted 01553535 Diff 192/16 GSD 0
 [2017-10-22 16:31:39.829] Accepted 071fa331 Diff 36/16 GSD 0
 [2017-10-22 16:31:41.103] Accepted 058d6826 Diff 46/16 GSD 0
 [2017-10-22 16:31:45.308] Accepted 097bb833 Diff 27/16 GSD 1
 [2017-10-22 16:31:46.975] Accepted 0e136fdf Diff 18/16 GSD 1
 [2017-10-22 16:31:48.342] Accepted 0d98c9bc Diff 19/16 GSD 0
 [2017-10-22 16:31:50.901] Accepted 09553758 Diff 27/16 GSD 1
 [2017-10-22 16:31:51.975] Accepted 0c7c6d63 Diff 21/16 GSD 1
 [2017-10-22 16:31:54.834] Accepted 030bb9af Diff 84/16 GSD 0
 [2017-10-22 16:31:55.125] Accepted 0c6b6bcf Diff 21/16 GSD 0
 [2017-10-22 16:32:00.997] Accepted 0d3e2bde Diff 19/16 GSD 1
 [2017-10-22 16:32:03.397] Accepted 0cf2718a Diff 20/16 GSD 1
 [2017-10-22 16:32:04.754] Accepted 0a732d65 Diff 24/16 GSD 1
 [2017-10-22 16:32:10.904] Accepted 01cead12 Diff 142/16 GSD 0
 [2017-10-22 16:32:14.806] Accepted 0ddee5e0 Diff 18/16 GSD 1
 [2017-10-22 16:32:18.309] Accepted 6efbd239 Diff 590/16 GSD 1
 [2017-10-22 16:32:20.629] Accepted 0e8ba2cb Diff 18/16 GSD 1
 [2017-10-22 16:32:23.856] Accepted 0a18ee8a Diff 25/16 GSD 1
 [2017-10-22 16:32:24.546] Accepted 0554851c Diff 48/16 GSD 0
 [2017-10-22 16:32:24.803] Accepted 01fb0626 Diff 129/16 GSD 1
 [2017-10-22 16:32:34.475] Accepted 044dbb5c Diff 59/16 GSD 0
 [2017-10-22 16:32:35.978] Accepted 3b23d93f Diff 1.11K/16 GSD 0
 [2017-10-22 16:32:39.358] Accepted 02298283 Diff 118/16 GSD 1
 [2017-10-22 16:32:41.581] Accepted 0823f5e6 Diff 31/16 GSD 0
 [2017-10-22 16:32:42.066] Accepted 0bab5b14 Diff 22/16 GSD 0
 [2017-10-22 16:32:44.158] Accepted 0c539094 Diff 21/16 GSD 1
 [2017-10-22 16:32:45.026] Accepted 02e32e67 Diff 89/16 GSD 1
 [2017-10-22 16:32:48.200] Accepted 0d0cc8ec Diff 20/16 GSD 1
newbie
Activity: 12
Merit: 0
Is my gekko Pac2 recognized by Raspberry Pi?  I don't see it .... do you?

pi@raspberrypi:~ $ lsusb
Bus 001 Device 008: ID 046d:c404 Logitech, Inc. TrackMan Wheel
Bus 001 Device 005: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 001 Device 007: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub
Bus 001 Device 006: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 001 Device 004: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi@raspberrypi:~ $
member
Activity: 111
Merit: 10
How to start mining?  Is there a simple miner that just ... works (given a pool address and worker)?  
Hello,
I just got my 2Pac running either. I used CGMiner. You have to compile it youself so that you can make sure that the Gekko driver is compiled in.
I just did it exactly like written on page 1:
Quote
sudo apt-get update
sudo apt-get upgrade -y

sudo apt-get install -y build-essential git libusb-1.0-0-dev libusb-1.0-0 libcurl4-openssl-dev libncurses5-dev libudev-dev screen libtool automake pkg-config libjansson-dev

mkdir -p git/vthoang; cd git/vthoang
git clone https://github.com/vthoang/cgminer.git
cd cgminer

CFLAGS="-O2" ./autogen.sh --enable-gekko
make -j 2
The image I used on the raspi was raspbian light from here:
https://www.raspberrypi.org/downloads/raspbian/
Also helpful is the Readme of CGMiner:
https://github.com/vthoang/cgminer/blob/master/README
From line 86 it is explained how to compile CGMiner yourself.
newbie
Activity: 12
Merit: 0
Hello All,

      I'm a bit out of my element here, with the Pac2 and a Raspberry Pi3.     After 20 hours this week trying to get mining to work I am asking for help.  

After install GekkoDrivers on page one of our thread, then what?

How can I confirm that the Pac2 is recognized by the Pi ?  

How to start mining?  Is there a simple miner that just ... works (given a pool address and worker)?  

One user on the thread here suggested that BFGMiner might work.    

The Raspberry version of CGMiner let me connect to a pool, but I don't know if i the Pac2 was actually mining.

Or maybe I can try using this Linux code (from Minergate website)?

Linux
First, you will need to build the miner. Consecutively enter the commands below to do it.
sudo apt-get install cmake build-essential libboost-all-dev
git clone https://github.com/feeleep75/nheqminer.git
cd nheqminer/nheqminer
mkdir build
cd build
cmake ..
make

Once you do it, run the miner with the following command:
cd ./nheqminer/nheqminer/build


To start mining with your CPU, enter
./nheqminer -l zec.pool.minergate.com:3357 -u YOUR_EMAIL


To stop the process, enter
Ctrl + C


ALSO I tried installing Minera on SD card, and was successful at viewing the GUI via IP address.   But in Minera I couldn't configure settings (in Terminal, etc) to make the thing work.  

Any help is VERY appreciated!  


newbie
Activity: 13
Merit: 0
A few observations and a question from a new 2Pac owner. Will try to limit eye-rolling numbskullery in my first post. I've read perhaps 60% of this thread and will be embarrassed if I repeat an answered question.

I have a single 2Pac bought off ebay because I wanted to play with a single unit. Mining on slushpool for giggles, and have been running at various speeds and difficulties for a few days. Network latency has a noticeable effect on scoring hashrate for me, and the best I've managed to date it a ~5 hour sustained period of scoring hashrate of ~26 GH/s.

It's nice hardware, and I hope sidehack's proud.

Run overnight with minimum difficult 512 sustained ~20.5 GH/s scoring hashrate from my current high-latency network location. @375 MHz.

Bumping up to 425 MHz and difficulty 128 it's heading back up to ~24 GH/s At any clockspeed It's difficult sustaining WU/m > 320, but 375-425 MHz gets the highest scoring hashrate on this stick. (One half hour chunk of time @ 29 MH/s scoring hashrate. Think it'd be higher still if slushpool accepted difficulty < 128 and I was running in the low latency network.)

Running a USB hub with a hacked in buck converter I've limited to to 3 amps, and attached to a dirty great copper heatsink from an old Xeon server, I'm sitting at 35°C @ 425 MHz.

I have quite a few heatsinks from retired servers. The current style would fit 6 or 8 2Pacs and still be well under the TDP capacity of the heatsink. I have a small machining shop and will probably muck about with back side heatsink clamps to increase evenness and clamp force. Leftover watercooling and phase change will probably come into play at some point too, not because it's cost effective, but because it's amusing.

My particular stick has a 0.258 V difference between the two ASICs. N0 always has the lower voltage across the cap. Inrush current can be an issue when starting cgminer, and I'm contemplating some PCB mods for grossly oversized low ESR tantalum caps to see if this helps.

Questions for the delightful curmudgeon, or anyone else who's had at these with a soldering iron:

1) Is the voltage difference between the N0 and N1 ASIC something I can remedy with careful installation of a precision multiturn trimpot in parallel (or series, to avoid R=0 smokeletting) with an existing resistor? I appreciate the risk inherent in this.

2) I'm in Australia and local purchasing options are borked. I'd like to buy 10-20 2pac sticks, whatever quantity is worth sidehack's time. Never mind, found the email address in the [FOR SALE] post.
If I successfully purchase 20 I'll probably shift up to 10 units to desirous AU residents at slightly above total cost to me. Because I think it's funny and am curious about the imminent pod miner, I'll drop any small profit back in sidehack's development fund.

I can probably offer a few ex-server heatsinks drilled and tapped for 2pac to the local market as well, but I'm in this for fun and education. Oh, and recycling.


EDIT: Had it running at 500 MHz for a couple of hours with 0 HW err, but hash rate topped at 21 GH/s. 325 MHz seems to be the most productive speed @ 0.731V  36 GH/s.
newbie
Activity: 4
Merit: 0
does anyone know if cgminer for these sticks support #xnsub

asking as i want to point to nicehash pools

i found this but not sure if it has been implemented yet
https://github.com/nicehash/cgminer-ckolivas/pull/13
full member
Activity: 1176
Merit: 111
I feel dumb, but I've been going round and round with my new 2pac for hours. Admitted noob. Received stick miner 2pac and powered USB hub with usb fan for cooling. I am on my MacBook pro and can't seem to get it to recognize the device. Having trouble with configuration as a result.

If you want to compile your own, you'll need to install brew on macOS. This is macOS version of apt-get (debian/ubuntu linux), but some of the module (?) names are not the same. For example, brew wants libusb not libusb-1.0.0

You can try running this cgminer 3.9.2 for mac: http://macminer.fabulouspanda.com/commandline/cgminer/
It might see your gekkoscience 2pac as AMU. Hash rate won't be high... but it'll test to see if the hardware is recognized.

What kind of powered hub did you get? do you have a link?
legendary
Activity: 3346
Merit: 1858
Curmudgeonly hardware guy
Neither "gecko-comp-freq" or "gekko-comp-freq" are real flags, due to various misspellings or truncations. Anything cgminer doesn't recognize as a valid flag will throw that error. Spelling matters.
legendary
Activity: 1722
Merit: 1000
I am getting "--gekko-comp-freq: unreconized option  any ideas?


Re asking question, I ran it from cmd prompt to read the error..

 --gekko-2pac-freq is the parameter - re-read the first post

I have both miners and same error even with removing the --gecko-comp-freq for the first sidehack miner.............

ALso

Q. How can I set a different frequency for the 2Pac vs the Compac?

cgminer will accept one or both parameters for the stick.
--gekko-compac-freq 200 --gekko-2pac-freq 150


............................................. don't be a dick and wrong.
full member
Activity: 658
Merit: 118

I feel dumb, but I've been going round and round with my new 2pac for hours. Admitted noob. Received stick miner 2pac and powered USB hub with usb fan for cooling. I am on my MacBook pro and can't seem to get it to recognize the device. Having trouble with configuration as a result.

Tried running the code mentioned in the Q&A and it did not resolve. Getting varying messages when I run MacMiner. What am I overlooking here? My software is pointed at the correct mining pool address and when it connects it says No Devices Found. I have been digging through pages and pages on here trying to figure out what's wrong. Can anyone help with this specific issue?

The instructions in this thread cover different flavors of Unix and Windows. If you're looking for easy, you should run Bootcamp and install Windows in it, download the binaries on the first page, and go from there.

If you want it to run natively on your Mac, you need to build the version of cgminer from the source code linked on the first page. This requires some comfort with software development tools.

You could also install a linux variant (like Ubuntu) on Bootcamp and run that with the instructions. Most of the people in this thread run it on raspberry pi.
newbie
Activity: 1
Merit: 0
I am getting "--gekko-comp-freq: unreconized option  any ideas?


Re asking question, I ran it from cmd prompt to read the error..

 --gekko-2pac-freq is the parameter - re-read the first post
I feel dumb, but I've been going round and round with my new 2pac for hours. Admitted noob. Received stick miner 2pac and powered USB hub with usb fan for cooling. I am on my MacBook pro and can't seem to get it to recognize the device. Having trouble with configuration as a result.

Tried running the code mentioned in the Q&A and it did not resolve. Getting varying messages when I run MacMiner. What am I overlooking here? My software is pointed at the correct mining pool address and when it connects it says No Devices Found. I have been digging through pages and pages on here trying to figure out what's wrong. Can anyone help with this specific issue?
full member
Activity: 1176
Merit: 111
20 gh/s won't even make you a penny per day. You need th/s to see anything. Difficulty 32 of course will have accepted share. Higher diff Means fewer acceptable shares of any before the new block. If the new block comes quickly you won't be able submit acceptable shares.
newbie
Activity: 4
Merit: 0
hi all

i just received my 2pac stick today, and testing it out

i have been using NiceHashLegacy and love it how i could just start mining and see my workers on their page

few questions about this stick

1. what is the .2pac at the end of the wallet used for ? cgminer.exe -o stratum+tcp://pool.ckpool.org:3333 -u 388QyuPNsE9BxJwtiJ85J4aTyLopU6RqJn.2pac --gekko-2pac-freq 200 --suggest-diff 32

2. i've seen in this discussion that people put -p x what is that?

3. i don't see any BTC generated in nicehash against my wallet, when does it show up?

4. i have the following addresses, could someone explain to me if these are community pools where everyone gets a return?
stratum+tcp://sha256.eu.nicehash.com:3334
stratum+tcp://sha256.usa.nicehash.com:3334
stratum+tcp://sha256.hk.nicehash.com:3334
stratum+tcp://sha256.in.nicehash.com:3334
stratum+tcp://sha256.jp.nicehash.com:3334
stratum+tcp://sha256.br.nicehash.com:3334
stratum+tcp://mmpool.org:3333
stratum+tcp://pool.ckpool.org:3333

5. i currently have the following settings cgminer.exe -o stratum+tcp://pool.ckpool.org:3333 -u 388QyuPNsE9BxJwtiJ85J4aTyLopU6RqJn.2pac --gekko-2pac-freq 200 --suggest-diff 32
when i start it up, it appears to be mining, it reports stuff like
 [2017-10-19 15:57:10.014] Accepted 028e2bb6 Diff 100/32 GSD 0
 [2017-10-19 15:57:12.140] Accepted 043c2d7d Diff 60/32 GSD 0
 [2017-10-19 15:57:14.197] Accepted 059041c5 Diff 46/32 GSD 0
 [2017-10-19 15:57:20.265] Accepted 05932a46 Diff 46/32 GSD 0

but when i point it to stratum+tcp://sha256.eu.nicehash.com:3334
i keep getting restarts
 [2017-10-19 16:05:40.464] Started cgminer 4.10.0
 [2017-10-19 16:05:40.820] Probing for an alive pool
 [2017-10-19 16:05:40.923] Found 2 chip(s) on GSD 0
 [2017-10-19 16:05:41.776] Pool 0 difficulty changed to 131072
 [2017-10-19 16:05:41.777] Network diff set to 1.1G
 [2017-10-19 16:05:46.479] Network diff set to 1.28M
 [2017-10-19 16:05:46.479] Stratum from pool 0 detected new block at height 1360990
 [2017-10-19 16:05:52.007] Stratum from pool 0 requested work restart

sorry for the noob questions, just started learning about this stuff
full member
Activity: 658
Merit: 118
I am getting "--gekko-comp-freq: unreconized option  any ideas?


Re asking question, I ran it from cmd prompt to read the error..

 --gekko-2pac-freq is the parameter - re-read the first post
legendary
Activity: 1722
Merit: 1000
I am getting "--gekko-comp-freq: unreconized option  any ideas?


Re asking question, I ran it from cmd prompt to read the error..
newbie
Activity: 1
Merit: 0
how to RUN for MAC?Huh


legendary
Activity: 3808
Merit: 7912
... Yes, of course they are 5V. That is the voltage spec for USB devices...
What matter is how much current PER-PORT the hub will provide. You want to have at least 2A (2000ma) per-port to run a 2PAC at nice speeds. As a general search, look for 'Charging hubs' made to power tablets and such.

Um there is a thread not to far away specifically about powered hubs and 2PAC's...

edit: Ok, so the thread was 3 pages in so   here is 2PAC powerd hub thread.

good to know I will be pack when I get a better usb hub. fyi it really sucks that the ones they are usually are not available on amazon anymore, but at least I know what I am looking for so 10-12amps per usb slot should be plenty I hope

 You wont find a commercially available hub with specs like that.  Charging ports are 2.1A and you generally can't charge and transfer data at the same time.  If you can find something ~2A per port that does both, buy it!  Also, watch the rating on the power supply - most powered hubs come with a shitty 40watt adapter these days which means you can't use all the ports at the same time.


Pages:
Jump to: