Pages:
Author

Topic: GekkoScience NewPac / Terminus R606 (BM1387) Official Support Thread - page 5. (Read 61982 times)

newbie
Activity: 2
Merit: 0
hi all.  i just wanted to let you know that you don't need to waste any of your time on me.  i got it running.  i found this video on youtube helpful...

https://www.youtube.com/watch?v=3lM89lbHzFk

i guess i needed to issue the command...

sudo make install

rather than...

make

i then had to issue the command...

cd

then i had to add sudo and not include the ./ to launch the linux command to run cgminer...

sudo cgminer -o stratum+tcp://whatever_pool_you_like:port_number -u your_address -p x --suggest-diff 512 --gekko-newpac-freq 675

then i created, within the cgminer directory, my whatever_name_you_want.sh file with the above command in it, right clicked on it, selected properties, selected the permissions tab, set the execute field to anyone, clicked ok.  double clicked my new .sh file and it started running.  i'm good to go.  hope this helps someone along the way a little bit.  happy mining!  and good luck to everyone!

ps...thank you to everyone who have made all of this possible.
newbie
Activity: 7
Merit: 0
I will try this one last time.

I am not trying to be rude.  BUT this is the worst format for a forum that I have ever encountered.  I can only search once in 90 seconds, I can only post once or twice a day...I tried to offer assistance to a user the other day but could not message anyone, could not reply to his post...then last night I tried to ask a question about these devices and was told I already posted and can not post again for a few hours.  I tried a different browser no change.

Anyway.  Forget all that.  I just had a simple question.  Is there anything on the chips that we can update?  It seems to me that we should be able to knock out certain settings like the LEDs blinking all the time if we could modify firmware, but I cannot find any information on potential firmware.  Perhaps it is all hardwired, if that is not the case can someone point me in the correct direction.  I know I could potentially just unsolder the leds, but did not want to risk it if there was an option to disable in "bios" or firmware somehow.  I know other people were complaining of the bright LEDs flickering all the time, and I know it sounds trivial but these things are in my office and when I am watching TV in the dark it is like I have a sparkler going off beside me...lol.

Thanks.
newbie
Activity: 2
Merit: 0
hello.  so, i've tried following the instructions on the first page to get my newpacs running on a raspberry pi 4. i haven't been successful.  i've also tried following this https://bitcointalksearch.org/topic/m.50968875 with no success.  i end up with this message.

collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:907: cgminer] Error 1
make[2]: Leaving directory '/home/pi/test/cgminer'
make[1]: *** [Makefile:1896: all-recursive] Error 1
make[1]: Leaving directory '/home/pi/test/cgminer'
make: *** [Makefile:810: all] Error 2
pi@raspberrypi:~/test/cgminer $ sudo ./miner.sh
./miner.sh: 1: ./cgminer: not found
pi@raspberrypi:~/test/cgminer $

this is my first experience running a raspberry pi.  running my newpacs from my win10 laptop is just fine.  any assistance would be most appreciated.  and i'm sorry if i missed a post that would have answered this already.
newbie
Activity: 7
Merit: 0
I had an accident.

Due to some unforeseeable accidents I broke my USB's.  I have several of these and 2 had an accident.  I slipped on the wet floor when walking with these in my hands, and they hit hard on the ground.  I broke one component off of one board and one off the other board.  A little silver chip that has itsy bitsy numbers on it I can't make out and a big black thing with the number R47.  googling for an hour to discover the silver thing is a oscillator and the black thing is a inductor coil.  BUT when I went to a electronics site to order replacement I realized there are far more than just 1 to choose from.

Does anyone know specifically what oscillator and inductor is on the newpac from GekkoScience?  I would love to buy 5 or 10 dollars in parts and attempt a fix instead of trying to buy these again, since most places are either out of stock or jacked way up.

Thanks.
newbie
Activity: 65
Merit: 0
Thanks
I'll try later when i'm home and give you feedback about it.

@gt_addict
It worked with a little twist...needed to take off ./ From de begining of the command line present on .sh file, and use sudo screen -x

But, apart from that... PERFECT
Thanks.
hero member
Activity: 2534
Merit: 623
Thanks for you reply.

So...first i need to install screen.
After that i need to create a .sh file...what do i put inside the.sh file?
The complete line command to start mining?

And then inside rc.local i put:
cd /home/pi/cgminer
screen -dmS cgminer ./cgminerSHfile.sh
 
Is this correct?


Inside the .SH file you should put....

"./cgminer -o stratum+tcp://solo.ckpool.org:3333 -u mybtcaddress --gekko-2pac-freq 200"
newbie
Activity: 65
Merit: 0
Thanks for you reply.

So...first i need to install screen.
After that i need to create a .sh file...what do i put inside the.sh file?
The complete line command to start mining?

And then inside rc.local i put:
cd /home/pi/cgminer
screen -dmS cgminer ./cgminerSHfile.sh
 
Is this correct?
hero member
Activity: 2534
Merit: 623
B00gieman, you need to use "screen" and create a ".sh" file and name it something then get it to autorun in the rc.local directory. Once its in there you can have something like the following run.........

cd /home/pi/cgminer
screen -dmS cgminer ./cgminerSHfile.sh

Then when it reboots, just go into a new terminal window and type "sudo screen -x" and it will open up the window with cgminer running.
newbie
Activity: 65
Merit: 0
Hello to you all.

Received today my 4 BM1384.
I've got a Raspberry 4
I've got this Hub:
Code:
https://i-tec.pro/en/produkt/u3chargehub16-2/

All installed.

The problem is curious.

If i start the raspberry and login via SSH and execute the command...
Code:
cgminer -n
It reports:
Code:
USB all: found 6 devices - listing known devices    
 [2022-03-04 19:06:39.383] No known USB devices

I only have 4 GekkoSciene + 1 connection to RPI, so 5 USB total... wtf is the six?
Another thing... it does not report nothinh like “2Pac BM1384 Bitcoin Miner”.
When i execute the command
Quote
cgminer -o stratum+tcp://solo.ckpool.org:3333 -u mybtcaddress --gekko-2pac-freq 200
The miner reports no USB devices

The only way i figure out to put all working is edit sudo nano /etc/rc.local and put the command to start mining, and then... sudo reboot

In this way the RPI boots and the 4 USB starts mining.

Whats appenning?
Does have anything to do with usb3hubs reported problems?

Other question... The mining process starts auto on boot...how can i check what is appening?
Is there a command to check cgminer output?
If the miner starts on boot i cant get any information from it... is there any way?
thanks


newbie
Activity: 7
Merit: 0
Another newbie here.  Took a look at this forum like 8 different times before realizing it was organized in reverse, i.e. newest last.  Now that I know it is still active I thought I would ask a couple questions.

I have a few gekko newpacs.  Have them connected to a decent powered hub and have them successfully mining on my wallet via ckpool proxy that I set up.  I have it on a spare azure ubuntu server that I have access to for the moment but would really like to be able to have the proxy over on my pi here in my home.  I have fought and fought with getting the pool to install in 3 different OS environments all linux based...finally got it running but I cannot get it to connect.  I suspect it has to do with several files being protected or restricted in the files I download.  Even after using chmod I still hit a wall.  None of that was a problem on the azure server though.  Anyway, I will stick a pin in that part.

The second part is I am having some difficulty creating my own bat file...that is the syntax is apparently wrong and I get random restarts.  I want to run this as slow as possible, I am trying to find out if there is a bare min. to keep a connection to the proxy open or from the proxy to the pool.  Maybe you all know the answer?  I am just wanting to know if there is a low limit...and if so, does anyone know what that is?  I set the thing to run at 25Mhtz with like 5000 difficulty but it still submits every few seconds to a minute.  I am just curious...if I start a proxy for myself if I have to always have something running or does it kick out if no miner is present?  That is essentially the question.  Also in regards to the syntax...this is essentially what I have right now...based on what I see in walkthroughs and documentation.  What I would like to do is know, is there a better way to connect to my proxy?  I am seeing where people are putting something other than wallet id in the -u...which makes me think there is another way...

Thanks in advance and pardon my possibly silly questions and legnth of post.
////
@echo off
for /F "tokens=2-8 delims=/:. " %%i in ("%DATE%.%TIME%") do @set TS=%%k%%i%%j_%%l%%m%%n%%o
set LOGFILE=cgminer_%TS%.log
set /p log=Should we log? (y/n)
if %log%==y ( title Logging to : cgminer_%TS%.log ) else ( set LOGFILE=nul )

mode con: cols=120 lines=60
cgminer.exe -o stratum+tcp://52.179.xxx.xxx:3334 --suggest-diff 5000 -u 1DQKoSArFfhD6tPyDxKHtYnRKiVTMHxxx -p x --usb :1 2>%LOGFILE%

echo. & pause
title Command Prompt
////
newbie
Activity: 2
Merit: 0
Forgive me newbie here. I'm not hashing anything with f2pool. I got some mining with zpool though.

Windows 10, newpac, latest cgminer.

Couple problems:

1) cmd window disappears but cgminer is running in services. I'd like to know why it closes and how to fix that.

2) this is what I see in the log file when trying to mine in f2pool

 [2022-02-13 16:31:48.691] Started cgminer 4.11.1


I got it to mine f2pool.

Looks like cmd window is not supposed to stay open?
newbie
Activity: 2
Merit: 0
Forgive me newbie here. I'm not hashing anything with f2pool. I got some mining with zpool though.

Windows 10, newpac, latest cgminer.

Couple problems:

1) cmd window disappears but cgminer is running in services. I'd like to know why it closes and how to fix that.

2) this is what I see in the log file when trying to mine in f2pool

 [2022-02-13 16:31:48.691] Started cgminer 4.11.1
 [2022-02-13 16:31:48.697] Probing for an alive pool
 [2022-02-13 16:31:49.167] Pool 0 difficulty changed to 65536
 [2022-02-13 16:31:49.167] Network diff set to 26.7T
 [2022-02-13 16:31:49.886] No devices detected!
 [2022-02-13 16:31:49.886] Waiting for USB hotplug devices or press q to quit
 [2022-02-13 16:32:11.862] Stratum from pool 0 detected new block at height 723176
 [2022-02-13 16:32:49.476] Stratum from pool 0 requested work restart
 [2022-02-13 16:34:20.619] Pool 0 difficulty changed to 32768
 [2022-02-13 16:35:07.914] Pool 0 difficulty changed to 16384
 [2022-02-13 16:35:55.584] Stratum from pool 0 requested work restart
 [2022-02-13 16:36:36.714] Pool 0 difficulty changed to 8192
 [2022-02-13 16:39:27.765] Stratum from pool 0 requested work restart
 [2022-02-13 16:42:57.153] Stratum from pool 0 detected new block at height 723177
 [2022-02-13 16:43:05.506] Stratum from pool 0 detected new block at height 723178
 [2022-02-13 16:43:12.420] Stratum from pool 0 detected new block at height 723179
 [2022-02-13 16:43:59.400] Stratum from pool 0 requested work restart
 [2022-02-13 16:45:10.738] Stratum connection to pool 0 interrupted
 [2022-02-13 16:45:11.111] Pool 0 successfully negotiated resume with the same session ID
 [2022-02-13 16:45:11.193] Pool 0 difficulty changed to 65536
 [2022-02-13 16:45:11.193] Stratum from pool 0 requested work restart
 [2022-02-13 16:47:03.136] Stratum from pool 0 requested work restart
 [2022-02-13 16:47:51.303] Pool 0 difficulty changed to 32768
 [2022-02-13 16:48:35.742] Pool 0 difficulty changed to 16384
 [2022-02-13 16:49:25.436] Pool 0 difficulty changed to 8192
 [2022-02-13 16:50:08.619] Stratum from pool 0 requested work restart
 [2022-02-13 16:53:41.177] Stratum from pool 0 requested work restart
 [2022-02-13 16:54:24.558] Stratum from pool 0 detected new block at height 723180
 [2022-02-13 16:55:09.186] Stratum from pool 0 requested work restart
 [2022-02-13 16:58:13.140] Stratum from pool 0 requested work restart
 [2022-02-13 16:58:34.206] Stratum connection to pool 0 interrupted
 [2022-02-13 16:58:34.488] Pool 0 successfully negotiated resume with the same session ID
 [2022-02-13 16:58:34.587] Pool 0 difficulty changed to 65536
 [2022-02-13 16:58:34.587] Stratum from pool 0 requested work restart
newbie
Activity: 1
Merit: 0
Hi, I need help.

I have my fan that broke down and my newpac heated up well.

I have a chip that is peeled off and I have not found it. I want to replace it but I'm not what it is. It is one that is just behind the bm1387, has side of the orange block.

If someone can tell me what it is so I can fix one.
Thank
member
Activity: 151
Merit: 10
I see someone hit a block with the USB stick miner running 4.1.12?   What is the latest cgminer for R606?

Thanks
The 606 is not cgminer version specific per-se but it DOES require that the version has drivers for it. Prior to Kano updating cgminer to run the F, all Gekko products required using VH's fork of 4.11. It will run just fine using the latest 4.12.0 from Kano as he has included drivers for all of the Gekko products as well as all the previous legacy drivers for other chips.

Thanks - I pulled Kano's version and compiled for my Raspberry Pi and it works great.
newbie
Activity: 5
Merit: 1
Everything works so far with version 4.12.0. Except for the frequency setting, only run at 100 GHz
legendary
Activity: 3234
Merit: 1221
use need to run cgminer as sudo
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
...

/usr/bin/ld: cgminer-driver-gekko.o:(.bss+0xd48): multiple definition of `modminer_drv'; cgminer-cgminer.o:(.bss+0x2078): first defined here
/usr/bin/ld: cgminer-driver-gekko.o:(.bss+0xdd0): multiple definition of `bitforce_drv'; cgminer-cgminer.o:(.bss+0x1ff0): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:893: cgminer] Fehler 1
make[2]: Verzeichnis „/home/pi/mining/newpac/cgminer“ wird verlassen
make[1]: *** [Makefile:1837: all-recursive] ERROR 1
make[1]: Verzeichnis „/home/pi/mining/newpac/cgminer“ wird verlassen
make: *** [Makefile:796: all] ERROR 2

STILL THE SAME ERROR...



My updated version includes a README build comment that may fix this...

-fcommon

https://github.com/kanoi/cgminer/blob/master/README#L153

Alas you are compiling someone else's version, so no idea if that is the fix.
I had to 'fix' a large number of compile warnings and a few errors when I pulled the code into the master cgminer

Read here for 4.12.0:
https://bitcointalksearch.org/topic/m.58200639

-j has no effect on if it will compile
legendary
Activity: 2483
Merit: 1482
-> morgen, ist heute, schon gestern <-
did you try a sudo make?
newbie
Activity: 5
Merit: 1
the Raspi WH got just one processor, so you should run make without j-2.
try it with make only.


/usr/bin/ld: cgminer-driver-gekko.o:(.bss+0xd48): multiple definition of `modminer_drv'; cgminer-cgminer.o:(.bss+0x2078): first defined here
/usr/bin/ld: cgminer-driver-gekko.o:(.bss+0xdd0): multiple definition of `bitforce_drv'; cgminer-cgminer.o:(.bss+0x1ff0): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:893: cgminer] Fehler 1
make[2]: Verzeichnis „/home/pi/mining/newpac/cgminer“ wird verlassen
make[1]: *** [Makefile:1837: all-recursive] ERROR 1
make[1]: Verzeichnis „/home/pi/mining/newpac/cgminer“ wird verlassen
make: *** [Makefile:796: all] ERROR 2

STILL THE SAME ERROR...


legendary
Activity: 3822
Merit: 2703
Evil beware: We have waffles!
I see someone hit a block with the USB stick miner running 4.1.12?   What is the latest cgminer for R606?

Thanks
The 606 is not cgminer version specific per-se but it DOES require that the version has drivers for it. Prior to Kano updating cgminer to run the F, all Gekko products required using VH's fork of 4.11. It will run just fine using the latest 4.12.0 from Kano as he has included drivers for all of the Gekko products as well as all the previous legacy drivers for other chips.
Pages:
Jump to: