Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: naveennoel on January 30, 2015, 05:07:59 AM



Title: Running BTC (SHA256) and LTC(scrypt) on the same machine
Post by: naveennoel on January 30, 2015, 05:07:59 AM
Hi,

I am a newbie, just started mining.

Qs: Is is possible to run cgminer(BTC) and bfgminer(LTC) on the same machine.

I seem to be getting either one of them working at a time.

This is on Windows 7 x 64
BTC
ASIC Hardware: Bitmain Antminer U1 and U2
Software: cgminer 4.9.0: http://ck.kolivas.org/apps/cgminer/
cgminer.exe -o stratum.btcguild.com:3333 -u USERNAME_1 -p 123

LTC
ASIC Hardware: GAW Miner
Software: BFG Miner 4.3.1 Zeus Miner: https[Suspicious link removed] --scrypt -o stratum+tcp://us.litecoinpool.org:3333 -u USERNAME.WORKER -p 1 --zeus-cc 6 --zeus-clk 340 -S zeus:\\.\COM12

Problem: When i run zadig as suggested, cgminer works well as expected, but bfgminer stops working.

Currently, bfgminer works, but cgminer does not

D:\mining\bitcoin\cgminer-4.9.0-windows>cgminer --ndevs
 [2015-01-29 23:33:45] USB all: found 8 devices - listing known devices
.USB dev 0: Bus 1 Device 2 ID: 10c4:ea60
  ** dev 0: Failed to open, err -12
.USB dev 1: Bus 2 Device 5 ID: 10c4:ea60
  ** dev 1: Failed to open, err -12
.USB dev 2: Bus 2 Device 3 ID: 10c4:ea60
  ** dev 2: Failed to open, err -12
 [2015-01-29 23:33:46] 3 known USB devices

Any ideas, is there something I am missing or get both to co-exist.



Title: Re: Running BTC (SHA256) and LTC(scrypt) on the same machine
Post by: jawitech on January 30, 2015, 04:24:15 PM
I'm running several devices with different miners on my Win7 64 bit machine.
Bfgminer, SGminer, CGminer. So no problem at all. It was only a pain til all deviced were setup for the first time.


Title: Re: Running BTC (SHA256) and LTC(scrypt) on the same machine
Post by: naveennoel on January 30, 2015, 04:47:57 PM
Thanks for your reply.

Is there any process you followed to get the devices up.

For GAW with bfgminer I followed https://jeffmatson.net/configuring-gaw-fury-scrypt-miners/
For Antminer U1 and U2 with cgminer, followed the same procedure, with the exception of using cgminer and Zadig.

Procedure I followed:
1. Unplug all devices
2. install drivers from http://www.silabs.com/products/mcu/pages/usbtouartbridgevcpdrivers.aspx
3. run Zadig and correct the driver (as suggested in many forums)
4. Plug all devices back.
5. run cgminer, bfgminer

If I do this, cgminer works, but bfgdoes not. If I exclude Zadig, bfgminer works, but cgminer does not.


Title: Re: Running BTC (SHA256) and LTC(scrypt) on the same machine
Post by: jawitech on January 30, 2015, 05:15:49 PM
I'm running:

GPU on Sgminer (shouldn't be a problem)
2 BFL ASICs on bfgminer
2 Zeus Scrypt miner on cgminer

Before there were additionally
2 Red Fury's on cgminer
5chip Gridseed's on bfgminer

What does your device overview show? Did you check if there's a problem with the COM ports (probably double usage of a port)?
What's the GAW scrypt device, this one? http://fuk.io/gawminers-fury-13-mhs-asic-scrypt-review-setup-guide-and-unboxing/


Title: Re: Running BTC (SHA256) and LTC(scrypt) on the same machine
Post by: naveennoel on January 31, 2015, 05:41:39 AM
It is not able to list the devices. I checked the Ports in Device Manager and all of them show up there.

Is the Procedure I followed correct? Maybe i am doing the process right.

Did u specify which COM ports to use for sgminer, cgminer and bfgminer or were they set to auto or can u share the command line options for all of them if its ok with you.

Yes its the same GAW script device


Title: Re: Running BTC (SHA256) and LTC(scrypt) on the same machine
Post by: jawitech on February 01, 2015, 03:36:22 AM
It is not able to list the devices. I checked the Ports in Device Manager and all of them show up there.

Is the Procedure I followed correct? Maybe i am doing the process right.

Did u specify which COM ports to use for sgminer, cgminer and bfgminer or were they set to auto or can u share the command line options for all of them if its ok with you.

Yes its the same GAW script device

Yes, it's better to set the COM port in the .bat file. Did you use Zadig for the Gaw devices, after you installed the VCP drivers, too? Or only for the Antminers?


Title: Re: Running BTC (SHA256) and LTC(scrypt) on the same machine
Post by: naveennoel on February 02, 2015, 07:56:44 PM
Ok, thanks.

At first, I d did not use Zadig after I installed the VCP drivers and the GAW device works flawlessly, but the Antminers stopped working. So, then i installed Zadig, after that, the Antminers started working, but the GAW device would not  :(


Title: Re: Running BTC (SHA256) and LTC(scrypt) on the same machine
Post by: jawitech on February 02, 2015, 08:02:21 PM
That seems to be the problem. Zadig is needed for your BTC miners using cgminer. Bfgminer need the VCP drivers. Using Zadig, you have overwritten the VCP drivers, so your Gaw devices can't be found.

Try to install the VCP drivers again. If BTC miners can't be found, use Zadig again but only for the Antminers. Or, use cgminer for the GAW machines, too.
Should work with one of both ways.


Title: Re: Running BTC (SHA256) and LTC(scrypt) on the same machine
Post by: naveennoel on February 03, 2015, 12:32:27 AM
Yes, thanks, I realized that Zadig is only used for the AntMiners. I tried, but how do i tell Zadig, to install only for a particular device. All devices (including GAW) show up as "CP2012 USB to UART Bridge Controller"


Title: Re: Running BTC (SHA256) and LTC(scrypt) on the same machine
Post by: jawitech on February 03, 2015, 03:37:46 AM
I would simply unplug the devices you don't want to change the driver for. Use Zadig and re-plug them after that. In this case they shouldn't show up in Zadig.


Title: Re: Running BTC (SHA256) and LTC(scrypt) on the same machine
Post by: naveennoel on February 05, 2015, 02:41:29 AM
Ok. Sounds logical. Will try this.