Bitcoin Forum

Other => CPU/GPU Bitcoin mining hardware => Topic started by: chek2fire on December 26, 2013, 04:49:34 PM



Title: Why my dlink usb hub cant handle more than two usb erupters?!
Post by: chek2fire on December 26, 2013, 04:49:34 PM
I have seen in this forummany pictures of bitcoin rigs with dlink usb 7 hubs and each of them to handle 5 or 6 usb erupters and the users to write that they dont have any problem with this hub. For that i have get one and i have try to plug in 6 usb arsicminer 333 erupter. The problem is that every time i try to start mining after an hour the 3 of them gone failed using bfgminer 3.8.1 and after a while another one or two gone failed!
I dont know why dlink cant support them because and the ac adapter is plug in and with the technical details it can handle atleast 5 usb erupters.
Thank you for any advice because i am looking for this problem for days without any solution.


Title: Re: Why my dlink usb hub cant handle more than two usb erupters?!
Post by: takagari on December 26, 2013, 05:00:49 PM
Is it powered?

Likely a bad hub.


Title: Re: Why my dlink usb hub cant handle more than two usb erupters?!
Post by: chek2fire on December 26, 2013, 05:11:37 PM
yes it is powered? I buy it new. You think that i must return it?


Title: Re: Why my dlink usb hub cant handle more than two usb erupters?!
Post by: Bobs Yerunkle on December 26, 2013, 06:27:53 PM
As previously mentioned, returning the hub is probably the simplest solution.

These are steps I've taken when having issues with hubs and USB Block Erupters (UBE):

If Windows:
---If BFG: unplug all usb devices. Uninstall and reinstall the silabs driver http://www.silabs.com/products/mcu/pages/usbtouartbridgevcpdrivers.aspx)
---If CG then unplug and replug the UBE and reinstall WinUSB drivers using zadig.exe. This process is outlined in the GETTING STARTED WITH USB ASICS section of this document https://raw.github.com/ckolivas/cgminer/master/ASIC-README (https://raw.github.com/ckolivas/cgminer/master/ASIC-README)

In addition, if using Windows then devcon.exe and a vbscript (that I can provide but don't have access to at the moment) will clean up unused USB devices. This may just make me feel better versus actually doing anything but the list of unused devices from plugging/unplugging can get rather long.

Start with only one USB Block Erupter and test for stability for an hour.

Blast a fan on the UBE to rule out heat issues
Try a different computer
Try a different USB cable
Try different USB ports on the PC (I have seen weird issues with USB 3.0 ports with some hubs)
Try each port on the hub
Try a different power supply
Try a different miner or different version of your current miner
Check the UBE to USB port fit, sometimes there is wiggle that can cause disconnects or bad data transfer.


Personally I would not buy any more D-link hubs but plenty of people seem to have had good results.



Title: Re: Why my dlink usb hub cant handle more than two usb erupters?!
Post by: chek2fire on December 26, 2013, 06:33:38 PM
I work the same usb plugged in dektop each one in its own usb and run them for days without a problem. I am using linux kubuntu 13.10 and the latest version of bfgminer. The problems starts when i try to use dlink


Title: Re: Why my dlink usb hub cant handle more than two usb erupters?!
Post by: chek2fire on December 26, 2013, 06:40:46 PM
As previously mentioned, returning the hub is probably the simplest solution.

These are steps I've taken when having issues with hubs and USB Block Erupters (UBE):

If Windows:
---If BFG: unplug all usb devices. Uninstall and reinstall the silabs driver http://www.silabs.com/products/mcu/pages/usbtouartbridgevcpdrivers.aspx)
---If CG then unplug and replug the UBE and reinstall WinUSB drivers using zadig.exe. This process is outlined in the GETTING STARTED WITH USB ASICS section of this document https://raw.github.com/ckolivas/cgminer/master/ASIC-README (https://raw.github.com/ckolivas/cgminer/master/ASIC-README)

In addition, if using Windows then devcon.exe and a vbscript (that I can provide but don't have access to at the moment) will clean up unused USB devices. This may just make me feel better versus actually doing anything but the list of unused devices from plugging/unplugging can get rather long.

Start with only one USB Block Erupter and test for stability for an hour.

Blast a fan on the UBE to rule out heat issues
Try a different computer
Try a different USB cable
Try different USB ports on the PC (I have seen weird issues with USB 3.0 ports with some hubs)
Try each port on the hub
Try a different power supply
Try a different miner or different version of your current miner
Check the UBE to USB port fit, sometimes there is wiggle that can cause disconnects or bad data transfer.


Personally I would not buy any more D-link hubs but plenty of people seem to have had good results.



I have try many steps from above. I think i will try to change the power supply. Is the last think i didnt try. What usb 2 you will suggest?


Title: Re: Why my dlink usb hub cant handle more than two usb erupters?!
Post by: Bobs Yerunkle on December 26, 2013, 07:13:48 PM
I have try many steps from above. I think i will try to change the power supply. Is the last think i didnt try. What usb 2 you will suggest?

If you have any 2.1x5.5mm Male DC jacks you can power directly from the 5v from your PC PSU  (for example http://www.amazon.com/gp/product/B0058RLD9C (http://www.amazon.com/gp/product/B0058RLD9C) or salvaged from an unused wall wart)

Hubs I've used:
Anker hubs -  the least problematic for me but also the most expensive.
Rosewill 10 port - worked fine for ~7 without power modifications
Dlink - they are pretty but were problematic for me
If you like to solder... I modified one of these cheapo hubs http://www.ebay.com/itm/New-10-Port-High-Speed-USB-2-0-Hub-Expansion-Power-Adapter-for-Notebook-PC-/350961869658 (http://www.ebay.com/itm/New-10-Port-High-Speed-USB-2-0-Hub-Expansion-Power-Adapter-for-Notebook-PC-/350961869658). It has been behaving so far (running about a week) with the ports powered directly from the 5v (https://bitcointalk.org/index.php?topic=241652.msg3343826#msg3343826 (https://bitcointalk.org/index.php?topic=241652.msg3343826#msg3343826)).

As you have experienced USB hub behavior can vary from system to system.

Have you tried searching the forum for your particular configuration, ie people using UBEs with Kubuntu?

Returning the hub is probably the best option (if it is an option).

 


Title: Re: Why my dlink usb hub cant handle more than two usb erupters?!
Post by: chek2fire on December 26, 2013, 07:22:08 PM
thx a lot for the info. I will try and with windows to see if the problem is with linux and hub because the usb with linux as i said is not a problem at all. I use them for days without any problem


Title: Re: Why my dlink usb hub cant handle more than two usb erupters?!
Post by: chek2fire on December 26, 2013, 08:51:36 PM
Ok so far i have done some progress to my problem. First i try to run them in windows with the latest version of cgminer. I have left it for one hour and no usb has disabled! Aftter i have log in to linux and i have run cgminer not bfgminer the latest version of it. I am now 40 minutes and not a single usb have disabled!
The bad think is that cgminer didnt support nanofury and because i have one nanonufry usb i acnt use this. No i have compile the last bfgminer and i will run it to see the results.
I see that there is a patch for nanofury in cgminer but i dont know where i can find it and how to use it.


Title: Re: Why my dlink usb hub cant handle more than two usb erupters?!
Post by: chek2fire on December 26, 2013, 09:40:33 PM
The problem is with bfgminer in linux and how it can handle usb hub there. I have test it and with the latest version and every time i try to run it after a while i have dc from usb erupters
The only stable is cgminer but i dont know how can i run nanofury in it


Title: Re: Why my dlink usb hub cant handle more than two usb erupters?!
Post by: Bobs Yerunkle on December 26, 2013, 10:48:25 PM
The problem is with bfgminer in linux and how it can handle usb hub there. I have test it and with the latest version and every time i try to run it after a while i have dc from usb erupters
The only stable is cgminer but i dont know how can i run nanofury in it

You can probably run both bfgminer and cgminer and then explicitly define which miner uses which device.

I do something similar on Windows with SHA-256 and scrypt (which a different scenario) but if the processes are isolated and not looking at the same hardware it may work.

You can try toying with --usb and -d for cgminer (https://raw.github.com/ckolivas/cgminer/master/README (https://raw.github.com/ckolivas/cgminer/master/README)) and --device for bfgminer (https://raw.github.com/luke-jr/bfgminer/bfgminer/README (https://raw.github.com/luke-jr/bfgminer/bfgminer/README)). I didn't see a --usb for bfgminer but I just glanced briefly, there might be something similar.

I had issues with ArchLinux and the Dlink hub. I think I tried both bfgminer and cgminer. My Linux skills are marginal though so I would be willing to take responsibility for the hub not functioning in that case.




Title: Re: Why my dlink usb hub cant handle more than two usb erupters?!
Post by: chek2fire on December 26, 2013, 11:07:19 PM
that means that i can work both of programmes and use the same pool same account at the same time? If i split my mining power in two programmes i will not have less mining results?


Title: Re: Why my dlink usb hub cant handle more than two usb erupters?!
Post by: Bobs Yerunkle on December 27, 2013, 12:31:50 AM
that means that i can work both of programmes and use the same pool same account at the same time? If i split my mining power in two programmes i will not have less mining results?

If you are submitting shares to the same pool it should not have an impact. Each miner application will take the valid shares created by the miner hardware it has been assigned and submit to the pool. You will still have the same hash rate it will just be split and transmitted from the two applications. I suppose it is possible that this would increase network traffic ever so slightly but I would think it a negligible amount.

It's a convoluted way to go about it but might work until you can find information on Google or the forum about your specific issue.

This still circles back to the best option being to return the item, No?


Title: Re: Why my dlink usb hub cant handle more than two usb erupters?!
Post by: Unacceptable on December 27, 2013, 12:53:14 AM
Read up on this thread  ;)

https://bitcointalk.org/index.php?topic=253749.0

Lots of other info there too.

Most USB hubs are underpowered,even with the wallwort they came with.

You may need something like this:

http://www.ebay.com/itm/TDK-Lambda-HWS100-5-A-Single-Output-Industrial-Power-Supply-5V-20-Amp-100W-/151111362178?pt=LH_DefaultDomain_0&hash=item232ef06682

Then make your cables or cut the end off your wallwort & solder/buttconnect or just connect it to the PSU.Be careful of POLARITY,+ or - in the center.Use a volt meter in DC mode to find out.

Good luck!!


Title: Re: Why my dlink usb hub cant handle more than two usb erupters?!
Post by: chek2fire on December 27, 2013, 12:55:30 AM
I am afraid that and the anker will have the same problem with bfgminer. I think the problem is how bfgminer handle external usb hub in linux. The solution to run two programmes is the best for now until cgminer add support for nanofury.
Thank you a lot for your advice :)