os2sam
Legendary
Offline
Activity: 3586
Merit: 1098
Think for yourself
|
|
May 31, 2015, 02:08:22 AM |
|
The configuration option --enable-blockerupter is for the Tube/Prisma's only right?
whereas --enable-icarus is for the old ASIC Miner Block Erupters? Thanks, Sam
|
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?
|
|
|
kano
Legendary
Offline
Activity: 4620
Merit: 1851
Linux since 1997 RedHat 4
|
|
May 31, 2015, 10:10:00 PM |
|
The configuration option --enable-blockerupter is for the Tube/Prisma's only right?
I guess so, I've never seen one. It matches USB devices with .idVendor = 0x10c4, .idProduct = 0xea60, and calls them "BET" whereas --enable-icarus is for the old ASIC Miner Block Erupters? Thanks, Sam
Icarus: Old Asicminer USB, Bitmain U1 + U2, Avalon USB, Cairnsmore, Icarus, Lancelot ... and RBox and anything that pretends to be one of the above.
|
|
|
|
os2sam
Legendary
Offline
Activity: 3586
Merit: 1098
Think for yourself
|
|
May 31, 2015, 11:38:10 PM |
|
Kano, Thanks for the clarification.
|
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?
|
|
|
Wh1teKn1ght
|
|
June 01, 2015, 04:29:50 AM |
|
I have a BFL SC 25GH miner and in 4.9.1 when cgminer starts it states that there were no USB devices detected. Yet, when I run 4.9.0, the miner is detected and works fine. Is this a known issue with 4.9.1 or is there something that I may be missing?
Thanks!
Are you running Windoze or Linux? If Windoze search back in a few pages and find the new cgminer.exe for 4.9.1 and try it. Don't know if it will make a difference for you or not but that got my Monarchs working. Sam I'm running Windows. Already tried the new cgminer.exe but it didn't make a difference...
|
|
|
|
kano
Legendary
Offline
Activity: 4620
Merit: 1851
Linux since 1997 RedHat 4
|
|
June 01, 2015, 10:34:50 PM |
|
I have a BFL SC 25GH miner and in 4.9.1 when cgminer starts it states that there were no USB devices detected. Yet, when I run 4.9.0, the miner is detected and works fine. Is this a known issue with 4.9.1 or is there something that I may be missing?
Thanks!
Are you running Windoze or Linux? If Windoze search back in a few pages and find the new cgminer.exe for 4.9.1 and try it. Don't know if it will make a difference for you or not but that got my Monarchs working. Sam I'm running Windows. Already tried the new cgminer.exe but it didn't make a difference... Well there was this commit https://github.com/ckolivas/cgminer/commit/666f0059caee111ba40ab4cbe505a8aaae7b5be2that -ck did but I don't know what's in the cgminer.exe you tried Post here the output of cgminer -n and that should say what the updated commit will detect it as
|
|
|
|
Wh1teKn1ght
|
|
June 03, 2015, 03:22:10 AM |
|
I have a BFL SC 25GH miner and in 4.9.1 when cgminer starts it states that there were no USB devices detected. Yet, when I run 4.9.0, the miner is detected and works fine. Is this a known issue with 4.9.1 or is there something that I may be missing?
Thanks!
Are you running Windoze or Linux? If Windoze search back in a few pages and find the new cgminer.exe for 4.9.1 and try it. Don't know if it will make a difference for you or not but that got my Monarchs working. Sam I'm running Windows. Already tried the new cgminer.exe but it didn't make a difference... Well there was this commit https://github.com/ckolivas/cgminer/commit/666f0059caee111ba40ab4cbe505a8aaae7b5be2that -ck did but I don't know what's in the cgminer.exe you tried Post here the output of cgminer -n and that should say what the updated commit will detect it as Here's the output: [2015-06-02 22:21:44] USB all: found 17 devices - listing known devices .USB dev 0: Bus 7 Device 2 ID: 0403:6014 Manufacturer: 'FTDI' Product: 'BitFORCE SHA256 SC' [2015-06-02 22:21:44] 1 known USB devices
|
|
|
|
|
luthermarcus
|
|
June 04, 2015, 03:14:12 AM |
|
hey kano are you working on the s3+ firmware as well?
|
Donate Bitcoin 1Mz7ZHxPhoH1ZK2yQvo62NdHvvsS2quhzc Donate TRX TB3WiLEj6iuSBU5tGUKyZkjB4vqrBDvoYM
|
|
|
kano
Legendary
Offline
Activity: 4620
Merit: 1851
Linux since 1997 RedHat 4
|
|
June 04, 2015, 05:03:49 AM |
|
hey kano are you working on the s3+ firmware as well?
I don't have an S3+ only two S3s But I expect it will work, and I'll ask a guy at Bitmain to check it I guess since he has hundreds of them - probably just need to select the S3+ advanced menu setting to get S3+ performance. I've put the basic changes into my git but still a few wrinkles to iron out. It turns out from a driver point of view, the S3 is a USB S2 with a few settings different. However they also changed things in the last firmware that means it requires a factory reset after installing the last firmware before it works properly ... and also, that I've not done yet, update the pic firmware, coz the speed dropped considerably on the S3 that I simply updated the firmware without adding any of my changes Getting there ...
|
|
|
|
pekatete
|
|
June 04, 2015, 09:35:32 AM |
|
Just had the chance to update to 4.9.1c from 4.9.1a I had 4.6.1 installed prior to updating to 4.9.1a (and 4.3.2a before that), and can say without doubt that with 4.9.1a the API was broken 4.9.1c seems to have restored it (at least the non privileged stats polling). I know this was mentioned before (and I have not yet tried it on the latest), but is it possible to now run the privileged API commands remotely (ie not through putty) with the latest 4.9.1c?
|
|
|
|
kano
Legendary
Offline
Activity: 4620
Merit: 1851
Linux since 1997 RedHat 4
|
|
June 04, 2015, 11:05:54 AM |
|
Just had the chance to update to 4.9.1c from 4.9.1a I had 4.6.1 installed prior to updating to 4.9.1a (and 4.3.2a before that), and can say without doubt that with 4.9.1a the API was broken 4.9.1c seems to have restored it (at least the non privileged stats polling). I know this was mentioned before (and I have not yet tried it on the latest), but is it possible to now run the privileged API commands remotely (ie not through putty) with the latest 4.9.1c? Well the fix was related to the problem of using partial addresses like 192.168.0/24 instead of 192.168.0.0/24 (the IPv6 code added, removed the commented code that did that ) Using priv commands is to do with the W/R options To enable remote access priv commands you can allow the local subnet IP/24 e.g. W:192.168.0/24 (if your local subnet is 192.168.0.*) Or give specific remote IPs access with W:RemoteIP So for normal access it would look something like: W:127.0.0.1,W:192.168.0/24,W:A.B.C.D and thus priv access is given to the local cgminer-api on the miner, any computer in the 192.168.0.* subnet and the remote computer A.B.C.D You should always have W:127.0.0.1 The others can be R: for read access instead of W: for write/priv access And of course you can do a lot more than that https://github.com/ckolivas/cgminer/blob/master/API-README
|
|
|
|
pekatete
|
|
June 04, 2015, 12:18:22 PM |
|
Using priv commands is to do with the W/R options To enable remote access priv commands you can allow the local subnet IP/24 e.g. W:192.168.0/24 (if your local subnet is 192.168.0.*) Or give specific remote IPs access with W:RemoteIP So for normal access it would look something like: W:127.0.0.1,W:192.168.0/24,W:A.B.C.D and thus priv access is given to the local cgminer-api on the miner, any computer in the 192.168.0.* subnet and the remote computer A.B.C.D You should always have W:127.0.0.1 The others can be R: for read access instead of W: for write/priv access And of course you can do a lot more than that https://github.com/ckolivas/cgminer/blob/master/API-READMEJust to clarify, the documentation referenced above sems to contain notation for latter filesystem layouts. For the S1, the config file "seems" to be /etc/config/cgminer, which (at least on my S1's) is not in JSON format. Here's mine, though I still can not access the priv command remotely (note that I've tried with the specific IP, with just the network and both as below). Also, is it necessary to restart cgminer after editing the file? root@antMinerS1:~# vi /etc/config/cgminer
config cgminer 'default' option chip_frequency '282' option miner_count '24' option api-listen 'true' option api_allow 'W:127.0.0.1,192.168.1.60,192.168.1/24' option more_options '--quiet --api-network' option target '60' option overheat '70' option pool2pw 'x' option pool1user 'my.worker3' option pool1pw 'x' option pool2user '1WQgqP7A2KuQ4WT4273JXZPUf29BAbxf6' option pool1url 'stratum+tcp://stratum.bitcoin.cz:3333' option pool2url 'stratum+tcp://stratum.kano.is:3333'
|
|
|
|
kano
Legendary
Offline
Activity: 4620
Merit: 1851
Linux since 1997 RedHat 4
|
|
June 04, 2015, 02:19:29 PM |
|
W:127.0.0.1,192.168.1.60,192.168.1/24
The W: doesn't pass on to the others so the others are effectively R:
You need a W: on the front each one you want full access
e.g.
W:127.0.0.1,W:192.168.1.60,192.168.1/24
will also give 192.168.1.60 full access
... and yes you need to restart cgminer - you can't change the API settings ever on a running cgminer
|
|
|
|
pekatete
|
|
June 04, 2015, 02:25:02 PM |
|
W:127.0.0.1,192.168.1.60,192.168.1/24
The W: doesn't pass on to the others so they others are effectively R:
You need a W: on the front each one you want full access
e.g.
W:127.0.0.1,W:192.168.1.60,192.168.1/24
will also give 192.168.1.60 full access
Ahh! The detail of prepending the W on each IP / range evaded me ..... and that for ages! I had resorted to the insecure S5 default of W:0/0 Thanks for clarifying ..... EDIT: I've been palying with this today and had reverted to 4.9.1a to check .... and it seems to be working OK (even for non priv polling), so I'll have to strike out my earlier comment about 4.9.1a breaking the API (and blame it on the gremlins).
|
|
|
|
minerjoen
|
|
June 06, 2015, 08:47:09 AM |
|
Hey guys,
There were i am still using CGminer 4.8.0 i also want to test the newest version 4.9 / 4.9.1, however when i use the same .bat file from 4.8.0 ( what is working perfectly ) my command prompt is opening and close directly. So the only thing i did was taking the .bat file from 4.8.0 and place it in the 4.9 and 4.9.1 ( tested both ) but cgminer wont open, yeah well just for 0.5 sec and it close directly.
I try to read as much as possible on this topic, but i cant find the answer on my question. I dont get a message that he dont support or see my miner ( because that's easy to fix ), but my miner (cgminer) just wont start running..
The miner i am using for test is an antminer u3. 4.8 is working ''fine'' but i hope the newer version give me a stable hash rate, because with 4.8 i get on the U3 a hashrate from 50ghs / 66 ghs. So 4.8 is not that stable.
The .bat file i am using on 4.8 (but not working on 4.9/4.9.1) on Windows7 is: cgminer.exe --bmsc-options 115200:0.57 -o stratum+tcp://notimportant.com -u 2XdsyV7ThMVPalsonotimportantoL1ctW1rJDk -p x --bmsc-voltage 0800 --bmsc-freq 1286
Hope to get a sollution in here
|
Bitcoin: 1GPjrqoWGQfqyCEYnPhbA3nWN9dmMwFHRE Elementrem: 0xF4789b95826C4474B3E7C780Fd90f639b51C4B6c
|
|
|
kano
Legendary
Offline
Activity: 4620
Merit: 1851
Linux since 1997 RedHat 4
|
|
June 06, 2015, 10:23:40 AM |
|
You at least need to open a command prompt and run the command and see what the error is. More details if you add -D --verbose to the cgminer options. But most likely it will show without them. Also ... cgminer -n will tell you what hardware it finds.
|
|
|
|
minerjoen
|
|
June 06, 2015, 10:39:44 AM |
|
You at least need to open a command prompt and run the command and see what the error is. More details if you add -D --verbose to the cgminer options. But most likely it will show without them. Also ... cgminer -n will tell you what hardware it finds.
like: cgminer.exe -D --verbose --bmsc-options 115200:0.57 -o stratum+tcp://hashgoal.com:3332 -u 2XdsyV7ThMVPp65PxSmWmjpoL1ctW1rJDk -p x --bmsc-voltage 0800 --bmsc-freq 1286 ? because of i do this, i get nothing to see.
|
Bitcoin: 1GPjrqoWGQfqyCEYnPhbA3nWN9dmMwFHRE Elementrem: 0xF4789b95826C4474B3E7C780Fd90f639b51C4B6c
|
|
|
os2sam
Legendary
Offline
Activity: 3586
Merit: 1098
Think for yourself
|
|
June 06, 2015, 12:42:37 PM |
|
You at least need to open a command prompt and run the command and see what the error is. More details if you add -D --verbose to the cgminer options. But most likely it will show without them. Also ... cgminer -n will tell you what hardware it finds.
like: cgminer.exe -D --verbose --bmsc-options 115200:0.57 -o stratum+tcp://hashgoal.com:3332 -u 2XdsyV7ThMVPp65PxSmWmjpoL1ctW1rJDk -p x --bmsc-voltage 0800 --bmsc-freq 1286 ? because of i do this, i get nothing to see. That's what you do 2nd. First you run your original command line in a DOS window and see what you get.
|
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?
|
|
|
hurricandave
Legendary
Offline
Activity: 966
Merit: 1003
|
|
June 06, 2015, 02:16:53 PM Last edit: June 06, 2015, 04:23:19 PM by hurricandave |
|
When he wrote and saved the original bat file, it was saved in the 4.8* folder and most likely has that path defined in the hidden part of the titled path. Try deleting the bat file in 4.9*. Navigate to 4.8*, open the old bat file in edit, then left click and drag over its text, select copy. Close that session. Open the 4.9* CGminer folder and create a new text file in it. Open that file with notebook/edit and right click to Paste your text/only from the original bat file. Now save it in 4.9* as a bat and see if it works.
Quote- So the only thing i did was taking the .bat file from 4.8.0 and place it in the 4.9 and 4.9.1 ( tested both ) but cgminer wont open, yeah well just for 0.5 sec and it close directly.
|
|
|
|
os2sam
Legendary
Offline
Activity: 3586
Merit: 1098
Think for yourself
|
|
June 06, 2015, 04:10:48 PM |
|
I had a Monarch die so I had to send it in. It came back from repair and now it only hashes around 70 to 80 Ghs with CGMiner 4.9.1 with the replacement .exe. If I use the "special" version of BFGMiner on a 64 bit machine it hash's fine. It used to hash fine with CGMiner too. Any idea's? Thanks, Sam
|
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?
|
|
|
|