Pages:
Author

Topic: Block Erupter and Raspberry Pi (Read 12213 times)

sr. member
Activity: 308
Merit: 250
August 13, 2013, 04:11:14 AM
#63
Just done a couple of mods to my pi to get it ready for a single BE.

Drilled the lid and created a fan mount, and a little breakout board for the GPIO 5v which the fan is plugged into. Fanf floats right above the USB port. Power mods; bypass all polyfuses and add direct power supply to the USB ports. You don't really need a powered hub Tongue
newbie
Activity: 13
Merit: 0
August 12, 2013, 10:38:00 PM
#62
I'm using Rosewill 10-port powered hubs.  They seem to have no problem powering 6 or 7 sticks (7 on 2 of them, 6 + the Pi on another).

Which Rosewill 10-port powered hubs are you using? (they have 4 different models, more like 3 since two of them are just different colors).
hero member
Activity: 761
Merit: 500
Mine Silent, Mine Deep
August 09, 2013, 12:37:51 AM
#61
My RPi Model B (v2) has been powering a block eruptor directly without problems for over a month now. (Plugged into a 2A USB outlet)


sr. member
Activity: 272
Merit: 250
August 08, 2013, 08:51:12 PM
#60
Dlink DUB-H7 arrived today; plugged it into Pi and seen exactly the same behavior I've seen before.

Downgraded to cgminer 3.1.1 and everything works great, USB sticks seen as ICA0..3

I guess the issue is with cgminer direct access to usb port. 3.3.1 doesn't work, 3.1.1 works.

Code:
 cgminer version 3.1.1 - Started: [2013-08-08 20:21:30]
--------------------------------------------------------------------------------
 (5s):1.434G (avg):1.330Gh/s | A:465  R:6  HW:10  U:19.7/m  WU:20.4/m
 ST: 1  SS: 0  NB: 8  LW: 1138  GF: 0  RF: 0
 Connected to 192.168.XXX.XXX diff 1 with stratum as user rpi
 Block: 002102ae028653e8...  Diff:37.4M  Started: [20:44:36]  Best share: 1.91K
--------------------------------------------------------------------------------
 [P]ool management [S]ettings [D]isplay options [Q]uit
 ICA 0:                | 313.9M/332.6Mh/s | A:120 R:0 HW:3 U:5.09/m
 ICA 1:                | 332.5M/333.9Mh/s | A:127 R:3 HW:1 U:5.39/m
 ICA 2:                | 332.7M/333.8Mh/s | A:117 R:0 HW:5 U:4.97/m
 ICA 3:                | 332.2M/332.7Mh/s | A:101 R:3 HW:1 U:4.29/m
--------------------------------------------------------------------------

topology looks like this:
Code:
root@raspberrypi:~# lsusb -t
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/3p, 480M
        |__ Port 1: Dev 3, If 0, Class=vend., Driver=smsc95xx, 480M
        |__ Port 3: Dev 4, If 0, Class=hub, Driver=hub/4p, 480M
            |__ Port 1: Dev 5, If 0, Class=hub, Driver=hub/4p, 480M
                |__ Port 1: Dev 9, If 0, Class=vend., Driver=cp210x, 12M
                |__ Port 2: Dev 8, If 0, Class=vend., Driver=cp210x, 12M
                |__ Port 3: Dev 7, If 0, Class=vend., Driver=cp210x, 12M
                |__ Port 4: Dev 6, If 0, Class=vend., Driver=cp210x, 12M
root@raspberrypi:~#
hero member
Activity: 574
Merit: 501
August 07, 2013, 10:36:57 AM
#59
Switch back to cgminer version 3.1.1a and I think you'll have better luck. 
sr. member
Activity: 272
Merit: 250
August 07, 2013, 10:32:59 AM
#58
my pi doesn't work with any hubs I have.

I have old trendnet and some noname usb 2.0 hubs, both have external power. pi detects hubs and 'lsusb -t' shows correct topology. sticks run for 2-3 seconds, then I see hashrate drop and then pi hangs when I kill cgminer. then, hardware watchdog reboots pi and I get to try again. I can run my sticks on PC just fine using any of my hubs. I ordered DLINK DUB-H7 hub - this one works with pi, i've seen many pictures online proving that.

i will post more when I have updates
hero member
Activity: 826
Merit: 1001
August 07, 2013, 05:04:16 AM
#57
Hey everyone, would the raspberry pi offer sufficient power to run 1 USB Block Erupter?  I will be receiving my first device later this month, and plan to use strictly one unit with the pi for a while.  I currently use a 1.2 A usb power adapter for the raspberry pi.  Thanks.

Maybe (depending on the voltage) - I had a rPi+BE running, but using a 2A/5V Power Supply, 1.2 might be high enough ... W=V*A Smiley

For stability and ease-of-remote-reboot, rPi+PoweredHub+BE(on hub) would be the way to go
http://elinux.org/RPi_VerifiedPeripherals


No, the maximum power the USB port of a Raspberry Pi can deliver is 100mA.
There is a fuse that blows if you ask more.
You need a powered usb hub.
full member
Activity: 201
Merit: 100
August 06, 2013, 10:45:10 PM
#56
Hey everyone, would the raspberry pi offer sufficient power to run 1 USB Block Erupter?  I will be receiving my first device later this month, and plan to use strictly one unit with the pi for a while.  I currently use a 1.2 A usb power adapter for the raspberry pi.  Thanks.

Maybe (depending on the voltage) - I had a rPi+BE running, but using a 2A/5V Power Supply, 1.2 might be high enough ... W=V*A Smiley

For stability and ease-of-remote-reboot, rPi+PoweredHub+BE(on hub) would be the way to go
http://elinux.org/RPi_VerifiedPeripherals

hero member
Activity: 630
Merit: 501
Miner Setup And Reviews. WASP Rep.
August 06, 2013, 10:37:38 PM
#55
Hey everyone, would the raspberry pi offer sufficient power to run 1 USB Block Erupter?  I will be receiving my first device later this month, and plan to use strictly one unit with the pi for a while.  I currently use a 1.2 A usb power adapter for the raspberry pi.  Thanks.
No it will not.
newbie
Activity: 23
Merit: 0
August 06, 2013, 10:12:33 PM
#54
Hey everyone, would the raspberry pi offer sufficient power to run 1 USB Block Erupter?  I will be receiving my first device later this month, and plan to use strictly one unit with the pi for a while.  I currently use a 1.2 A usb power adapter for the raspberry pi.  Thanks.
sr. member
Activity: 251
Merit: 250
August 05, 2013, 08:38:14 AM
#53
you can stick 3 erupters on each side, then you have one  ampere reserve (6 sticks = 3 A)
hero member
Activity: 742
Merit: 500
August 05, 2013, 08:33:00 AM
#52

I was looking at that one before.. couple different manufactures have it.. the usb ports themselves look way to close together..
sr. member
Activity: 251
Merit: 250
newbie
Activity: 16
Merit: 0
August 05, 2013, 04:20:36 AM
#50
I'm waiting more Erupters from www.asicminer-shop.de
I hope will lunch 16 Erupters on my Raspberry before WE.
Currently 10 work just fine:

https://www.dropbox.com/s/1vt1wyc9otcfjsk/2013-07-31%2007.14.26.jpg
https://www.dropbox.com/s/rues3wvvofc05u2/anker1.png

pi@raspberrypi ~ $ uname -a
Linux raspberrypi 3.6.11+ #474 PREEMPT Thu Jun 13 17:14:42 BST 2013 armv6l GNU/Linux

pi@raspberrypi ~ $ top

top - 08:18:38 up 17:08,  1 user,  load average: 3.54, 3.36, 3.33
Tasks:  68 total,   1 running,  67 sleeping,   0 stopped,   0 zombie
%Cpu(s):  2.8 us,  4.5 sy,  0.0 ni, 92.6 id,  0.0 wa,  0.0 hi,  0.2 si,  0.0 st
KiB Mem:    448776 total,    95104 used,   353672 free,    11760 buffers
KiB Swap:   102396 total,        0 used,   102396 free,    55716 cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM     TIME+ COMMAND                                                                                                                          
 2629 pi        20   0  4892 1312  940 R 11.2  0.3   0:00.06 top                                                                                                                              
 2041 root      20   0  203m 4324 2752 S  5.6  1.0  73:01.65 cgminer                                                                                                                          
    1 root      20   0  2568  840  712 S  0.0  0.2   0:03.57 init                                                                                                                            
    2 root      20   0     0    0    0 S  0.0  0.0   0:00.03 kthreadd                                                                                                                        
    3 root      20   0     0    0    0 S  0.0  0.0   0:37.76 ksoftirqd/0

dmesg ...

[    7.494880] usb 1-1.3.3.4: new full-speed USB device number 16 using dwc_otg
[    7.630846] usb 1-1.3.3.4: New USB device found, idVendor=10c4, idProduct=ea60
[    7.649143] usb 1-1.3.3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    7.672098] usb 1-1.3.3.4: Product: CP2102 USB to UART Bridge Controller
[    7.693928] usb 1-1.3.3.4: Manufacturer: Silicon Labs
[    7.701106] usb 1-1.3.3.4: SerialNumber: 0001
[    7.814881] usb 1-1.2.4.4.1: new full-speed USB device number 17 using dwc_otg
[    7.950896] usb 1-1.2.4.4.1: New USB device found, idVendor=10c4, idProduct=ea60
[    7.973959] usb 1-1.2.4.4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    8.003952] usb 1-1.2.4.4.1: Product: CP2102 USB to UART Bridge Controller
[    8.013077] usb 1-1.2.4.4.1: Manufacturer: Silicon Labs
[    8.033953] usb 1-1.2.4.4.1: SerialNumber: 0001
[    8.134866] usb 1-1.2.4.4.2: new full-speed USB device number 18 using dwc_otg
[    8.270907] usb 1-1.2.4.4.2: New USB device found, idVendor=10c4, idProduct=ea60
[    8.293285] usb 1-1.2.4.4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    8.319486] usb 1-1.2.4.4.2: Product: CP2102 USB to UART Bridge Controller
[    8.336815] usb 1-1.2.4.4.2: Manufacturer: Silicon Labs
[    8.352984] usb 1-1.2.4.4.2: SerialNumber: 0001
[    8.396740] usbcore: registered new interface driver usbserial
[    8.484919] usb 1-1.2.4.4.3: new full-speed USB device number 19 using dwc_otg
[    8.495727] usbcore: registered new interface driver usbserial_generic
[    8.541838] USB Serial support registered for generic
[    8.583948] usbserial: USB Serial Driver core
[    8.591413] usbcore: registered new interface driver cp210x
[    8.620897] usb 1-1.2.4.4.3: New USB device found, idVendor=10c4, idProduct=ea60
[    8.642279] usb 1-1.2.4.4.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    8.659703] USB Serial support registered for cp210x
[    8.667093] usb 1-1.2.4.4.3: Product: CP2102 USB to UART Bridge Controller
[    8.693945] usb 1-1.2.4.4.3: Manufacturer: Silicon Labs
[    8.701474] usb 1-1.2.4.4.3: SerialNumber: 0001
[    8.764128] cp210x 1-1.3.1:1.0: cp210x converter detected
[    8.814966] usb 1-1.2.4.4.4: new full-speed USB device number 20 using dwc_otg
[    8.951023] usb 1-1.2.4.4.4: New USB device found, idVendor=10c4, idProduct=ea60
[    8.974036] usb 1-1.2.4.4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    8.998045] usb 1-1.2.4.4.4: Product: CP2102 USB to UART Bridge Controller
[    9.019210] usb 1-1.2.4.4.4: Manufacturer: Silicon Labs
[    9.033984] usb 1-1.2.4.4.4: SerialNumber: 0001
[    9.044906] usb 1-1.3.1: reset full-speed USB device number 8 using dwc_otg
[    9.057457] cp210x 1-1.2.4.4.4:1.0: cp210x converter detected
[    9.202823] usb 1-1.3.1: cp210x converter now attached to ttyUSB0
[    9.217517] cp210x 1-1.2.4.3:1.0: cp210x converter detected
[    9.284888] usb 1-1.2.4.4.4: reset full-speed USB device number 20 using dwc_otg
[    9.419027] usb 1-1.2.4.4.4: cp210x converter now attached to ttyUSB1
[    9.514892] usb 1-1.2.4.3: reset full-speed USB device number 11 using dwc_otg
[    9.659128] usb 1-1.2.4.3: cp210x converter now attached to ttyUSB2
[    9.677974] cp210x 1-1.3.3.1:1.0: cp210x converter detected
[    9.784927] usb 1-1.3.3.1: reset full-speed USB device number 13 using dwc_otg
[    9.913785] usb 1-1.3.3.1: cp210x converter now attached to ttyUSB3
[    9.929585] cp210x 1-1.3.3.2:1.0: cp210x converter detected
[   10.034945] usb 1-1.3.3.2: reset full-speed USB device number 14 using dwc_otg
[   10.164339] usb 1-1.3.3.2: cp210x converter now attached to ttyUSB4
[   10.179136] cp210x 1-1.3.3.3:1.0: cp210x converter detected
[   10.294929] usb 1-1.3.3.3: reset full-speed USB device number 15 using dwc_otg
[   10.423739] usb 1-1.3.3.3: cp210x converter now attached to ttyUSB5
[   10.439445] cp210x 1-1.3.3.4:1.0: cp210x converter detected
[   10.544954] usb 1-1.3.3.4: reset full-speed USB device number 16 using dwc_otg
[   10.673214] usb 1-1.3.3.4: cp210x converter now attached to ttyUSB6
[   10.688062] cp210x 1-1.2.4.4.1:1.0: cp210x converter detected
[   10.794906] usb 1-1.2.4.4.1: reset full-speed USB device number 17 using dwc_otg
[   10.919028] usb 1-1.2.4.4.1: cp210x converter now attached to ttyUSB7
[   10.928107] cp210x 1-1.2.4.4.2:1.0: cp210x converter detected
[   11.024948] usb 1-1.2.4.4.2: reset full-speed USB device number 18 using dwc_otg
[   11.153600] usb 1-1.2.4.4.2: cp210x converter now attached to ttyUSB8
[   11.176176] cp210x 1-1.2.4.4.3:1.0: cp210x converter detected
[   11.294955] usb 1-1.2.4.4.3: reset full-speed USB device number 19 using dwc_otg
[   11.424352] usb 1-1.2.4.4.3: cp210x converter now attached to ttyUSB9




BTW I'm selling this ANKER HUB now (working with Raspberry, used ~ week):

https://www.bitmit.net/en/item/48972-anker-usb-3-0-10-port-hub-with-12v-4a-power-adapter-4-raspberry


member
Activity: 104
Merit: 10
June 28, 2013, 12:49:03 PM
#49
I discovered this Rosewill usb hub, RHB-500 http://www.rosewill.com/products/1543/ProductDetail_Overview.htm, that might adequately power at least as many as the RHB-520 due to its power supply giving 4A. And it's not a USB 3.0 hub so I suspect it'll play nice with RPi as well. Anyone have reason to doubt its suitability?
legendary
Activity: 1554
Merit: 1009
June 26, 2013, 09:19:41 AM
#48
is anyone running thier Pi and USBASICs off the same USB hub? or is it recommended to run the Pi off a seperate PSU?

I'm running five erupters and my pi off a Rosewill hub with no problems.

rosewill hub? i've only heard of ankers and the dlink hub... how many ports do you get on the rosewill?

BTW is there a list of test/working hubs for RPi mining? im using my PC atm but wnat to move to my RPi for obvious power saving reasons Tongue

Sorry, I'm only seeing this now.

I think Rosewill is newegg's in-house brand. Mine is a 10-port, 3.5A (model RHB-520). There's a switch to enable all 10 ports or just the first 6, but I'm not sure if this causes a drop in the first 6 ports, so I've left it off. 6 was fine for me, anyway, as I only had 5 erupters and the pi.

For the record, that specific Rosewill hub wasn't listed in the RPi compatibility charts, but another Rosewill model was. They probably all work.
sr. member
Activity: 1316
Merit: 253
Sugars.zone | DatingFi - Earn for Posting
June 26, 2013, 04:23:39 AM
#47
I have ordered a hub that looks like the Anker Sad Just a thought, has anybody tried a usb 2 hub between the Pi and the Anker, Would this work?? Pi-USB2-USB3

I have tried this - no dice  :/

Damn, Thanx for letting us know...I`ll try a few things when my hardware arrives....
full member
Activity: 140
Merit: 100
June 26, 2013, 04:04:41 AM
#46
I have ordered a hub that looks like the Anker Sad Just a thought, has anybody tried a usb 2 hub between the Pi and the Anker, Would this work?? Pi-USB2-USB3

I have tried this - no dice  :/
sr. member
Activity: 1316
Merit: 253
Sugars.zone | DatingFi - Earn for Posting
June 26, 2013, 03:46:49 AM
#45
The Anker hubs definitely do not work with the PIs. I picked up 5 of them which I have to return because I want to go pure PI based. They partially work and look sexy. On a USB 3.0 machine they work great though.

I have ordered a hub that looks like the Anker Sad Just a thought, has anybody tried a usb 2 hub between the Pi and the Anker, Would this work?? Pi-USB2-USB3
member
Activity: 109
Merit: 10
June 22, 2013, 04:17:27 PM
#44
is anyone running thier Pi and USBASICs off the same USB hub? or is it recommended to run the Pi off a seperate PSU?

I ran two USB Block Erupters, and the Raspberry Pi of the same hub (D-Link DUB-H7, power the rPI off on off the charge ports. Hub does not backfeed on the uplink, so works great with the pi).

Only problem is that with the current minepeon, only cgminer runs the Block Erupter, and only bfgminer runs the Jalapeno. So I moved my Block Erupters to my main computer...
Pages:
Jump to: