Bitcoin Forum

Other => CPU/GPU Bitcoin mining hardware => Topic started by: CrazyGuy on October 15, 2012, 10:45:13 PM



Title: Raspberry pi usb device limitation?
Post by: CrazyGuy on October 15, 2012, 10:45:13 PM
So my raspberry pi is coming in soon and I'm wondering if I'll have any issues mining with 9 bfl singles. I read somewhere that there was a 7 device limit people were running into. Is that true? If so, is it a memory limitation? Apparently all existing and future orders have been bumped from 256mb to 512mb.


Title: Re: Raspberry pi usb device limitation?
Post by: Zeek_W on October 15, 2012, 10:58:48 PM
You can always increase the power to the usb ports with this mod:
http://theiopage.blogspot.com.au/2012/06/increasing-raspberry-pis-usb-host.html

not sure about a device limit, but it could be related. - could you link me to an article please?

Also note that the Ethernet is ethernet to USB to the SOC.


Title: Re: Raspberry pi usb device limitation?
Post by: CrazyGuy on October 15, 2012, 11:13:05 PM
You can always increase the power to the usb ports with this mod:
http://theiopage.blogspot.com.au/2012/06/increasing-raspberry-pis-usb-host.html

not sure about a device limit, but it could be related. - could you link me to an article please?

Also note that the Ethernet is ethernet to USB to the SOC.

Don't remember where I read it, no official article, just hearsay. I have a powered 10 port usb hub so if it's a power issue I should be in good shape.


Title: Re: Raspberry pi usb device limitation?
Post by: jborkl on October 16, 2012, 01:27:14 AM
I have a raspberry pi , and have a card for both xbmc and debian. The device is awesome, especially for xbmc.

I would not trust it to mine with 6 ghash of equipment, it is not stable enough for that.  They are prone to overheat and turn off, also there is a lan bug in my rev 2. Drops randomly

I also have a 512 coming from element 14


Title: Re: Raspberry pi usb device limitation?
Post by: Zeek_W on October 16, 2012, 01:34:20 AM

I would not trust it to mine with 6 ghash of equipment, it is not stable enough for that.  They are prone to overheat and turn off, also there is a lan bug in my rev 2. Drops randomly

yeah I have heard of this issue before - you aren't the only one  >:(


Title: Re: Raspberry pi usb device limitation?
Post by: jborkl on October 16, 2012, 01:44:29 AM
Xbmc, no lan, Burned every dvd to a Toshiba external 750, programmed my harmony to act as the remote

Bought the mpeg2 lic, is awesome.  Best use for it I think


Title: Re: Raspberry pi usb device limitation?
Post by: CrazyGuy on October 16, 2012, 05:05:47 AM
I have a raspberry pi , and have a card for both xbmc and debian. The device is awesome, especially for xbmc.

I would not trust it to mine with 6 ghash of equipment, it is not stable enough for that.  They are prone to overheat and turn off, also there is a lan bug in my rev 2. Drops randomly

I also have a 512 coming from element 14

That's disappointing, I was hoping to use it for my BFL equipment when I shut off my dual 7970 machine for good.


Title: Re: Raspberry pi usb device limitation?
Post by: jborkl on October 16, 2012, 05:10:36 AM
Well I will be happy to let you know how the 512 does.

They should have called it rev c, looks much improved.

I should have the new one in 2 weeks.


Title: Re: Raspberry pi usb device limitation?
Post by: Zeek_W on October 16, 2012, 05:12:46 AM
I have a raspberry pi , and have a card for both xbmc and debian. The device is awesome, especially for xbmc.

I would not trust it to mine with 6 ghash of equipment, it is not stable enough for that.  They are prone to overheat and turn off, also there is a lan bug in my rev 2. Drops randomly

I also have a 512 coming from element 14

That's disappointing, I was hoping to use it for my BFL equipment when I shut off my dual 7970 machine for good.

maybe time to search for some kind of MicroATX motherboard - I know I am


Title: Re: Raspberry pi usb device limitation?
Post by: tenzor on October 16, 2012, 07:03:08 AM
I have Pi, running 12 Cairnsmore1 (6usb). There are USB devices limit. 14 usb devices and probably usb hub limitation (2 hubs?). Also, it's very unstable with borads usb-serial converters, hanging randomly, so I switch usb speed to Full Speed. And turned off ethernet, since I use usb wireless. It works so far, 20+ hours. Locally connected keyboard respond very slowly when mining started. Looks like to much usb traffic and buggy usb driver. SSH works good.
Also, first hub (http://www.amazon.com/Satechi-Power-Adapter-Control-Switches/dp/B0051PGX2I/ref=pd_ybh_7) was backpowering Pi, so voltage on Pi drops below 4.70v.
RPi 1 rev, 256, running raspbian with last updates.


Title: Re: Raspberry pi usb device limitation?
Post by: BR0KK on October 16, 2012, 07:55:19 AM
i have a pi and thought it would make a decent miner base......

But its not!

The Pi in its current state is a real bitch when it comes to USB connections. I hardly get a single Ztex board working there for a few hours. Then out of no reason the pi looses the device (including the hub) or freezes .....
A hard reset is then necessary to get it working again:/



Title: Re: Raspberry pi usb device limitation?
Post by: dani on October 16, 2012, 12:30:36 PM
So using an asic will probably not work because of too much traffic via usb? Thats pretty bad..


Title: Re: Raspberry pi usb device limitation?
Post by: jojo69 on October 16, 2012, 12:44:01 PM
pi development is proceeding rather quickly, patience people, its 3 BTC


Title: Re: Raspberry pi usb device limitation?
Post by: Gatorhex on October 16, 2012, 02:06:02 PM
It is an IRQ memory address problem, I think, not a powered USB problem.

There were only enough memory addresses reserved for 8 USB devices and it uses 1 of those for networking, leaving you with a max of 7 that can talk at the same time.

You seem to be able to plug more than 8 devices in but they will be dropped and stop communicating if the USB/CPU gets too busy.

I'm going to use a netbook instead.


Title: Re: Raspberry pi usb device limitation?
Post by: dani on October 16, 2012, 02:13:21 PM
but what about the bandwith needed for an asic? I dont know anything about it, obviously nobody does, but im curious.
It seems my 1200mh/s server (4 gpus) uses less than 1,5 KB/s on wlan traffic. I dont think an external miner, like an asic, will generate anything above that traffic on an usb port. Of course the miner would also run on 1200mh/s to compare.

Anybody can give me a good guess what problems there might be using several asics on a pi?


Title: Re: Raspberry pi usb device limitation?
Post by: AmDD on October 16, 2012, 02:20:21 PM
I had problems with my rpi and 1 ModMiner Quad. it would mine for a few hours then just stop... On the other hand I didnt play with it very long to find a solution or even what the problem was. Could have been the way I set it up... Need to dig it back out and try again.


Title: Re: Raspberry pi usb device limitation?
Post by: Gatorhex on October 16, 2012, 02:25:26 PM
Here you go, I found this..

"The Foundation has discovered that the controller and its driver expect realtime response from the ARM core, and if Linux's non-realtime scheduling doesn't respond in 1 ms, a split transaction USB event can be dropped. Not surprisingly, this occurs regularly and produces lost mouse clicks, stuck keyboard keys, etc.."

"This USB core had so many problem that we end up making it work only in full speed mode (and not high speed one). As you said split transaction don't work well (in our case we had seen irq storm that make linux freeze)."

http://hardware.slashdot.org/story/12/08/24/2228251/serious-problems-with-usb-and-ethernet-on-the-raspberry-pi

Broadcom, enough said!  ::)


Title: Re: Raspberry pi usb device limitation?
Post by: CrazyGuy on October 17, 2012, 12:23:17 AM
RS components shipped my 512mb today, maybe they've fixed some of the USB issues with this revision. If not I guess I'll have another toy to play with.


Title: Re: Raspberry pi usb device limitation?
Post by: Zeek_W on October 17, 2012, 12:41:24 AM
RS components shipped my 512mb today, maybe they've fixed some of the USB issues with this revision. If not I guess I'll have another toy to play with.

Keep us updated!


Title: Re: Raspberry pi usb device limitation?
Post by: Gatorhex on October 17, 2012, 01:51:31 AM
lol Raspberry Pi banned the guy for pointing out the faults with Broadcom's USB.

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=63&t=15320&sid=26ec7c5d29579e1ed13469d1e104bba7&start=25

Bid odd that a charity would not take criticism well (so I dug deeper!)...

...well it becomes clear when you realise the project co-founder is employed by Broadcom!

http://en.wikipedia.org/wiki/Raspberry_Pi_Foundation

Come on! How is that for a conflict of interest! No wonder it uses problematic Broadcom parts!


Title: Re: Raspberry pi usb device limitation?
Post by: FLHippy on October 17, 2012, 01:55:46 AM

I would not trust it to mine with 6 ghash of equipment, it is not stable enough for that.  They are prone to overheat and turn off, also there is a lan bug in my rev 2. Drops randomly

yeah I have heard of this issue before - you aren't the only one  >:(

There was a release on around september 19th which was supposed to improve on this issue. Has anyone been able to verify a fix with the latest wheezy?


Title: Re: Raspberry pi usb device limitation?
Post by: jborkl on October 17, 2012, 02:06:48 AM
No fix for me.. Still drops. It's okay though xbmc still is awesome

Got a email, new 512 shipped from element 14


Title: Re: Raspberry pi usb device limitation?
Post by: RaTTuS on October 17, 2012, 08:23:05 AM
lol Raspberry Pi banned the guy for pointing out the faults with Broadcom's USB.

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=63&t=15320&sid=26ec7c5d29579e1ed13469d1e104bba7&start=25

Bid odd that a charity would not take criticism well (so I dug deeper!)...

...well it becomes clear when you realise the project co-founder is employed by Broadcom!

http://en.wikipedia.org/wiki/Raspberry_Pi_Foundation

Come on! How is that for a conflict of interest! No wonder it uses problematic Broadcom parts!
the USB is not a broadcom part that is bought in - and is a POS
all forums will have the troll issues and the more people you get the more of a problem it is


Title: Re: Raspberry pi usb device limitation?
Post by: Gatorhex on October 17, 2012, 12:19:48 PM
Quote
the USB is not a broadcom part that is bought in
Splitting hairs, if it's Broadcom's SoC (System on a Chip) it's their problem for putting it in there.

If there's a fundamental problem with the USB people need to be made aware of it before purchase
and not sent on a wild goose chase to change their power supply after purchase.

For some people USB may not be critical to their application, and still buy it, but for Bitcoin mining it is.
Pi sellers need to point out the USB flaws near the "buy" button so consumers are not mislead.


Title: Re: Raspberry pi usb device limitation?
Post by: Zeek_W on October 17, 2012, 12:34:35 PM
Quote
the USB is not a broadcom part that is bought in
Splitting hairs, if it's Broadcom's SoC (System on a Chip) it's their problem for putting it in there.

If there's a fundamental problem with the USB people need to be made aware of it before purchase
and not sent on a wild goose chase to change their power supply after purchase.
(A typical ploy one could use to run out the consumers right to return goods under distance selling regulations).

For some people USB may not be critical to their application, and still buy it, but for Bitcoin mining it is.
Pi need to point out the USB flaws near the "buy" button so consumers are not mislead.

I'm on the fence with these issues.

On one side:
Most uses for the Pi aren't too power intensive. My initial ideas for a use are like others (XMBC or stuff with the GPIO ports)

On the other:
If they state certain specs, friggen deliver to those standards!


Title: Re: Raspberry pi usb device limitation?
Post by: HolyScott on October 18, 2012, 02:33:49 AM
I missed the early orders for the 512, I am on the email notify list.


Title: Re: Raspberry pi usb device limitation?
Post by: jborkl on October 18, 2012, 02:38:51 AM
i get mine tomorrow at work, hope ups shows up early.

I put my sd card in my wallet so it is with me at all times! just have to a find a hdmi

My New 512 does not suffer from lan bug


Title: Re: Raspberry pi usb device limitation?
Post by: CrazyGuy on October 20, 2012, 03:25:50 AM
i get mine tomorrow at work, hope ups shows up early.

I put my sd card in my wallet so it is with me at all times! just have to a find a hdmi

My New 512 does not suffer from lan bug

How long have you had your 512? Are you mining with it? I'm still hopeful I'll still be able to use mine with my singles.


Title: Re: Raspberry pi usb device limitation?
Post by: jborkl on October 20, 2012, 04:02:29 AM
Got it yesterday. Got my mpeg2 lic today.

A little bit of trouble with xbmc 5,but I got the nightly build installed

Got the keyboard double press bug now


Title: Re: Raspberry pi usb device limitation?
Post by: FLHippy on October 20, 2012, 02:54:23 PM
Got it yesterday. Got my mpeg2 lic today.

A little bit of trouble with xbmc 5,but I got the nightly build installed

Got the keyboard double press bug now

keyboard double press bug?

I haven't had this problem at all, can you elaborate?


Title: Re: Raspberry pi usb device limitation?
Post by: Gatorhex on October 20, 2012, 04:01:13 PM
Quote
keyboard double press bug?

I haven't had this problem at all, can you elaborate?

It's caused by the USB issues, talked about earlier in the thread, you may not notice it until the thing gets busy and starts queuing requests >1ms.

Giving the USB processes realtime priority on the CPU, and everything else a lower priority, is probably the best solution they can come up with for this mess.


Title: Re: Raspberry pi usb device limitation?
Post by: jborkl on October 20, 2012, 04:08:46 PM
Got it all worked out, working fine now.

This was more of a challenge than xbmc 4


Title: Re: Raspberry pi usb device limitation?
Post by: CrazyGuy on October 21, 2012, 02:35:52 AM
Got it all worked out, working fine now.

This was more of a challenge than xbmc 4

What did you figure out? Want to make sure I'm ready when mine comes in.


Title: Re: Raspberry pi usb device limitation?
Post by: jborkl on October 21, 2012, 04:13:44 AM
Putty does not work, I am sure it can be fixed easily.

Eternal bootloop-says "relax xbmc will resume"  does not.  Hit escape and logged in as pi , raspberry. 

Unplugged usb devices and so on.

How I fixed bootloop- new ip address for some odd reason fixed it.

Text on the side of the screen when playing a movie in the black bars. Fixed it by doing video calibration(don't really understand why that fixed it either).

Double press error, booted up with mce keyboard plugged in. Ir receiver, no usb keyboard.


Title: Re: Raspberry pi usb device limitation?
Post by: nick0016 on October 21, 2012, 06:28:47 AM
The USB problem is related to all USB devices.

For me removing the vc++ power from the USB and using seperate (USB powered hub) power adaptor fixed it.

Also; the Raspberry pi itself needs a good stable power supply or the board will crash random, especially under high load...


Title: Re: Raspberry pi usb device limitation?
Post by: CrazyGuy on October 21, 2012, 01:57:52 PM
Are you saying you snipped the vcc power going from the powered hub so you don't blow the fuse?


Title: Re: Raspberry pi usb device limitation?
Post by: nick0016 on October 21, 2012, 03:40:37 PM
snipped the vc++ power from the USB connector on the board.
This way you will indeed not blow up the fuse but also prevents current leaked back into the board from the USB powered hub which will lead to crashes...


Title: Re: Raspberry pi usb device limitation?
Post by: jborkl on October 21, 2012, 03:41:54 PM
New ones have no fuses. I use a powered hub and 5v 1000 ma

I have no problem as I said earlier one it got past the bugs of xbmx5


Title: Re: Raspberry pi usb device limitation?
Post by: CrazyGuy on October 21, 2012, 04:48:29 PM
snipped the vc++ power from the USB connector on the board.
This way you will indeed not blow up the fuse but also prevents current leaked back into the board from the USB powered hub which will lead to crashes...
Why not just snip it in the USB cord?


Title: Re: Raspberry pi usb device limitation?
Post by: iongchun on October 22, 2012, 12:39:46 PM
i have a pi and thought it would make a decent miner base......

But its not!

The Pi in its current state is a real bitch when it comes to USB connections. I hardly get a single Ztex board working there for a few hours. Then out of no reason the pi looses the device (including the hub) or freezes .....
A hard reset is then necessary to get it working again:/

Hi BR0KK,
Have you tried Raspbian "wheezy", the new recommended Debian based distribution optimized for RPi?
It seems more stable than Debian "squeeze", mining with BTCMiner on RPi for more than 1 days without hang is a new record to me  :)

I uploaded a version of BTCMiner with USB libraries compiled on Raspbian:
Latest released version: https://www.dropbox.com/s/qc1fcgy18dp7nf8/ZtexBTCMiner-120703-raspbian.jar
Test version: https://www.dropbox.com/s/i3boafmrvp5l886/ZtexBTCMiner-121017-raspbian.jar


Title: Re: Raspberry pi usb device limitation?
Post by: BR0KK on October 23, 2012, 07:24:02 PM
Tried every release. Nothing works for me ;(


Title: Re: Raspberry pi usb device limitation?
Post by: hardcore-fs on October 24, 2012, 03:28:25 AM
It is not just a USB issue.

If you look at the chip infrastructure (like many devices now), the USB mesh is used for routing other services.
In this case Ethernet.
Since it is cheaper to design and implement an Ethernet->USB device, than a CPU->Ethernet chip (far more market)
Many manufacturers do the same.

Unfortunately if your USB mesh goes tits up then so does everything else connected to the mesh.
The issue appears to be related to the (USB) chip needing to be run using RTOS rather than a scheduling OS.
Since Linux is a scheduling OS, it generally does not run well when a particular chip DEMANDS to be serviced at exactly the right time.


The  USB chip DEMANDS to be serviced and if it does not get its way, it tells the CPU to sod off.

That appears to be the issue they have.

HC


Title: Re: Raspberry pi usb device limitation?
Post by: nick0016 on October 24, 2012, 01:40:28 PM
Why not just snip it in the USB cord?

Easier and faster than breaking my USB cord ;)


Title: Re: Raspberry pi usb device limitation?
Post by: BR0KK on October 24, 2012, 05:31:29 PM
That didn't help for long... The device locks up On a random base.
I might use the pi for something else :)


Title: Re: Raspberry pi usb device limitation?
Post by: SLok on October 24, 2012, 10:24:48 PM
Thanks all for your efforts and sharing them. Just bought an msi wind netbook for €60. I don't think I'm going to get a RPi up and running stable enough for mining, at least not at this moment.


Title: Re: Raspberry pi usb device limitation?
Post by: AmDD on October 24, 2012, 11:07:14 PM
Thanks all for your efforts and sharing them. Just bought an msi wind netbook for €60. I don't think I'm going to get a RPi up and running stable enough for mining, at least not at this moment.

I agree, I originally bought 2 rpi's just for mining but after the issues I had and issues I read about from you all I changed my mind. I have an old laptop that's got 4 USB ports, a decent battery and it only uses 25 watts. I'm sure I can get it below at least 20 by turning off wifi and the screen. This will be more reliable and have a battery backup, plus only cost me $15 a year vs the rip @ $6 a year.


Title: Re: Raspberry pi usb device limitation?
Post by: ChipGeek on October 25, 2012, 12:12:24 AM
My RasPi with one BFL Single has been mining perfectly for ~ 4 weeks now.  One typical problem with the RaspPi is the input power.  Most 5V adapters aren't really up to the job.  I have a 5.25V 1A power adapter that is rock solid.  I bought it here:
http://adafruit.com/products/501 (http://adafruit.com/products/501)

I also like their case:
http://adafruit.com/products/859 (http://adafruit.com/products/859)

Disclaimer: I have no connection with them other than being a happy customer.

Edit:  I understand that there is likely a problem with the USB interface if using many mining devices.  I just wanted to point out that it works fine with one.  I'm hoping it will also work perfectly with 1 or 2 ASIC devices when they become available.


Title: Re: Raspberry pi usb device limitation?
Post by: vitruvio on October 25, 2012, 08:25:24 PM
I hope my Rpi can manage my only Little Single I've preorder.

Regards


Title: Re: Raspberry pi usb device limitation?
Post by: CrazyGuy on November 07, 2012, 02:35:02 AM
So my 512mb Pi came in yesterday. I set it up today and I've been mining with 1 BFL single for the past hour with no issue. I'm going to let it go a little longer then throw 8 more at it.

- CGIMiner 2.9.1 Stratum mining on Slush
Mem allocation:
-16mb GPU
-498mb RAM
Ethernet
No display out
No Keyboard
No Mouse

I'll let ya'll know how it goes.


Title: Re: Raspberry pi usb device limitation?
Post by: CrazyGuy on November 07, 2012, 04:59:30 AM
Well, that was disappointing. Seemed promising but with 1 BFL Single, the Pi crapped out after a few hours.


Title: Re: Raspberry pi usb device limitation?
Post by: quasarbtc on November 07, 2012, 05:54:49 AM
Well, that was disappointing. Seemed promising but with 1 BFL Single, the Pi crapped out after a few hours.

Disappointing. Any idea as to the source of the problem?


Title: Re: Raspberry pi usb device limitation?
Post by: Berni on November 07, 2012, 10:35:23 AM
Well, that was disappointing. Seemed promising but with 1 BFL Single, the Pi crapped out after a few hours.

Perhaps a problem with the cgminer version?
Is there a stable version that supports the BFL Single?


Title: Re: Raspberry pi usb device limitation?
Post by: psilan on November 07, 2012, 10:58:43 AM
Ah that is disappointing :(.
Tried using different mining software?

My single is about to arrive. I have 2 Pi's ready for ASIC....dream on I think.


Title: Re: Raspberry pi usb device limitation?
Post by: Berni on November 07, 2012, 01:08:59 PM
I have 2 Pi's ready for ASIC....dream on I think.

I hope too.
My Problem is i can't test, because i have only GPUs, no FPGA or something else.

But a few Raspberry PI  ;D


Title: Re: Raspberry pi usb device limitation?
Post by: CrazyGuy on November 08, 2012, 05:20:53 AM
Well, that was disappointing. Seemed promising but with 1 BFL Single, the Pi crapped out after a few hours.

Perhaps a problem with the cgminer version?
Is there a stable version that supports the BFL Single?


I haven't had time to research it but I'm sure it has something to do with the USB COM issues plaguing the Pi. I was actually very hopeful as it was running perfectly for 3 hours, then it just shut off.


Title: Re: Raspberry pi usb device limitation?
Post by: ChipGeek on November 08, 2012, 06:32:02 AM
Make sure you have a really good 5V supply.  MANY people have reported having problems with their RPi and the problems have gone away with a better supply.  I use a 5.25V supply from Adafruit and run a BFL Single on cgminer for multiple weeks at a time.

http://www.adafruit.com/products/501 (http://www.adafruit.com/products/501)


Title: Re: Raspberry pi usb device limitation?
Post by: psilan on November 16, 2012, 11:13:26 PM
I have a 512 and a 256. BFL single should arrive on Monday.

Anybody want me to try anything when I set this up?


Title: Re: Raspberry pi usb device limitation?
Post by: crazyates on November 17, 2012, 03:16:04 AM
Would this USB/Ethernet limitation extend beyond the Rpi? I got a MK802 on the way, and while it's got wifi, I was thinking about a USB/Ethernet adapter.


Title: Re: Raspberry pi usb device limitation?
Post by: phr33 on November 17, 2012, 10:57:54 AM
To summarize USB usage on RPi:

  • Check your supplied voltage! Both PSU and cable must be good! http://elinux.org/File:RPI_Test_Points.JPG
  • Use powered USB hub


Title: Re: Raspberry pi usb device limitation?
Post by: hardcore-fs on November 17, 2012, 11:03:13 PM
To summarize USB usage on RPi:

  • Check your supplied voltage! Both PSU and cable must be good! http://elinux.org/File:RPI_Test_Points.JPG
  • Use powered USB hub

... actually this should be a pre-pre- warning for those companies attempting to power  'miners' off the USB ports.


Title: Re: Raspberry pi usb device limitation?
Post by: CrazyGuy on November 18, 2012, 08:05:25 PM
To summarize USB usage on RPi:

  • Check your supplied voltage! Both PSU and cable must be good! http://elinux.org/File:RPI_Test_Points.JPG
  • Use powered USB hub

... actually this should be a pre-pre- warning for those companies attempting to power  'miners' off the USB ports.


Current BFL singles don't draw any power from usb so I'm not sure why that would matter. By the way guys, Ben's outlet has the Motorola Droid Bionic Lapdock on sale for $49 today. I picked one up and I'm going to turn my pi into a cheap laptop. While the $499 list price is bull, they usually go for around $60 used so pretty good deal.

http://www.bensoutlet.com/products/motorola-droid-bionic-lapdock


Title: Re: Raspberry pi usb device limitation?
Post by: psilan on November 19, 2012, 05:05:43 AM
I have my BFL single flying on my Pi. Just one though.
Didn't work so well unless I got a better USB charger to supply power.


Title: Re: Raspberry pi usb device limitation?
Post by: CrazyGuy on November 19, 2012, 06:38:25 PM
I have my BFL single flying on my Pi. Just one though.
Didn't work so well unless I got a better USB charger to supply power.
When you say it didn't work so well with a bad power supply what happened? Did it work for a while then power off like mine? I'm not opposed to trying again with a better PS, but I've got more than one and I don't want to waste my time if there are still Com issues.


Title: Re: Raspberry pi usb device limitation?
Post by: psilan on November 19, 2012, 07:02:55 PM
I have my BFL single flying on my Pi. Just one though.
Didn't work so well unless I got a better USB charger to supply power.
When you say it didn't work so well with a bad power supply what happened? Did it work for a while then power off like mine? I'm not opposed to trying again with a better PS, but I've got more than one and I don't want to waste my time if there are still Com issues.

I would say the USB/Network was failing.
Using wireless USB or network port it would become unpingable. I would have to power cycle. The Pi would still be on.


Title: Re: Raspberry pi usb device limitation?
Post by: hardcore-fs on November 20, 2012, 02:14:47 AM
I have my BFL single flying on my Pi. Just one though.
Didn't work so well unless I got a better USB charger to supply power.
When you say it didn't work so well with a bad power supply what happened? Did it work for a while then power off like mine? I'm not opposed to trying again with a better PS, but I've got more than one and I don't want to waste my time if there are still Com issues.

I would say the USB/Network was failing.
Using wireless USB or network port it would become unpingable. I would have to power cycle. The Pi would still be on.

sounds like the hangup issue of the USB... Since the Networking infrastructure WIFI is routed via the same protocol.

It is something that pisses me off, if you look at MANY of the WIFI/Network chips, they state they are 10/100 'compatible'
Yes they ARE.... BUT what they DON'T tell you is that they then interface it to a USB V1.0 core(cheaper IP), before bringing it to the outside of the Network/USB interface chip, which means you can get about 5mbs out of a 100Base before you bottle neck the chips.

(this is NOT the RPi issue, its something related to the shitty little cheap USB pluggable devices for $5.00)

So you have an ARM/cortex device capable of shit hot processing, BUT then the network is tied to 5mbs with some shittly little Asian chip.
Really you are fucking yourself before you start.., ESP. if you are on a hub.



Title: Re: Raspberry pi usb device limitation?
Post by: Fcx35x10 on November 21, 2012, 06:36:16 PM
i received notice on my 512 RPI shipment yesterday :P

i'm curious to test my MMQ with the RPI

I have my BFL single flying on my Pi. Just one though.
Didn't work so well unless I got a better USB charger to supply power.
When you say it didn't work so well with a bad power supply what happened? Did it work for a while then power off like mine? I'm not opposed to trying again with a better PS, but I've got more than one and I don't want to waste my time if there are still Com issues.

I would say the USB/Network was failing.
Using wireless USB or network port it would become unpingable. I would have to power cycle. The Pi would still be on.

which OS were you using?


Title: Re: Raspberry pi usb device limitation?
Post by: psilan on November 21, 2012, 07:20:32 PM
http://www.raspberrypi.org/downloads
Raspbian “wheezy”

Again, all my issues solved with a proper power supply source for the Pi.


Title: Re: Raspberry pi usb device limitation?
Post by: CrazyGuy on November 21, 2012, 08:09:35 PM
Which power supply are you using?


Title: Re: Raspberry pi usb device limitation?
Post by: psilan on November 21, 2012, 08:10:18 PM
An HTC Sensation charger.


Title: Re: Raspberry pi usb device limitation?
Post by: crazyates on November 25, 2012, 01:17:12 AM
I thought this post from another thread was pretty interesting:

I drive around 80 FPGAs from a Rasp Pi, you need to do this (bridge polyfuses and add low ESR[ http://en.wikipedia.org/wiki/Equivalent_series_resistance] cap to /Vdd - Vss/ output USB port [nichicon/os-con]:
http://theiopage.blogspot.nl/)
Since I did that hack everything went smooth and cool, before it was a nightmare.


Title: Re: Raspberry pi usb device limitation?
Post by: beekeeper on November 25, 2012, 01:23:44 AM
I thought this post from another thread was pretty interesting:

I drive around 80 FPGAs from a Rasp Pi, you need to do this (bridge polyfuses and add low ESR[ http://en.wikipedia.org/wiki/Equivalent_series_resistance] cap to /Vdd - Vss/ output USB port [nichicon/os-con]:
http://theiopage.blogspot.nl/)
Since I did that hack everything went smooth and cool, before it was a nightmare.
Man, it is tested and verified, just one example, 70 fpgas, one 8 bees controller is out, e.g.:
Quote
...@raspberrypi ~/m5 $ ./as
start_time (unix time)=1353803823.686, elapsed_time=2521.778 secs
accepted_works=3604, rejected_works = 108, result_upload_errors=0, total=3712
active_ktrls=9, inactive_ktrls=0
total_bees=69
KTRL_LIST
ktrl=166, nr_bees=8, bee_mask=ff, stat=00, systat1=07, systat2=87, init_counts=0
ktrl=134, nr_bees=8, bee_mask=ff, stat=00, systat1=87, systat2=97, init_counts=0
ktrl=72, nr_bees=6, bee_mask=cf, stat=00, systat1=07, systat2=97, init_counts=0
ktrl=210, nr_bees=8, bee_mask=ff, stat=00, systat1=47, systat2=97, init_counts=0
ktrl=76, nr_bees=7, bee_mask=ef, stat=00, systat1=87, systat2=87, init_counts=0
ktrl=114, nr_bees=8, bee_mask=ff, stat=00, systat1=87, systat2=97, init_counts=0
ktrl=82, nr_bees=8, bee_mask=ff, stat=00, systat1=87, systat2=87, init_counts=0
ktrl=118, nr_bees=8, bee_mask=ff, stat=00, systat1=87, systat2=97, init_counts=0
ktrl=92, nr_bees=8, bee_mask=ff, stat=00, systat1=87, systat2=97, init_counts=0


Title: Re: Raspberry pi usb device limitation?
Post by: CrazyGuy on November 25, 2012, 09:14:53 PM
Bridging polyfuses may not be necessary with later revisions, unless input amperage needs to be raised.

http://elinux.org/Polyfuses_explained
Quote
As of the end of August 2012 some users were reporting that newly arrived PI's were fitted with 0 Ohm resistors for the USB polyfuses F1 & F2, and Liz of the RPF foundation confirmed that it was official RPF policy to remove the offending fuses. However F3 still limits the total input current to about 1A.


Title: Re: Raspberry pi usb device limitation?
Post by: bitboyben on November 26, 2012, 02:45:48 AM
Bridging polyfuses may not be necessary with later revisions, unless input amperage needs to be raised.

http://elinux.org/Polyfuses_explained
Quote
As of the end of August 2012 some users were reporting that newly arrived PI's were fitted with 0 Ohm resistors for the USB polyfuses F1 & F2, and Liz of the RPF foundation confirmed that it was official RPF policy to remove the offending fuses. However F3 still limits the total input current to about 1A.

No F1 or F2 on my RPi only F3. I'm hoping I can get it to work with my incoming asics. Certified powered hub is next on my list.
It arrived this last week.


Title: Re: Raspberry pi usb device limitation?
Post by: btharper on November 26, 2012, 05:57:32 AM
Bridging polyfuses may not be necessary with later revisions, unless input amperage needs to be raised.

http://elinux.org/Polyfuses_explained
Quote
As of the end of August 2012 some users were reporting that newly arrived PI's were fitted with 0 Ohm resistors for the USB polyfuses F1 & F2, and Liz of the RPF foundation confirmed that it was official RPF policy to remove the offending fuses. However F3 still limits the total input current to about 1A.

No F1 or F2 on my RPi only F3. I'm hoping I can get it to work with my incoming asics. Certified powered hub is next on my list.
It arrived this last week.
Do you have anything else to stress test the USB stack with?

Is anyone in general aware if a powered hub fixes the rest of the problems?


Title: Re: Raspberry pi usb device limitation?
Post by: BR0KK on November 26, 2012, 03:54:07 PM
Bridging polyfuses may not be necessary with later revisions, unless input amperage needs to be raised.

http://elinux.org/Polyfuses_explained
Quote
As of the end of August 2012 some users were reporting that newly arrived PI's were fitted with 0 Ohm resistors for the USB polyfuses F1 & F2, and Liz of the RPF foundation confirmed that it was official RPF policy to remove the offending fuses. However F3 still limits the total input current to about 1A.

No F1 or F2 on my RPi only F3. I'm hoping I can get it to work with my incoming asics. Certified powered hub is next on my list.
It arrived this last week.
Do you have anything else to stress test the USB stack with?

Is anyone in general aware if a powered hub fixes the rest of the problems?

As for my tests a powered hub does not fix the issues with usb..... It could cause problems too. Remember that thing hates feedback power over the USB cable. Only cutting the  power lanes of the USB cable helped a little. Still the device is not an option for me with my 18 Ztex boards...


Title: Re: Raspberry pi usb device limitation?
Post by: kidgorgeous on November 26, 2012, 07:25:55 PM
I've had no problems with 2 BFL singles running through BFGMiner on my RPi, though be sure to read and install EVERYTHING for bfgminer. Its a neat little device and should handle a few more without a problem. Just make sure you have a powered USB Hub and a good power supply for your RPi.


Title: Re: Raspberry pi usb device limitation?
Post by: bitboyben on November 26, 2012, 09:51:06 PM
The power for the Rpi will be from my cell charger 5v 1A.
The powered hub will not power the Rpi with my set up. As stated that can cause problems.
The other recommendation is to put both the Hub and Rpi on same power bar. IF I need to turn the RPi off the USB should also be powered down at the same time to avoid random writes.
I don't have a link but all that information is on the RPi forums/FAQs.

I don't have any FPGAs to test though... :(

I'll try install the BFGminer today or tomorrow.

Should have bought a case with it...


Title: Re: Raspberry pi usb device limitation?
Post by: beekeeper on November 27, 2012, 01:22:43 AM
Bridging polyfuses may not be necessary with later revisions, unless input amperage needs to be raised.

http://elinux.org/Polyfuses_explained
Quote
As of the end of August 2012 some users were reporting that newly arrived PI's were fitted with 0 Ohm resistors for the USB polyfuses F1 & F2, and Liz of the RPF foundation confirmed that it was official RPF policy to remove the offending fuses. However F3 still limits the total input current to about 1A.

No F1 or F2 on my RPi only F3. I'm hoping I can get it to work with my incoming asics. Certified powered hub is next on my list.
It arrived this last week.
Do you have anything else to stress test the USB stack with?

Is anyone in general aware if a powered hub fixes the rest of the problems?

As for my tests a powered hub does not fix the issues with usb..... It could cause problems too. Remember that thing hates feedback power over the USB cable. Only cutting the  power lanes of the USB cable helped a little. Still the device is not an option for me with my 18 Ztex boards...

Are your boards bus powered?


Title: Re: Raspberry pi usb device limitation?
Post by: Fcx35x10 on November 27, 2012, 01:24:05 AM
i should be finally getting mines in the mail tomorrow. i probably shouldn't use a microusb + usb to wall adapter  as my power source huh?


Title: Re: Raspberry pi usb device limitation?
Post by: beekeeper on November 27, 2012, 01:37:20 AM
i should be finally getting mines in the mail tomorrow. i probably shouldn't use a microusb + usb to wall adapter  as my power source huh?
If the usb to wall adapter supplies 700mAh at least, it should be ok (according to the producer).


Title: Re: Raspberry pi usb device limitation?
Post by: BR0KK on December 02, 2012, 08:38:01 PM
Bridging polyfuses may not be necessary with later revisions, unless input amperage needs to be raised.

http://elinux.org/Polyfuses_explained
Quote
As of the end of August 2012 some users were reporting that newly arrived PI's were fitted with 0 Ohm resistors for the USB polyfuses F1 & F2, and Liz of the RPF foundation confirmed that it was official RPF policy to remove the offending fuses. However F3 still limits the total input current to about 1A.

No F1 or F2 on my RPi only F3. I'm hoping I can get it to work with my incoming asics. Certified powered hub is next on my list.
It arrived this last week.
Do you have anything else to stress test the USB stack with?

Is anyone in general aware if a powered hub fixes the rest of the problems?

As for my tests a powered hub does not fix the issues with usb..... It could cause problems too. Remember that thing hates feedback power over the USB cable. Only cutting the  power lanes of the USB cable helped a little. Still the device is not an option for me with my 18 Ztex boards...

Are your boards bus powered?

No Ztex Boards geht their power through a barrel plug. I dont know why the PI wont like my boards..... not a single one without a hub is a lasting solution.