iceblade2097
Newbie
Offline
Activity: 12
Merit: 0
|
|
August 09, 2020, 12:12:50 AM Last edit: August 09, 2020, 12:27:33 AM by frodocooper |
|
Thanks for all the help. I don't have all those miners but didn't know if I had to include them else it would default to try to find them. Only have 2 Butterfly labs jalapenos, 1 block disrupter and one gekko science. Is there a tutorial somewhere on how to the command switches? Sorry still new to this.
|
|
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
os2sam
Legendary
Offline
Activity: 3578
Merit: 1090
Think for yourself
|
|
August 09, 2020, 12:27:22 AM Last edit: August 09, 2020, 12:36:05 AM by frodocooper |
|
Well, I don't know of any tutorial. The CGMiner thread has all of this info, but it is very long and may be difficult finding the correct info. I think there is a USB readme too. I used to run multiple instances of CGMiner for different devices on different pools. But I have never run two different versions of CGMiner on the same machine. I'm not sure if that would cause an issue or not. Since your devices work fine in their proper CGMiner instance, I think I would suggest trying to run on a Linux box or Pi 4 and compile the latest version for all of your devices. Sidehack's devices will definitely run better on Linux. Edit: On your 4.11.1 add the command line "--usb BAS:0, ICA:0". That should disable the Jalapeno and the Block Erupter or whatever it is. ... Block disruptor.
Do you mean an ASIC Miner USB Block Erupter? Or something else? I have never heard of a Block disruptor??
|
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
|
|
|
iceblade2097
Newbie
Offline
Activity: 12
Merit: 0
|
|
August 09, 2020, 01:58:16 AM Last edit: August 10, 2020, 12:42:21 AM by frodocooper |
|
Yep you are right lol had some Star Trek playing the background and I guess it slipped while typing. It is an Block Erupter ASIC Miner USB. Adding that line didn't fix the outcome. Pasted what you had and it had trouble loading the config file so put "--usb": "BAS:0, ICA:0" on the 4.11.1 (the one that runs the gekko science and still same issue as soon as I open up the other version of CG miner.
|
|
|
|
os2sam
Legendary
Offline
Activity: 3578
Merit: 1090
Think for yourself
|
|
August 09, 2020, 04:15:54 AM |
|
Adding that line didn't fix the outcome. Pasted what you had and it had trouble loading the config file so put "--usb": "BAS:0, ICA:0" on the 4.11.1 (the one that runs the gekko science and still same issue as soon as I open up the other version of CG miner. I would still try it in the command line. I seem to remember that advanced options aren't supported in the config file. I have never used the config file as it was always causing problems for people. I like to keep it simple.
|
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
|
|
|
bmoscato
|
|
August 16, 2020, 02:08:22 PM Last edit: August 16, 2020, 11:46:28 PM by frodocooper |
|
[...]
Which version of Raspian are you using? Buster?
|
|
|
|
MoparMiningLLC
aka Stryfe
Legendary
Online
Activity: 2072
Merit: 2224
EIN: 82-3893490
|
|
August 16, 2020, 02:21:33 PM Last edit: August 16, 2020, 11:46:46 PM by frodocooper |
|
tbh - no clue but as my edit stated, it is now working fine miners performance is almost 260 gh/s higher on linux vs windows - simply amazing. On Windows the average was 730ish, on Linux it is averaging 990ish.
|
|
|
|
bmoscato
|
|
August 16, 2020, 02:34:45 PM |
|
Good morning, I followed the instructions at the beginning of the thread to install CGMiner onto a Raspberry PI, but I appear to be missing the CGMiner executable file. pi@RPi4:~/git/vthoang/cgminer $ cgminer -o stratum+tcp://solo.ckpool.org:3333 -u 1BmcjRJTRQAP7je5B7tDCLw4MDzXceSG9P.0 -p x --gekko-newpac-freq 100 --suggest-diff 128 -bash: cgminer: command not found pi@RPi4:~/git/vthoang/cgminer $ I'm running a Raspberry PI 4 using Rasbpian 10 (buster): pi@RPi4:~ $ cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs" pi@RPi4:~ $ Anyone have luck running cgminer with this configuration?
|
|
|
|
sidehack
Legendary
Offline
Activity: 3318
Merit: 1848
Curmudgeonly hardware guy
|
|
August 16, 2020, 02:43:33 PM |
|
Did you type a zero instead of a "O" (capital o) in the autogen line and it returned an error and you didn't notice, so when you typed the make line nothing got compiled?
|
|
|
|
bmoscato
|
|
August 16, 2020, 03:01:21 PM |
|
Did you type a zero instead of a "O" (capital o) in the autogen line and it returned an error and you didn't notice, so when you typed the make line nothing got compiled?
I copied and pasted each line directly from the example given. I do get some strange stuff after the make function. The very bottom of the terminal screen shows a warning: pi@RPi4:~/git/git/vthoang/cgminer $ sudo make -j 2 make all-recursive make[1]: Entering directory '/home/pi/git/git/vthoang/cgminer' Making all in lib make[2]: Entering directory '/home/pi/git/git/vthoang/cgminer/lib' GEN arg-nonnull.h GEN c++defs.h GEN warn-on-use.h GEN signal.h GEN string.h make all-recursive make[3]: Entering directory '/home/pi/git/git/vthoang/cgminer/lib' make[4]: Entering directory '/home/pi/git/git/vthoang/cgminer/lib' CC dummy.o AR libgnu.a ar: `u' modifier ignored since `D' is the default (see `U') make[4]: Leaving directory '/home/pi/git/git/vthoang/cgminer/lib' make[3]: Leaving directory '/home/pi/git/git/vthoang/cgminer/lib' make[2]: Leaving directory '/home/pi/git/git/vthoang/cgminer/lib' Making all in compat make[2]: Entering directory '/home/pi/git/git/vthoang/cgminer/compat' make[3]: Entering directory '/home/pi/git/git/vthoang/cgminer/compat' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/pi/git/git/vthoang/cgminer/compat' make[2]: Leaving directory '/home/pi/git/git/vthoang/cgminer/compat' Making all in ccan make[2]: Entering directory '/home/pi/git/git/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 ar: `u' modifier ignored since `D' is the default (see `U') make[2]: Leaving directory '/home/pi/git/git/vthoang/cgminer/ccan' make[2]: Entering directory '/home/pi/git/git/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 usbutils.c: In function ‘cgusb_check_init’: usbutils.c:1618:4: warning:‘libusb_set_debug’ is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations] libusb_set_debug(NULL, opt_usbdump); ^~~~~~~~~~~~~~~~ In file included from miner.h:129, from usbutils.c:18: /usr/include/libusb-1.0/libusb.h:1300:18: note: declared here void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level); ^~~~~~~~~~~~~~~~ CC cgminer-crc16.o CC cgminer-driver-gekko.o CCLD cgminer make[2]: Leaving directory '/home/pi/git/git/vthoang/cgminer' make[1]: Leaving directory '/home/pi/git/git/vthoang/cgminer' pi@RPi4:~/git/git/vthoang/cgminer $
|
|
|
|
sidehack
Legendary
Offline
Activity: 3318
Merit: 1848
Curmudgeonly hardware guy
|
|
August 16, 2020, 04:03:04 PM |
|
Oh, right. You forgot your dot slash.
./cgminer -o whatever -u whatever
That's what tells the OS that the command you're trying to run is an executable in the current directory rather than a global command.
|
|
|
|
bmoscato
|
|
August 16, 2020, 04:14:43 PM Last edit: August 16, 2020, 11:48:31 PM by frodocooper |
|
Thanks, that got CGMiner running, but it doesn't recognize my USB sticks: cgminer version 4.11.1 - Started: [2020-08-16 12:14:04.613] -------------------------------------------------------------------------------- (5s):0.000 (1m):0.000 (5m):0.000 (15m):0.000 (avg):0.000h/s A:0 R:0 HW:0 WU:0.0/m Connected to solo.ckpool.org diff 10K with stratum as user 1BmcjRJTRQAP7je5B7tD Block: bb3db56b... Diff:16.9T Started: [12:14:03.641] Best share: 0 -------------------------------------------------------------------------------- [U]SB management [P]ool management [S]ettings [D]isplay options [Q]uit -------------------------------------------------------------------------------- [2020-08-16 12:14:03.445] Started cgminer 4.11.1 [2020-08-16 12:14:03.446] Probing for an alive pool [2020-08-16 12:14:03.601] Pool 0 difficulty changed to 10000 [2020-08-16 12:14:03.623] Pool 0 message: Authorised, welcome to solo 1BmcjRJTR QAP7je5B7tDCLw4MDzXceSG9P! [2020-08-16 12:14:03.641] Pool 0 difficulty changed to 128 [2020-08-16 12:14:03.641] Network diff set to 16.9T [2020-08-16 12:14:04.612] No devices detected! [2020-08-16 12:14:04.613] Waiting for USB hotplug devices or press q to quit
pi@RPi4:~/git/vthoang/cgminer $ ls /dev/*USB* /dev/ttyUSB0 /dev/ttyUSB1 pi@RPi4:~/git/vthoang/cgminer $
EDIT I got one stick running in a hub, but can't get two working properly. I was able to get one running on the hub and a second running directly from the USB port on the RPi as a test.
|
|
|
|
os2sam
Legendary
Offline
Activity: 3578
Merit: 1090
Think for yourself
|
|
August 18, 2020, 12:46:52 AM |
|
I got one stick running in a hub, but can't get two working properly. I was able to get one running on the hub and a second running directly from the USB port on the RPi as a test.
What miner do you have? If your using a NewPac then what Hub do you have? Sounds like your Hub may not be supplying enough power. I would doubt that the Pi would supply enough power for a stick miner. Be careful not to overload it, the Pi that is.
|
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
|
|
|
gt_addict
|
|
August 18, 2020, 09:50:40 AM Last edit: August 18, 2020, 10:50:20 AM by gt_addict |
|
We need a FAQ section on the first page of this thread for the common issues that arise. Or simply a format of questions that get answered so we have a good idea of the system rather than “it doesnt work, whats wrong?”.
Maybe something along the lines of:-
1). What OS are you using? Windows,Linux variant?
2). What version of cgminer are you running? Vh’s or standard?
3). What usb hub is being used?
4). Is the hub mains powered? If so what is the power/amperage rating?
5). How have you connected the hub? Usb2 or 3 port?
6). What is the specific problem you are having?
Just an idea. May help speed up the diagnosis of problems.
|
**SUPPORT SIDEHACK** Miner Development Donations to: 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
Donations/Tips to:- 1GTADDicTXD1uachKKgW24DZDxDGhSMdRa
Join Bitconnect: https://bitconnect.co/?ref=gtaddict
|
|
|
os2sam
Legendary
Offline
Activity: 3578
Merit: 1090
Think for yourself
|
|
August 18, 2020, 11:57:02 AM |
|
I agree. A standard format would be very helpful and speed up things in most cases.
|
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
|
|
|
bmoscato
|
|
August 18, 2020, 08:43:36 PM Last edit: August 18, 2020, 11:46:35 PM by frodocooper |
|
What miner do you have? If your using a NewPac then what Hub do you have? Sounds like your Hub may not be supplying enough power. I would doubt that the Pi would supply enough power for a stick miner. Be careful not to overload it, the Pi that is.
I have a couple of NewPac miners. I'm sorry that I didn't specify because I thought that this was the NewPac support forum and didn't realize that the 606 was also supported here. 1. Raspberry Pi 4 with Raspbian Buster 2. CGMiner 4.11.1 (download from first post) 3. https://www.amazon.com/gp/product/B07Q3TYF15/4. Powered hub 12V/4A - USB Hub 3.0 5. USB 3.0 6. Can not get 2 miners to work when placed in hub. Both miners hash fine when only one is attached. I ordered a GekkoScience Hub this past weekend and will try again once I receive it.
|
|
|
|
os2sam
Legendary
Offline
Activity: 3578
Merit: 1090
Think for yourself
|
|
August 18, 2020, 10:42:07 PM |
|
Well, try
The "--gekko-noboost" and "--gekko-lowboost" options.
And the USB 2.0 port on the Pi.
Something to do while you wait on the new GS Hub.
|
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
|
|
|
gt_addict
|
|
August 19, 2020, 04:41:42 PM |
|
Try plugging one in and getting it working then plug the other in at the other end of the hub. Try different ports on the hub. Not knowing how the power "things" <--(insert correct terminology here) are laid out then you may well be overloading it, hence they both drop out.
|
**SUPPORT SIDEHACK** Miner Development Donations to: 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
Donations/Tips to:- 1GTADDicTXD1uachKKgW24DZDxDGhSMdRa
Join Bitconnect: https://bitconnect.co/?ref=gtaddict
|
|
|
NotFuzzyWarm
Legendary
Online
Activity: 3626
Merit: 2535
Evil beware: We have waffles!
|
|
August 19, 2020, 07:40:52 PM |
|
the power "things" <--(insert correct terminology here) The word you are looking for is "power circuits" or "circuitry".
|
|
|
|
bmoscato
|
|
August 19, 2020, 08:15:23 PM |
|
Now I'm totally at a loss. I purchased and installed GekkoScience 7 port hub and none of the miners are recognized... I was able to at least see them with the cheaper hub: GS Hub with 3 NewPac installed: pi@RPi4:~/git/vthoang/cgminer $ cd pi@RPi4:~ $ lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub pi@RPi4:~ $ ls /dev/*USB* ls: cannot access '/dev/*USB*': No such file or directory pi@RPi4:~ $ I obviously rebooted the RPi and tried plugging the USB cable into each of the 4 USB ports on the RPi with a restart each time. I also tried restarting the RPi with just 1 miner in different ports on the hub to no avail. Any thoughts?
|
|
|
|
os2sam
Legendary
Offline
Activity: 3578
Merit: 1090
Think for yourself
|
|
August 19, 2020, 08:26:13 PM |
|
Do they still work one at a time?
|
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
|
|
|
|