Post
Topic
Board Mining software (miners)
Re: CGMINER GPU FPGA overc monit fanspd RPC stratum linux/windws/osx/mip/r-pi 2.10.4
by
marke74.miner
on 07/01/2013, 01:25:01 UTC
Had a problem with all versions of CGMiner not enabling the devices (GPUs) from the configuration file. IE
if the config file contains the following

"Device" : "0",
"Device" : "1",
"Device" : "2"

only the last entry GPU 2 would be enabled.
I fixed this by editing the source and adding Device0, Device1......Device7 to the configuration tables.
Now the lines in the config file would look like this

"Device0" : "0",
"Device1" : "1",
"Device2" : "2"

 Works great! All 3 devices are enabled on startup. I know it's not fixes the real issue but more of a patch.
Anyone interested and I can send the changes to you.

Onto a new issue. I want to beable to control remotely what pool is selected. Since I have 9 rigs I want to do this programatically. I am very knowledable of VB and linux, but am new to JSON/RPC. I would like to be able to send such a command via the network interface using RPC via VBA.net. From looking at the cgminer source RPC/JSON commands are accepted through the use of port 4028. What would be the simpliest way to send an RPC packet from VBA.net to switch to pool 2 and viceversa switch to pool 0.

Any help would be appreciated. I have exhausted the third party addons for JSON serialization and RPC protocal and have not come accross a viable solution.

Thanks,
Mark