Newar
Legendary
Offline
Activity: 1358
Merit: 1007
https://gliph.me/hUF
|
 |
August 06, 2014, 06:15:07 AM |
|
However a few days ago I built again from github on Ubuntu 14.04 and I noticed that the output on the screen is now different. It looks very much like the output in the blue window below. The whole top section is gone and it does not react to any input like p, d, s, or q. What do I need to do to get the "old" way of displaying back?
You built without libncurses dev installed. Thank you. I did. (Because it's listed as "optional" in the README)
|
|
|
|
|
deeneendo
|
 |
August 07, 2014, 08:42:21 PM Last edit: August 07, 2014, 08:54:25 PM by deeneendo |
|
Hi,
I'm running 1 NF2 and 2 NF6. Is it possible to pass separate nfu-bits values to the individual devices? Could someone explain to me how this would be achieved. I know it worked in bfgminer, but I would like to switch to cgminer (was using multiminer/bfgminer but ran into device detection issues). On bfgminer, the NF6s hit 14 GH/s, but if I set the nfu-bits for the NF2 AND NF6 it seems that the NF2 is having problems (around value 55), and thus, the NF6 don't run at full speed (about 9-10 GH/s). I'd like to set the NF2 to 52 and the NF6s to 55, if that is feasible in cgminer.
Thanks in advance for any help concerning this problem!
|
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4648
Merit: 1701
Ruu \o/
|
 |
August 07, 2014, 09:50:13 PM |
|
I'm running 1 NF2 and 2 NF6. Is it possible to pass separate nfu-bits values to the individual devices? Could someone explain to me how this would be achieved.
It was never implemented so the only way it could be done currently is to run two separate instances of cgminer with different bits set. It's probably worth you testing the NF6 by itself to see how it runs as I think that is one device that I have not confirmed the driver works at full speed for anyway.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
|
deeneendo
|
 |
August 07, 2014, 10:11:21 PM |
|
OK, thank you for the speedy answer. I will give this a try and report back what kind of speeds the 2 NF6s will achieve when run in a separate instance, but for now, I need bedtime 
|
|
|
|
|
os2sam
Legendary
Offline
Activity: 3586
Merit: 1099
Think for yourself
|
 |
August 07, 2014, 10:56:23 PM |
|
Presumably it's because they both use the same communication chip and I never tested this combination of hardware since my Jalapeno has long since been gotten rid of. You should try disabling the bxm instead of enabling the others with --usb BXM:0
I finally got around to trying this the other day and got an error saying some thing like BXM not known or unrecognized driver . The screen flashed by pretty quick so I couldn't copy it quick enough.
|
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?
|
|
|
Rabinovitch
Legendary
Offline
Activity: 2044
Merit: 1076
A humble Siberian miner
|
 |
August 08, 2014, 03:06:59 AM |
|
I've created an AntMinerS2 firmware.
It's wonderful, thank you a lot! Do you plan to polish it a little? At present running this firmware I can't modify root's password and all my settings are reset to the initial values after reboot or shutdown, even if I modify config files... And maybe if any new cgminer version (or other firmware improvements) will lead to hashrate growth personally I will donate to you a little for this job! Especially if you will do the same improved firmware for S3 miners (that I have not bought yet but I will soon). 
|
|
|
|
rav3n_pl
Legendary
Offline
Activity: 1361
Merit: 1003
Don`t panic! Organize!
|
 |
August 08, 2014, 05:31:40 PM |
|
It's about how the window is layed out.
Toy probably have -T added in command line (text only) or no curses installed.
|
|
|
|
Urinprobe
Newbie
Offline
Activity: 2
Merit: 0
|
 |
August 10, 2014, 04:57:33 PM |
|
Hey  I just bought an R-Box and would like to use cgminer. I installed the WinUSB driver using zadig. I still get an error, though: "USB init, open device failed, err -3, you don't have privilege to access - AMU device 6:2" "Icarus detect (6:2) failed to initialize (incorrect device?)" If it helps: bfgminer returns this: "Failed to open Device Parameters registry key in lowl-vcom.c _vcom_devinfo_scan_windows__hubport():556: The system cannot find the file specified."
|
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4648
Merit: 1701
Ruu \o/
|
 |
August 10, 2014, 09:32:23 PM |
|
Hey  I just bought an R-Box and would like to use cgminer. I installed the WinUSB driver using zadig. I still get an error, though: "USB init, open device failed, err -3, you don't have privilege to access - AMU device 6:2" "Icarus detect (6:2) failed to initialize (incorrect device?)" Assuming you installed everything right and have tried different USB ports and plugged them in again after setting the winUSB driver, and have tried rebooting as well, then the most likely thing is actually a faulty device. I've seen quite a few reports where people had to RMA these devices and their replacement one was fine.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
Urinprobe
Newbie
Offline
Activity: 2
Merit: 0
|
 |
August 10, 2014, 10:06:33 PM |
|
Hey  I just bought an R-Box and would like to use cgminer. I installed the WinUSB driver using zadig. I still get an error, though: "USB init, open device failed, err -3, you don't have privilege to access - AMU device 6:2" "Icarus detect (6:2) failed to initialize (incorrect device?)" Assuming you installed everything right and have tried different USB ports and plugged them in again after setting the winUSB driver, and have tried rebooting as well, then the most likely thing is actually a faulty device. I've seen quite a few reports where people had to RMA these devices and their replacement one was fine. Well, I did all that, actually. I will try to install ubuntu, though, maybe the problem is windows related? Can't test it on my rpi, as I don't have a card reader atm -.- Thank you so far 
|
|
|
|
|
|
deeneendo
|
 |
August 11, 2014, 07:41:31 PM |
|
OK, thank you for the speedy answer. I will give this a try and report back what kind of speeds the 2 NF6s will achieve when run in a separate instance, but for now, I need bedtime  OK. ckolivas, I tried running the NF6s on their own, but I could not get them to run faster than +/- 10 GH/s. The NF2 runs at 5 GH/s at the optimal setting of 54 bits, but gets unstable above. with bfgminer, the NF6 ran at 15 GH/s, so maybe it's tweaked differently? the NF6 does have 3 times the chips of the NF2 afaik, so should run at 3x the speed, I guess.
|
|
|
|
|
-ck (OP)
Legendary
Offline
Activity: 4648
Merit: 1701
Ruu \o/
|
 |
August 11, 2014, 09:50:55 PM |
|
OK. ckolivas, I tried running the NF6s on their own, but I could not get them to run faster than +/- 10 GH/s. The NF2 runs at 5 GH/s at the optimal setting of 54 bits, but gets unstable above. with bfgminer, the NF6 ran at 15 GH/s, so maybe it's tweaked differently? the NF6 does have 3 times the chips of the NF2 afaik, so should run at 3x the speed, I guess.
As I feared, the driver for the NF6 never matured. It doesn't quite run at 3x the speed of the NF2 because that would use too much power, but it should be more than 10. It's probably worth you testing the NF6 by itself to see how it runs as I think that is one device that I have not confirmed the driver works at full speed for anyway.
And no, I'm sorry I don't know why it doesn't run at full speed. It's been a long time since I worked on that driver. I was waiting for Vs3 to get back to me on something about the driver and it never happened and then it looked like these weren't actually going to be sold so I abandoned work on it. My fault. I'll see if I can find the dev unit I got and figure out why but time and life's been rather hard of late.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
|
deeneendo
|
 |
August 12, 2014, 08:06:44 PM |
|
Hi ckolivas,
thanks for the reply, of course I understand, life goes on and there are more important things. anyway, I can run an instance of bfgminer alongside and have that take care of the NF6s.
Many thanks for all the hard work and actually reading and replying to our questions!
tip is on the way.
|
|
|
|
|
bernard75
Legendary
Offline
Activity: 1316
Merit: 1003
|
 |
August 13, 2014, 01:00:54 PM |
|
|
|
|
|
|
|
kenshirothefist
|
 |
August 14, 2014, 08:49:18 AM |
|
Hi, Many of cgminer users are already using NiceHash.com, especially Scrypt and SHA256 ASIC miners; therefore it would be very nice if a small stratum protocol extension called mining.extranonce.subscribe (as described here https://www.nicehash.com/software/#devs) would be implemented into cgminer. I understand that this is a custom feature and I know you are not very fond of custom features. Nevertheless, there are already many custom features implemented in cgminer to support various ASIC devices and it would be really nice if you could do it since it would improve efficiency for users using cgminer when mining on NiceHash (because no disconnects would be needed when we switch buyers orders internally in our system - there is no other way for us to do it since we can't delegate the work any other way but to cut part of extranonce for ourself). Of course this can be implemented as an optional feature, enabled by a parameter (e.g. "extranonce-subscribe" : true). It is especially important for this feature to be implemented in cgminer since the majority of ASIC device manufacturers grabs your cgminer, burns it into their devices and in some cases it is hard to put a custom (patched) version into such devices. This feature has already been included, for example, in the latest sgminer (search for "extranonce" here: https://github.com/nicehash/sgminer/commits/master) or in official sgminer GIT source code at https://github.com/sgminer-dev/sgminer/commits/v5_0p.s.: I do realize that this is not an optimal implementation; it would be better to extend stratum protocol in such a way that it would make extensions easily auto-detectable, however we can probably consider the stratum protocol not to be worth spending too much time on, since it is a dead end as a centralized protocol ... that's why we proposed this kind of simplified patch. Thanks and let me know if you need any help!
|
|
|
|
|
|
AndrewK
|
 |
August 14, 2014, 12:06:13 PM Last edit: August 14, 2014, 12:30:42 PM by AndrewK |
|
Hey guys,
Having a somewhat detailed problem and I will try my best to explain. My linux skills are so-so... please bare with me.
Recently I purchased an as-is bitburner A1... It has 5 bitmine chips. I can get it running with standard cgminer but it only recognizes/uses one chip.
I then tried to compile cgminer 4.5.0 in order to add: --enable-bitmine_A1.
Ran into a couple errors but the main one was that the compiler couldn't find a reference for PATH_MAX in spi-context.c or .h...
So I included limits.h in spi-context.h... problem solved. Everything built with make and make install.
However, when I run cgminer it exits immediately. So I ran it with --syslog and this is the output I get:
cgminer: SPI: Can not open SPI device /dev/spidev0.0 cgminer: All devices disabled, cannot mine!
The device seems to be installed...
Any help or thoughts would be greatly appreciated.
Thanks!
Additional Info: Running ubuntu 14.04, I have root access and have tried these commands with SUDO as well.
Using lsusb i get:
BUS 003 Device 007: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
which I just assume is the USB controller IC for the miner.
|
1K4BacKKdssA5RGzaFx3D4LC9HVXjE2NvS
|
|
|
|
Taugeran
|
 |
August 14, 2014, 04:17:29 PM |
|
Hey guys,
Having a somewhat detailed problem and I will try my best to explain. My linux skills are so-so... please bare with me.
Recently I purchased an as-is bitburner A1... It has 5 bitmine chips. I can get it running with standard cgminer but it only recognizes/uses one chip.
I then tried to compile cgminer 4.5.0 in order to add: --enable-bitmine_A1.
Ran into a couple errors but the main one was that the compiler couldn't find a reference for PATH_MAX in spi-context.c or .h...
So I included limits.h in spi-context.h... problem solved. Everything built with make and make install.
However, when I run cgminer it exits immediately. So I ran it with --syslog and this is the output I get:
cgminer: SPI: Can not open SPI device /dev/spidev0.0 cgminer: All devices disabled, cannot mine!
The device seems to be installed...
Any help or thoughts would be greatly appreciated.
Thanks!
Additional Info: Running ubuntu 14.04, I have root access and have tried these commands with SUDO as well.
Using lsusb i get:
BUS 003 Device 007: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
which I just assume is the USB controller IC for the miner.
As far as I know the bitburner series of devices (Avalon, Bitfury and A1) all use Avalon emulated protocol do you have avalon enabled
|
Bitfury HW & Habañero : 1.625Th/s tips/Donations: 1NoS89H3Mr6U5CmP4VwWzU2318JEMxHL1 Come join Coinbase
|
|
|
|
AndrewK
|
 |
August 14, 2014, 09:25:23 PM |
|
^ so, I tried it with --enable-avalon along with --enable-bitmine_A1...
it worked but I'm still only getting 30gh/s
tried it with --enable-avalon and without --enable-bitmine_A1 and still 30gh/s...
Anything else I could try?
Thanks,
|
1K4BacKKdssA5RGzaFx3D4LC9HVXjE2NvS
|
|
|
zefir
Donator
Hero Member
Offline
Activity: 919
Merit: 1000
|
 |
August 15, 2014, 07:17:36 AM |
|
^ so, I tried it with --enable-avalon along with --enable-bitmine_A1...
it worked but I'm still only getting 30gh/s
tried it with --enable-avalon and without --enable-bitmine_A1 and still 30gh/s...
Anything else I could try?
Thanks,
Are you sure the bitburnerA1 is supported by upstream cgminer? When I bought a few of those some months ago, I was pointed to the private repository at https://github.com/someone42/cgminerWorked for me. Good Luck.
|
|
|
|
|
AndrewK
|
 |
August 15, 2014, 12:21:19 PM |
|
^F-in sweet.
Thanks man!
|
1K4BacKKdssA5RGzaFx3D4LC9HVXjE2NvS
|
|
|
|