Bitcoin Forum

Bitcoin => Hardware => Topic started by: lalakies23 on May 20, 2014, 05:38:27 PM



Title: 20 Port USB Hub Issues with Raspberry PI and Bitfury Twins
Post by: lalakies23 on May 20, 2014, 05:38:27 PM
Hello i've recently bought this hub (Sipolar 20 Port usb2-0 hub)

http://i00.i.aliimg.com/wsphoto/v3/979153532_3/Sipolar-20-port-USB2-0-HUB-USB-HUB-Industrial-grade-HUB.jpg

I have connected it to a raspberry pi. Although when i plug in my 4 bitfury twin usb devices it, it operates for 2 minutes
and then the devices are turned to zombies in the cgminer.


Have you encountered any similar issues? Is it a matter of power drainage? Is it because of Raspberry pi?

Thanks!



The bitfury twin is this

http://www.eyeboot.com/image/cache/data/Product%20Pictures/twinfury/Photo%2026-3-14%201%2036%2055%20pm-800x800.jpg


Title: Re: 20 Port USB Hub Issues with Raspberry PI and Bitfury Twins
Post by: daddyfatsax on May 20, 2014, 05:49:56 PM
It could be the hub is not giving the thumbs enough power. Currently I have 20 Gridseeds (2 x 10 port hubs) and a blade plugged into a 7 port Dlink hub. They are all happily working off of 1 USB port on my pi.


Title: Re: 20 Port USB Hub Issues with Raspberry PI and Bitfury Twins
Post by: lalakies23 on May 20, 2014, 05:52:46 PM
I have used a d-link h4 and then the hub but the same results. Although it seems that it works on a windows version of cgminer.


Title: Re: 20 Port USB Hub Issues with Raspberry PI and Bitfury Twins
Post by: loshia on May 20, 2014, 05:54:44 PM
I have used a d-link h4 and then the hub but the same results. Although it seems that it works on a windows version of cgminer.
Forget about pi
It is sharing Usb irq with Ethernet. for USB mining and have I/o in general pi is pain in the ass due to hardware design


Title: Re: 20 Port USB Hub Issues with Raspberry PI and Bitfury Twins
Post by: daddyfatsax on May 20, 2014, 05:55:53 PM
I have used a d-link h4 and then the hub but the same results. Although it seems that it works on a windows version of cgminer.

You using the same version of cgminer on the pi and windows? Did you compile cgminer yourself on the pi?


Title: Re: 20 Port USB Hub Issues with Raspberry PI and Bitfury Twins
Post by: lalakies23 on May 20, 2014, 05:55:58 PM
What alternative could i use ?


Title: Re: 20 Port USB Hub Issues with Raspberry PI and Bitfury Twins
Post by: daddyfatsax on May 20, 2014, 05:56:26 PM
BFGminer would work.


Title: Re: 20 Port USB Hub Issues with Raspberry PI and Bitfury Twins
Post by: loshia on May 20, 2014, 05:56:48 PM
What alternative could i use ?

Beaglebone I guess or Linux  pc


Title: Re: 20 Port USB Hub Issues with Raspberry PI and Bitfury Twins
Post by: lalakies23 on May 20, 2014, 05:57:14 PM
I have used a d-link h4 and then the hub but the same results. Although it seems that it works on a windows version of cgminer.

You using the same version of cgminer on the pi and windows? Did you compile cgminer yourself on the pi?

I have tried the same version both on windows an rpi yes.


Title: Re: 20 Port USB Hub Issues with Raspberry PI and Bitfury Twins
Post by: lalakies23 on May 20, 2014, 05:57:49 PM
What alternative could i use ?

Beaglebone I guess or pc

Is Beaglebone relieved from these kind of issues?


Title: Re: 20 Port USB Hub Issues with Raspberry PI and Bitfury Twins
Post by: loshia on May 20, 2014, 05:59:01 PM
What alternative could i use ?

Beaglebone I guess or pc

Is Beaglebone relieved from these kind of issues?

I will got one shortly and let you know. But from hardware point of view USB is completely independent from Ethernet  ;)
Ps i am refereeing to bb black


Title: Re: 20 Port USB Hub Issues with Raspberry PI and Bitfury Twins
Post by: CanaryInTheMine on May 20, 2014, 06:12:45 PM
there's an old USB HUB thread with reviews on all kinds of hubs.  you should search the forums to find it.

this particular hub sucks.


Title: Re: 20 Port USB Hub Issues with Raspberry PI and Bitfury Twins
Post by: lalakies23 on May 20, 2014, 06:41:08 PM
I'm now trying again on windows with the latest ver of cgminer and will let you know!


Title: Re: 20 Port USB Hub Issues with Raspberry PI and Bitfury Twins
Post by: lalakies23 on May 20, 2014, 06:57:56 PM
The hub works well for about 20 minutes with cgminer 4.3.0 in Windows.

Now i will try to compile the latest version of cgminer on minepeon and run it from there!


Title: Re: 20 Port USB Hub Issues with Raspberry PI and Bitfury Twins
Post by: alh on May 20, 2014, 07:55:40 PM
Any details on the power supply driving the hub? My recollection is that you should
plan on a minimum of 1A @5V for each BiFury when running at it's normal low clock
speed. I think it can go as high as 1.8A.

A few other debugging thoughts:

- How long will it run with just 1 BiFury plugged in?

- How long with two?

- How long with three?

If shrinking the number of BiFurie's makes things better, think power for the hub.


Title: Re: 20 Port USB Hub Issues with Raspberry PI and Bitfury Twins
Post by: xingqiaoyin on May 20, 2014, 07:58:20 PM
That hub puts out only 0.5A per port.
You should be getting half speed @ 2ghs, imo.
You can't use the hub. Something like orico would work wonders.
Or you could buy eyeboot's hubs they work great up to 49 TFs.


Title: Re: 20 Port USB Hub Issues with Raspberry PI and Bitfury Twins
Post by: Zich on May 21, 2014, 01:33:13 AM
Did you already set " dwc_otg.speed=1 " ?
http://www.raspberrypi.org/forums/viewtopic.php?f=28&t=53832


Title: Re: 20 Port USB Hub Issues with Raspberry PI and Bitfury Twins
Post by: lalakies23 on May 21, 2014, 07:15:27 AM
Any details on the power supply driving the hub? My recollection is that you should
plan on a minimum of 1A @5V for each BiFury when running at it's normal low clock
speed. I think it can go as high as 1.8A.

A few other debugging thoughts:

- How long will it run with just 1 BiFury plugged in?

- How long with two?

- How long with three?

If shrinking the number of BiFurie's makes things better, think power for the hub.

It seems that i will run for much longer with less number of devices.

I think this hub it is defective by design and cannot provide more power to each of the usb than
0.5Amp.
The power supply which is used is 12V DC, 5A. Shall i try it with a stronger power supply?


I may give it a try with dwc_otg.speed=1.


Title: Re: 20 Port USB Hub Issues with Raspberry PI and Bitfury Twins
Post by: lalakies23 on May 21, 2014, 07:25:45 AM
Now i am encountering the following issue.

The raspberry pi hangs and the mining stops after one hour of operation.

Do you have any oppinion regarding this?

Is the  dwc_otg.speed=1 the solution to this problem?




Title: Re: 20 Port USB Hub Issues with Raspberry PI and Bitfury Twins
Post by: goodney on May 21, 2014, 05:00:51 PM
60
It seems that i will run for much longer with less number of devices.

I think this hub it is defective by design and cannot provide more power to each of the usb than
0.5Amp.
The power supply which is used is 12V DC, 5A. Shall i try it with a stronger power supply?


I may give it a try with dwc_otg.speed=1.
If it runs longer with fewer miners then it is almost certainly a hub power problem. 12V*5A = 60W = 3W/port = 600mA/port MAX (assuming 100% efficient power conversion). So it seems that the hub is designed to only deliver 500mA/port.

I doubt a bigger 12V power supply will work as the 12V - 5V conversion in the hub is going to be the limiting factor.


Title: Re: 20 Port USB Hub Issues with Raspberry PI and Bitfury Twins
Post by: lalakies23 on May 22, 2014, 06:06:28 PM
It runs for 24hours with 4 miners without interruption.
If i add 2 more miners raspberry pi freezes after 30~40 minutes of operation.


Title: Re: 20 Port USB Hub Issues with Raspberry PI and Bitfury Twins
Post by: klintay on August 26, 2015, 03:31:59 PM
That hub puts out only 0.5A per port.
You should be getting half speed @ 2ghs, imo.
You can't use the hub. Something like orico would work wonders.
Or you could buy eyeboot's hubs they work great up to 49 TFs.

Yeah I would suggest a couple of these bad boys:

http://www.eyeboot.com/10-port-usb-hub

It can deliver close to 2 amps on 5 of the ports


Title: Re: 20 Port USB Hub Issues with Raspberry PI and Bitfury Twins
Post by: Meech on August 26, 2015, 04:12:03 PM
Those are and have been the best choice but shipping cost was always steep.


Title: Re: 20 Port USB Hub Issues with Raspberry PI and Bitfury Twins
Post by: bmoscato on August 26, 2015, 04:13:50 PM
This thread is over a year old...


Title: Re: 20 Port USB Hub Issues with Raspberry PI and Bitfury Twins
Post by: Meech on August 27, 2015, 03:55:16 AM
This thread is over a year old...
Yes but still relevant. :D


Title: Re: 20 Port USB Hub Issues with Raspberry PI and Bitfury Twins
Post by: klintay on August 29, 2015, 03:16:16 PM
Those are and have been the best choice but shipping cost was always steep.

There was a deal on Amazon before for $35 usd with free shipping but unfortunately to USA only. Its finished at the moment but might be back later...