Bitcoin Forum
November 13, 2026, 02:37:32 AM *
News: Latest Bitcoin Core release: 32.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 [807] 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5807067 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic. (3 posts by 1+ user deleted.)
kano
Legendary
*
Offline

Activity: 4858
Merit: 1937


Linux since 1997 RedHat 4


View Profile
July 31, 2015, 09:28:29 AM
 #16121

I was working on another project and came across this API Style guide, re implementaion of the cgminer API -  pertinently Collection Resources

Just a thought ....
It's not an HTTP server and never will be.

It's designed the way it is on purpose.
A miner's MOST important feature is it's performance when mining.

The API socket is low level and as simple as possible yet contains the information required without burdening the computer by wasting resources that may be scarce and wasting it's time matching up to the other 10 million other random formats that each person prefers.

Tacking on other crap like proxy servers and web based interfaces are design flaws that clearly certain other people have no idea about design and performance ... (not referring to you)

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
pekatete
Hero Member
*****
Offline

Activity: 518
Merit: 500



View Profile WWW
July 31, 2015, 10:20:48 AM
 #16122

I was working on another project and came across this API Style guide, re implementaion of the cgminer API -  pertinently Collection Resources

Just a thought ....
It's not an HTTP server and never will be.

It's designed the way it is on purpose.
A miner's MOST important feature is it's performance when mining.

The API socket is low level and as simple as possible yet contains the information required without burdening the computer by wasting resources that may be scarce and wasting it's time matching up to the other 10 million other random formats that each person prefers.

Tacking on other crap like proxy servers and web based interfaces are design flaws that clearly certain other people have no idea about design and performance ... (not referring to you)

I was actually thinking more of the styling of the API commands than turning it into an http server ... but as usual you clearly had that covered. Its becoming clearer to me, though, why manufacturers that ship cgminer on their rigs more often than not do not ship the "out of the box" API, despite it having all the required information.

kano
Legendary
*
Offline

Activity: 4858
Merit: 1937


Linux since 1997 RedHat 4


View Profile
July 31, 2015, 11:13:55 AM
 #16123

...
I was actually thinking more of the styling of the API commands than turning it into an http server ... but as usual you clearly had that covered. Its becoming clearer to me, though, why manufacturers that ship cgminer on their rigs more often than not do not ship the "out of the box" API, despite it having all the required information.
They do ship it as is (mostly), only they have stupid ideas about changing the names of fields and changing the format of fields unnecessarily and breaking compatibility between the different versions.
Bitmain even did that to their own versions on the S1.

It's nothing to do with API interface design changes.

That's the issue with the Bitmain version, they didn't change how the API works or the data format, instead they messed with fields making it no longer backward compatible, rather than simply editing the display scripts to display the raw data differently.
They already do edit the display scripts, but instead of e.g. editing a script to divide by 1000, they modified the cgminer API to do the division by 1000 and renamed the field to something else and deleted the old field name. Clearly they had no idea about design and keeping compatibility when they did that.

I guess the main problem was the fact that Bitmain copied the miner OpenWRT code DIRECTLY from Xiangfu at Avalon and then clearly had little idea what they were doing with that code initially.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
pekatete
Hero Member
*****
Offline

Activity: 518
Merit: 500



View Profile WWW
July 31, 2015, 12:16:04 PM
 #16124

....

Just a thought ....

All good .... banish the thought.

Hegemon
Full Member
***
Offline

Activity: 152
Merit: 100


View Profile
July 31, 2015, 03:12:09 PM
 #16125

Hello,

Got an U3, trying to make it work but no success yet (windows 7/64) with cgminer 4.9.2

message:
Quote
--bmsc-options: unrecognized option

same with bmsc-freq and --bmsc-voltage

here is my .bat:
Quote
cgminer.exe --bmsc-options 115200:0.5 -o stratum.*** -u *** -p *** --bmsc-freq 0B82 --bmsc-voltage 0800

pause

CP210x_VCP_Windows,Zadig installed

Any idea please ?

with another cgminer, device not found


kano
Legendary
*
Offline

Activity: 4858
Merit: 1937


Linux since 1997 RedHat 4


View Profile
July 31, 2015, 03:37:10 PM
 #16126

There are no --bmsc-* options in cgminer.

Current cgminer is 4.9.2 so ./cgminer.exe -h will tell you that at the start of the output

As I've said above on this page:
./cgminer.exe -n will tell you what's connected

Also, cgminer doesn't require any settings for the miner for normal running.

Simply try: cgminer.exe -o stratum.*** -u *** -p ***

If you want to change options then read the README for the U3 options:
https://github.com/ckolivas/cgminer/blob/master/README#L338


If want to use some other miner, not master cgminer from us, then you'll need to find who made that fork and ask them.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
Hegemon
Full Member
***
Offline

Activity: 152
Merit: 100


View Profile
July 31, 2015, 03:41:59 PM
 #16127

A bit better but:
No device detected even after Zadig.
NathanB
Newbie
*
Offline

Activity: 12
Merit: 0


View Profile
July 31, 2015, 03:59:38 PM
 #16128

a question  Huh

why does when a miner go zombie does cgminer not always drop the connection to it and search (hotplug)
a new (another) miner.
it will keep the connection to the miner (usb) and just set there doing nothing.

just wondering...
kano
Legendary
*
Offline

Activity: 4858
Merit: 1937


Linux since 1997 RedHat 4


View Profile
July 31, 2015, 10:33:18 PM
 #16129

a question  Huh

why does when a miner go zombie does cgminer not always drop the connection to it and search (hotplug)
a new (another) miner.
it will keep the connection to the miner (usb) and just set there doing nothing.

just wondering...

It already resets some devices ... something that you'll find non-USB mining software doesn't do.

But it can't physically pull the miner out and plug it back in.
Physically unplugging it acts like a hardware reset coz the miner itself is not very well designed or made on the cheap.

An example of one that works with zombies is the hashfast hardware ... oh well.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
NathanB
Newbie
*
Offline

Activity: 12
Merit: 0


View Profile
August 01, 2015, 12:08:21 PM
 #16130

a question  Huh

why does when a miner go zombie does cgminer not always drop the connection to it and search (hotplug)
a new (another) miner.
it will keep the connection to the miner (usb) and just set there doing nothing.

just wondering...

It already resets some devices ... something that you'll find non-USB mining software doesn't do.

But it can't physically pull the miner out and plug it back in.
Physically unplugging it acts like a hardware reset coz the miner itself is not very well designed or made on the cheap.

An example of one that works with zombies is the hashfast hardware ... oh well.

thanks
just couldn't figure out why sometimes (12 U3s) cgminer hotplug one that had gone zombie giving it a new number  and other times it would just let it set there in zombie state needing to have the usb cable unplugged and plugged back in.


kano
Legendary
*
Offline

Activity: 4858
Merit: 1937


Linux since 1997 RedHat 4


View Profile
August 01, 2015, 12:53:10 PM
 #16131

a question  Huh

why does when a miner go zombie does cgminer not always drop the connection to it and search (hotplug)
a new (another) miner.
it will keep the connection to the miner (usb) and just set there doing nothing.

just wondering...

It already resets some devices ... something that you'll find non-USB mining software doesn't do.

But it can't physically pull the miner out and plug it back in.
Physically unplugging it acts like a hardware reset coz the miner itself is not very well designed or made on the cheap.

An example of one that works with zombies is the hashfast hardware ... oh well.

thanks
just couldn't figure out why sometimes (12 U3s) cgminer hotplug one that had gone zombie giving it a new number  and other times it would just let it set there in zombie state needing to have the usb cable unplugged and plugged back in.

Yes the U3 hits the top of the list for badly designed mining hardware.
(that ignored most of https://bitcointalk.org/index.php?topic=294499.0 )

The Icarus code does reset it - but it doesn't always fix it.
There's also no way to get any status from it other than 'it mines'

Going zombie and then getting a new number means the device itself effectively lost connection on USB and the OS reconnected it as a new device once it came back to life.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
Mikestang
Legendary
*
Offline

Activity: 1274
Merit: 1001



View Profile
August 02, 2015, 06:39:04 PM
 #16132

Hello,

Got an U3, trying to make it work but no success yet (windows 7/64) with cgminer 4.9.2


Check out the ASIC README file and use the appropriate U3 commands (--au3-volt --au3-freq).
tbearhere
Legendary
*
Offline

Activity: 3430
Merit: 1003



View Profile
August 03, 2015, 07:01:58 PM
 #16133

Hi,
Can anyone please give me the link to ck try your luck at solo mining BITCOIN plz? The thread that tells you how to solo mine to your wallet at his pool. If you hit a block it's yours.  Smiley
TheRealSteve
Hero Member
*****
Offline

Activity: 686
Merit: 505

FUN > ROI


View Profile
August 03, 2015, 07:07:24 PM
 #16134

Can anyone please give me the link to ck try your luck at solo mining BITCOIN plz? The thread that tells you how to solo mine to your wallet at his pool. If you hit a block it's yours.  Smiley
Bitcoin Forum > Bitcoin > Mining > Pools > [∞ YH] solo.ckpool.org 0.5% fee anonymous solo bitcoin mining! 83 blocks solved!
http://solo.ckpool.org/

?

pekatete
Hero Member
*****
Offline

Activity: 518
Merit: 500



View Profile WWW
August 03, 2015, 07:07:57 PM
 #16135

Hi,
Can anyone please give me the link to ck try your luck at solo mining BITCOIN plz? The thread that tells you how to solo mine to your wallet at his pool. If you hit a block it's yours.  Smiley
mine to: stratum+tcp://solo.ckpool.org:3333
with your address

tbearhere
Legendary
*
Offline

Activity: 3430
Merit: 1003



View Profile
August 03, 2015, 07:09:57 PM
 #16136

Can anyone please give me the link to ck try your luck at solo mining BITCOIN plz? The thread that tells you how to solo mine to your wallet at his pool. If you hit a block it's yours.  Smiley
Bitcoin Forum > Bitcoin > Mining > Pools > [∞ YH] solo.ckpool.org 0.5% fee anonymous solo bitcoin mining! 83 blocks solved!
http://solo.ckpool.org/

?
Thank you  Smiley
tbearhere
Legendary
*
Offline

Activity: 3430
Merit: 1003



View Profile
August 03, 2015, 07:10:27 PM
 #16137

Hi,
Can anyone please give me the link to ck try your luck at solo mining BITCOIN plz? The thread that tells you how to solo mine to your wallet at his pool. If you hit a block it's yours.  Smiley
mine to: stratum+tcp://solo.ckpool.org:3333
with your address
Thank you  Smiley
-ck (OP)
Legendary
*
Offline

Activity: 4928
Merit: 1759


Ruu \o/


View Profile WWW
August 05, 2015, 12:44:15 PM
 #16138

After I start my cgminer it use only 75 MB RAM

after >5 days it uses 2.9 GB RAM !!!

how Huh


Please explain


I'm using arch linux x64
Which version of cgminer is this you speak of and what driver?

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
-ck (OP)
Legendary
*
Offline

Activity: 4928
Merit: 1759


Ruu \o/


View Profile WWW
August 05, 2015, 01:22:53 PM
 #16139

i'm using bitmaintech fork 4.9.0
As you can see from the title of this thread, it is for development and support of the OFFICIAL cgminer only. Seek help from whoever maintains that fork please, or use the official version.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
-ck (OP)
Legendary
*
Offline

Activity: 4928
Merit: 1759


Ruu \o/


View Profile WWW
August 05, 2015, 03:09:10 PM
 #16140

does official version has support for Antminer U3 like they have ?
Yes

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Pages: « 1 ... 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 [807] 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!