Post
Topic
Board Hardware
Re: [ANN] Introduction to DualMiner USB (could mine both BTC and LTC)
by
demonmaestro
on 28/02/2014, 02:16:45 UTC
Last question, I swear.  Does anyone else that is running the dualminer-cgminer on linux have a problem when switching to a different pool, and when doing so lose a couple usb miners that will not connect.  For example I am running 16 dualminers, when I switch from pool A close cgminer, load pool B .sh file now only 12 of the dualminers show up.  So I have to unplug all of them from the hubs, run dmesg then plug them all back in, run dmesg now connect again and all 16 show up and start mining.  But when I decide to switch to another pool, not all 16 show up and I have to repeat the above step to get the all online again?
How are you closing your previous pool connection? Pressing 'Q' or just closing the terminal/ctrl+c? I have noticed this but usually when improperly stopping cgminer. When this occurs I just power cycle the hubs/reboot the machine. You could try to make a script that reboots in between switching pools if you want it automated.

Which is better?  I use ctrl+c, thank you for the reply too and all the help.  I will try using Q and report back if that helped.
I recommend 'Q' to safely end the cgminer process before starting a new one. This should prevent DMs from not wanting to restart with another session. You can always run
Code:
ls /dev/ttyUSB*
to make sure that all of your DMs are connected before starting cgminer. Note that for each DM you will have a pair of ttyUSB's. For example with 2 DMs, ls /dev/ttyUSB* would look like /dev/ttyUSB0 /dev/ttyUSB1 /dev/ttyUSB2 /dev/ttyUSB3. So, if you have 10 DMs you should have /dev/ttyUSB0 to /dev/ttyUSB19 listed. Not shutting down cgminer properly can cause DMs to not show up in /dev/ttyUSB*, and therefore not register with cgminer when it is restarted.

your command to show if they are connected is off.
Code:
ls /dev/*USB*
that is the correct one.