Author

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

sr. member
Activity: 308
Merit: 250
August 13, 2013, 03: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, 09: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 08, 2013, 11:37:51 PM
#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, 07: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, 09: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, 09: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, 04: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, 09: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, 09: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, 09: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, 07: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, 07: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, 03: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, 11:49:03 AM
#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, 08: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: 254
Sugars.zone | DatingFi - Earn for Posting
June 26, 2013, 03: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, 03: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: 254
Sugars.zone | DatingFi - Earn for Posting
June 26, 2013, 02: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, 03: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...
legendary
Activity: 1722
Merit: 1004
June 22, 2013, 12:42:50 PM
#43
Just for the record:

Raspberry working fine with 3 eruptors using cgminer 3.1.1 and this hub:
http://www.digitus.info/en/products/accessories/usb-hubs/usb-20-7-port-hub-da-70222/

This hub is a 7-port hub, but only 5 eruptors will fit in (I actually tested the hub on my laptop with 5 eruptors for about 2 hours). Now it's running stable with 3 Eruptors on my raspberry (as only 3 of the 5 eruptors were my own).

To compile cgminer 3.1.1 on a current raspbian system I just did the following:
Code:
sudo apt-get update
sudo apt-get install libusb-1.0-0-dev libusb-1.0-0 libcurl4-openssl-dev libncurses5-dev libudev-dev
wget http://ck.kolivas.org/apps/cgminer/3.1/cgminer-3.1.1.tar.bz2
tar xvf cgminer-3.1.1.tar.bz2
cd cgminer-3.1.1
./configure --enable-icarus
make
# and do a short check if the binary is running:
./cgminer --verbose --text-only

Check that user pi is part of the group "dialout" so it can access the device files /dev/ttyUSBx:
Code:
pi@raspi1 ~ $ groups
pi adm dialout cdrom sudo audio www-data video plugdev games users netdev input

For starting cgminer 3.1.1 with 3 eruptors I use this commandline on the raspberry:
Code:
./cgminer  --icarus-options 115200:1:1 --icarus-timing 3.0=100 -S /dev/ttyUSB0 -S /dev/ttyUSB1 -S /dev/ttyUSB2 --config /home/pi/cgminer.conf

And the config file cgminer.conf looks like this:

Code:
{
"pools" :
        [
                {
                "url" : "http://stratum.bitcoin.cz:3333",
                "user" : "",
                "pass" : ""
                }
        ],
        "expiry" : "120",
        "failover-only" : true,
        "hotplug" : "5",
        "log" : "5",
        "no-pool-disable" : true,
        "queue" : "2",
        "scan-time" : "60",
        "temp-hysteresis" : "3",
        "worktime" : true,
        "shares" : "0",
        "kernel-path" : "/usr/local/bin"
}

hashing away just fine now! Smiley

[edit]
corrected wget command to correct link for cgminer 3.1.1
[/edit]


Thanks for the step-by-step! Just got my Erupter mining away on my Pi. Only tweak I had to make was eliminating the "http://" from the "url" string in cgminer.conf
hero member
Activity: 585
Merit: 500
June 14, 2013, 08:07:06 AM
#42
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
legendary
Activity: 1554
Merit: 1009
June 14, 2013, 08:01:34 AM
#41
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.
hero member
Activity: 585
Merit: 500
June 14, 2013, 05:52:29 AM
#40
is anyone running thier Pi and USBASICs off the same USB hub? or is it recommended to run the Pi off a seperate PSU?
sr. member
Activity: 299
Merit: 250
June 14, 2013, 12:34:48 AM
#39
Has anyone got cgminer 3.2.1 working with four or more block erupters on the raspberry pi yet?

Yes, most definitely, using a D-Link DUB-H7 USB 2.0 powered hub: https://bitcointalksearch.org/topic/a-case-study-in-entry-level-mining-224015
sr. member
Activity: 333
Merit: 250
June 13, 2013, 02:55:05 AM
#38
Bummer.
full member
Activity: 140
Merit: 100
June 13, 2013, 02:07:31 AM
#37
Has anyone gotten the Anker 10 port hub working with an RPi?  I see it in a lot of photos but haven't heard or read anything about it.  It wasn't listed on the "Official" RPi USB hub list either.

Apparently it's a no go.  Wish it did work though, perhaps it's a USB 3 issue …
sr. member
Activity: 333
Merit: 250
June 13, 2013, 01:34:33 AM
#36
Has anyone gotten the Anker 10 port hub working with an RPi?  I see it in a lot of photos but haven't heard or read anything about it.  It wasn't listed on the "Official" RPi USB hub list either.

member
Activity: 89
Merit: 10
June 12, 2013, 03:15:17 PM
#35
Has anyone got cgminer 3.2.1 working with four or more block erupters on the raspberry pi yet?

my raspberry don't work well with cgminer 3.2.1. I have three Block erupter. there are to many errors

My raspberry detects the USB sticks and start mining on 3.2.1, but with a lot of errors and declaring SICKS. I am on powered hub though.

having the same problem with my 3 sticks here
cgminer 3.2.1
pi and digitus 7port hub (confirmed working with cgminer 3.1.1 in this thread)

Code:
cgminer version 3.2.1 - Started: [2013-06-12 17:26:06]
--------------------------------------------------------------------------------
 (5s):468.4M (avg):279.4Mh/s | A:21  R:0  HW:0  U:4.5/m  WU:4.5/m
 ST: 2  SS: 0  NB: 3  LW: 61  GF: 0  RF: 0
 Connected to eu-stratum.btcguild.com diff 1 with stratum as user xx
 Block: 000f95171e59a23a...  Diff:15.6M  Started: [17:28:51]  Best share: 26
--------------------------------------------------------------------------------
 [P]ool management [S]ettings [D]isplay options [Q]uit
 AMU 0:                | 241.9M/78.77Mh/s | A:5 R:0 HW:0 U: 1.06/m
 AMU 1:                | 25.36M/91.86Mh/s | A:7 R:0 HW:0 U: 1.49/m
 AMU 2:                | 25.51M/108.8Mh/s | A:9 R:0 HW:0 U: 1.91/m
--------------------------------------------------------------------------------

 [2013-06-12 17:27:14] AMU0: Attempting to restart
 [2013-06-12 17:27:14] AMU1: Idle for more than 60 seconds, declaring SICK!
 [2013-06-12 17:27:14] AMU1: Attempting to restart
 [2013-06-12 17:27:32] Stratum from pool 0 detected new block
 [2013-06-12 17:27:54] Accepted dbc08f5e Diff 1/1 AMU 1
 [2013-06-12 17:27:58] Accepted 97dca494 Diff 1/1 AMU 2
 [2013-06-12 17:28:04] Accepted 76939056 Diff 2/1 AMU 1
 [2013-06-12 17:28:13] Accepted 179e6eb3 Diff 10/1 AMU 1
 [2013-06-12 17:28:15] Accepted 60cdcd86 Diff 2/1 AMU 1
 [2013-06-12 17:28:25] Accepted 75fabff8 Diff 2/1 AMU 1
 [2013-06-12 17:28:51] Stratum from pool 0 detected new block
 [2013-06-12 17:28:56] AMU0: Idle for more than 60 seconds, declaring SICK!
 [2013-06-12 17:28:56] AMU0: Attempting to restart
 [2013-06-12 17:29:00] AMU2: Idle for more than 60 seconds, declaring SICK!
 [2013-06-12 17:29:00] AMU2: Attempting to restart
 [2013-06-12 17:29:25] Accepted 0e4d9589 Diff 17/1 AMU 2
 [2013-06-12 17:29:33] Accepted f6882ee4 Diff 1/1 AMU 0
 [2013-06-12 17:30:26] AMU1: Idle for more than 60 seconds, declaring SICK!
 [2013-06-12 17:30:26] AMU1: Attempting to restart
 [2013-06-12 17:30:26] AMU2: Idle for more than 60 seconds, declaring SICK!
 [2013-06-12 17:30:26] AMU2: Attempting to restart
 [2013-06-12 17:30:41] Accepted 09a0fd3a Diff 26/1 AMU 0
 [2013-06-12 17:30:46] Accepted 367769a6 Diff 4/1 AMU 0

the strange thing with this issue is, if I remove all sticks beside one from the hub everything works fine!
any ideas what I could try beside downgrade cgminer?

I confirm that with one stick everything works fine. Seems the same problem.
sr. member
Activity: 333
Merit: 250
June 12, 2013, 02:16:11 PM
#34
Has anyone got cgminer 3.2.1 working with four or more block erupters on the raspberry pi yet?
Yes using a manually compiled cgminer 3.2.1 on MinePeon.  Everything autodetects at startup now with no additional switches beyond url, user, and pass.

when manually compiling did you do anything different than mr_john a few posts above?

I didn't use the apt-gets (since minepeon is arch linux and not debian based.  Plus it comes with everything you need to build cgminer)

I downloaded 3.2.1 instead of 3.1.1 of course.

Then I added --prefix=/opt/minepeon in configure so that I could swap out the existing /opt/minepeon/bin/cgminer. 

That's it.  His instructions are essentially correct with a version change.

member
Activity: 94
Merit: 10
June 12, 2013, 01:43:57 PM
#33
Has anyone got cgminer 3.2.1 working with four or more block erupters on the raspberry pi yet?
Yes using a manually compiled cgminer 3.2.1 on MinePeon.  Everything autodetects at startup now with no additional switches beyond url, user, and pass.

when manually compiling did you do anything different than mr_john a few posts above?
sr. member
Activity: 333
Merit: 250
June 12, 2013, 01:16:47 PM
#32
Has anyone got cgminer 3.2.1 working with four or more block erupters on the raspberry pi yet?

Yes using a manually compiled cgminer 3.2.1 on MinePeon.  Everything autodetects at startup now with no additional switches beyond url, user, and pass.

I'm using 1 Sabrent 7 port hub for 4 block erupters.  Then another Sabrent 7 port hub to power the RPi, a USB fan, and the wireless adapter.

Averaging just under 1.0% HW errors.  My own experience is that HW errors are a function of the stability of the power getting to the RPi and the Erupters.  Hence the separate hubs for powering the RPi and the sticks.  When I tried everything together in different combinations, the HW rate went up drastically.  Sometimes on just one stick.







member
Activity: 94
Merit: 10
June 12, 2013, 12:31:26 PM
#31
Has anyone got cgminer 3.2.1 working with four or more block erupters on the raspberry pi yet?

my raspberry don't work well with cgminer 3.2.1. I have three Block erupter. there are to many errors

My raspberry detects the USB sticks and start mining on 3.2.1, but with a lot of errors and declaring SICKS. I am on powered hub though.

having the same problem with my 3 sticks here
cgminer 3.2.1
pi and digitus 7port hub (confirmed working with cgminer 3.1.1 in this thread)

Code:
cgminer version 3.2.1 - Started: [2013-06-12 17:26:06]
--------------------------------------------------------------------------------
 (5s):468.4M (avg):279.4Mh/s | A:21  R:0  HW:0  U:4.5/m  WU:4.5/m
 ST: 2  SS: 0  NB: 3  LW: 61  GF: 0  RF: 0
 Connected to eu-stratum.btcguild.com diff 1 with stratum as user xx
 Block: 000f95171e59a23a...  Diff:15.6M  Started: [17:28:51]  Best share: 26
--------------------------------------------------------------------------------
 [P]ool management [S]ettings [D]isplay options [Q]uit
 AMU 0:                | 241.9M/78.77Mh/s | A:5 R:0 HW:0 U: 1.06/m
 AMU 1:                | 25.36M/91.86Mh/s | A:7 R:0 HW:0 U: 1.49/m
 AMU 2:                | 25.51M/108.8Mh/s | A:9 R:0 HW:0 U: 1.91/m
--------------------------------------------------------------------------------

 [2013-06-12 17:27:14] AMU0: Attempting to restart
 [2013-06-12 17:27:14] AMU1: Idle for more than 60 seconds, declaring SICK!
 [2013-06-12 17:27:14] AMU1: Attempting to restart
 [2013-06-12 17:27:32] Stratum from pool 0 detected new block
 [2013-06-12 17:27:54] Accepted dbc08f5e Diff 1/1 AMU 1
 [2013-06-12 17:27:58] Accepted 97dca494 Diff 1/1 AMU 2
 [2013-06-12 17:28:04] Accepted 76939056 Diff 2/1 AMU 1
 [2013-06-12 17:28:13] Accepted 179e6eb3 Diff 10/1 AMU 1
 [2013-06-12 17:28:15] Accepted 60cdcd86 Diff 2/1 AMU 1
 [2013-06-12 17:28:25] Accepted 75fabff8 Diff 2/1 AMU 1
 [2013-06-12 17:28:51] Stratum from pool 0 detected new block
 [2013-06-12 17:28:56] AMU0: Idle for more than 60 seconds, declaring SICK!
 [2013-06-12 17:28:56] AMU0: Attempting to restart
 [2013-06-12 17:29:00] AMU2: Idle for more than 60 seconds, declaring SICK!
 [2013-06-12 17:29:00] AMU2: Attempting to restart
 [2013-06-12 17:29:25] Accepted 0e4d9589 Diff 17/1 AMU 2
 [2013-06-12 17:29:33] Accepted f6882ee4 Diff 1/1 AMU 0
 [2013-06-12 17:30:26] AMU1: Idle for more than 60 seconds, declaring SICK!
 [2013-06-12 17:30:26] AMU1: Attempting to restart
 [2013-06-12 17:30:26] AMU2: Idle for more than 60 seconds, declaring SICK!
 [2013-06-12 17:30:26] AMU2: Attempting to restart
 [2013-06-12 17:30:41] Accepted 09a0fd3a Diff 26/1 AMU 0
 [2013-06-12 17:30:46] Accepted 367769a6 Diff 4/1 AMU 0

the strange thing with this issue is, if I remove all sticks beside one from the hub everything works fine!
any ideas what I could try beside downgrade cgminer?
member
Activity: 89
Merit: 10
June 12, 2013, 05:14:57 AM
#30
Has anyone got cgminer 3.2.1 working with four or more block erupters on the raspberry pi yet?

my raspberry don't work well with cgminer 3.2.1. I have three Block erupter. there are to many errors

My raspberry detects the USB sticks and start mining on 3.2.1, but with a lot of errors and declaring SICKS. I am on powered hub though.
sr. member
Activity: 406
Merit: 250
ALGORY.io Crowdsale starts on 8/12/2017
June 11, 2013, 07:23:12 AM
#29
My RPI works fine with 3 Block Erupter USBs through a 2A powered USB hub.

Just for the record:

Raspberry working fine with 3 eruptors using cgminer 3.1.1 and this hub:
http://www.digitus.info/en/products/accessories/usb-hubs/usb-20-7-port-hub-da-70222/

This hub is a 7-port hub, but only 5 eruptors will fit in (I actually tested the hub on my laptop with 5 eruptors for about 2 hours). Now it's running stable with 3 Eruptors on my raspberry (as only 3 of the 5 eruptors were my own).

To compile cgminer 3.1.1 on a current raspbian system I just did the following:
Code:
sudo apt-get update
sudo apt-get install libusb-1.0-0-dev libusb-1.0-0 libcurl4-openssl-dev libncurses5-dev libudev-dev
wget http://ck.kolivas.org/apps/cgminer/3.1/cgminer-3.1.1.tar.bz2
tar xvf cgminer-3.1.1.tar.bz2
cd cgminer-3.1.1
./configure --enable-icarus
make
# and do a short check if the binary is running:
./cgminer --verbose --text-only

Check that user pi is part of the group "dialout" so it can access the device files /dev/ttyUSBx:
Code:
pi@raspi1 ~ $ groups
pi adm dialout cdrom sudo audio www-data video plugdev games users netdev input

For starting cgminer 3.1.1 with 3 eruptors I use this commandline on the raspberry:
Code:
./cgminer  --icarus-options 115200:1:1 --icarus-timing 3.0=100 -S /dev/ttyUSB0 -S /dev/ttyUSB1 -S /dev/ttyUSB2 --config /home/pi/cgminer.conf

And the config file cgminer.conf looks like this:

Code:
{
"pools" :
        [
                {
                "url" : "http://stratum.bitcoin.cz:3333",
                "user" : "",
                "pass" : ""
                }
        ],
        "expiry" : "120",
        "failover-only" : true,
        "hotplug" : "5",
        "log" : "5",
        "no-pool-disable" : true,
        "queue" : "2",
        "scan-time" : "60",
        "temp-hysteresis" : "3",
        "worktime" : true,
        "shares" : "0",
        "kernel-path" : "/usr/local/bin"
}

hashing away just fine now! Smiley

[edit]
corrected wget command to correct link for cgminer 3.1.1
[/edit]
sr. member
Activity: 251
Merit: 250
June 11, 2013, 03:55:58 AM
#28
Has anyone got cgminer 3.2.1 working with four or more block erupters on the raspberry pi yet?

my raspberry don't work well with cgminer 3.2.1. I have three Block erupter. there are to many errors
sr. member
Activity: 258
Merit: 250
June 11, 2013, 03:08:10 AM
#27
Has anyone got cgminer 3.2.1 working with four or more block erupters on the raspberry pi yet?
newbie
Activity: 41
Merit: 0
June 07, 2013, 05:55:09 AM
#26
You are welcome! Smiley
sr. member
Activity: 406
Merit: 250
ALGORY.io Crowdsale starts on 8/12/2017
June 07, 2013, 05:50:29 AM
#25
Just for the record:

Raspberry working fine with 3 eruptors using cgminer 3.1.1 and this hub:
http://www.digitus.info/en/products/accessories/usb-hubs/usb-20-7-port-hub-da-70222/

This hub is a 7-port hub, but only 5 eruptors will fit in (I actually tested the hub on my laptop with 5 eruptors for about 2 hours). Now it's running stable with 3 Eruptors on my raspberry (as only 3 of the 5 eruptors were my own).

To compile cgminer 3.1.1 on a current raspbian system I just did the following:
Code:
sudo apt-get update
sudo apt-get install libusb-1.0-0-dev libusb-1.0-0 libcurl4-openssl-dev libncurses5-dev libudev-dev
wget http://ck.kolivas.org/apps/cgminer/cgminer-3.1.1.tar.bz2
tar xvf cgminer-3.1.1.tar.bz2
cd cgminer-3.1.1
./configure --enable-icarus
make
# and do a short check if the binary is running:
./cgminer --verbose --text-only

Check that user pi is part of the group "dialout" so it can access the device files /dev/ttyUSBx:
Code:
pi@raspi1 ~ $ groups
pi adm dialout cdrom sudo audio www-data video plugdev games users netdev input

For starting cgminer 3.1.1 with 3 eruptors I use this commandline on the raspberry:
Code:
./cgminer  --icarus-options 115200:1:1 --icarus-timing 3.0=100 -S /dev/ttyUSB0 -S /dev/ttyUSB1 -S /dev/ttyUSB2 --config /home/pi/cgminer.conf

And the config file cgminer.conf looks like this:

Code:
{
"pools" :
        [
                {
                "url" : "http://stratum.bitcoin.cz:3333",
                "user" : "",
                "pass" : ""
                }
        ],
        "expiry" : "120",
        "failover-only" : true,
        "hotplug" : "5",
        "log" : "5",
        "no-pool-disable" : true,
        "queue" : "2",
        "scan-time" : "60",
        "temp-hysteresis" : "3",
        "worktime" : true,
        "shares" : "0",
        "kernel-path" : "/usr/local/bin"
}

hashing away just fine now! Smiley

Thanks a lot!!!
newbie
Activity: 41
Merit: 0
June 05, 2013, 02:01:25 AM
#24
Just for the record:

Raspberry working fine with 3 eruptors using cgminer 3.1.1 and this hub:
http://www.digitus.info/en/products/accessories/usb-hubs/usb-20-7-port-hub-da-70222/

This hub is a 7-port hub, but only 5 eruptors will fit in (I actually tested the hub on my laptop with 5 eruptors for about 2 hours). Now it's running stable with 3 Eruptors on my raspberry (as only 3 of the 5 eruptors were my own).

To compile cgminer 3.1.1 on a current raspbian system I just did the following:
Code:
sudo apt-get update
sudo apt-get install libusb-1.0-0-dev libusb-1.0-0 libcurl4-openssl-dev libncurses5-dev libudev-dev
wget http://ck.kolivas.org/apps/cgminer/3.1/cgminer-3.1.1.tar.bz2
tar xvf cgminer-3.1.1.tar.bz2
cd cgminer-3.1.1
./configure --enable-icarus
make
# and do a short check if the binary is running:
./cgminer --verbose --text-only

Check that user pi is part of the group "dialout" so it can access the device files /dev/ttyUSBx:
Code:
pi@raspi1 ~ $ groups
pi adm dialout cdrom sudo audio www-data video plugdev games users netdev input

For starting cgminer 3.1.1 with 3 eruptors I use this commandline on the raspberry:
Code:
./cgminer  --icarus-options 115200:1:1 --icarus-timing 3.0=100 -S /dev/ttyUSB0 -S /dev/ttyUSB1 -S /dev/ttyUSB2 --config /home/pi/cgminer.conf

And the config file cgminer.conf looks like this:

Code:
{
"pools" :
        [
                {
                "url" : "http://stratum.bitcoin.cz:3333",
                "user" : "",
                "pass" : ""
                }
        ],
        "expiry" : "120",
        "failover-only" : true,
        "hotplug" : "5",
        "log" : "5",
        "no-pool-disable" : true,
        "queue" : "2",
        "scan-time" : "60",
        "temp-hysteresis" : "3",
        "worktime" : true,
        "shares" : "0",
        "kernel-path" : "/usr/local/bin"
}

hashing away just fine now! Smiley

[edit]
corrected wget command to correct link for cgminer 3.1.1
[/edit]
sr. member
Activity: 310
Merit: 250
June 04, 2013, 11:20:33 AM
#23
Has anyone done a test to see if hardware errors go up (and average mh/s down) when using a Pi vs a desktop?
legendary
Activity: 1554
Merit: 1009
June 04, 2013, 11:15:23 AM
#22
i have a pi and 2 USB miners on thier way - whats the best way to configure this?

some info here: https://bitcointalksearch.org/topic/m.2326740
hero member
Activity: 585
Merit: 500
June 04, 2013, 11:07:56 AM
#21
i have a pi and 2 USB miners on thier way - whats the best way to configure this? my pi has been used once or twice since i got it last year Tongue
member
Activity: 110
Merit: 11
June 04, 2013, 05:43:43 AM
#20
Burned out the hubs. No problem at all with 5 sticks though. Been running 5 per hub for several days now with no problem at all (external cooling - 80 total).
sr. member
Activity: 299
Merit: 250
June 04, 2013, 05:39:23 AM
#19
Oh yes. I definitely need to mention that =) These can only power 5 sticks. I burned two of them out trying 6 and 7 sticks.

Also, block erupters USB run way to hot for not external cooling so don't stress the closeness to much. Its mandatory you cool these or they hardware error through the roof.

You burned out the block erupter or the hub??
legendary
Activity: 2702
Merit: 1468
June 03, 2013, 03:43:27 PM
#19
Was anyone able to get the latest cgminer to work? I was also able to get bfgminer but no luck with cgminer.

I have it working on a Pi running cgminer 3.1.1 (on Raspbian).  I had to specify -S /dev/ttyUSB0 etc.

I did not have any luck with cgminer 3.2.0 (yet), or with 3.1.0.

I did not try MinePeon.

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).

How many Erupters can Pi handle?

Without a hub? probably none.

With 2.0 hub(s)!!!
member
Activity: 110
Merit: 11
June 04, 2013, 03:35:17 AM
#18
A single PI can handle 45 block erupters decently well. If you view my profile and click on view posts I posted about this with screenshots in a couple times.
legendary
Activity: 2702
Merit: 1468
June 03, 2013, 03:25:01 PM
#17
Was anyone able to get the latest cgminer to work? I was also able to get bfgminer but no luck with cgminer.

I have it working on a Pi running cgminer 3.1.1 (on Raspbian).  I had to specify -S /dev/ttyUSB0 etc.

I did not have any luck with cgminer 3.2.0 (yet), or with 3.1.0.

I did not try MinePeon.

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).

How many Erupters can Pi handle?
sr. member
Activity: 310
Merit: 250
June 03, 2013, 03:25:53 PM
#17
Was anyone able to get the latest cgminer to work? I was also able to get bfgminer but no luck with cgminer.

I have it working on a Pi running cgminer 3.1.1 (on Raspbian).  I had to specify -S /dev/ttyUSB0 etc.

I did not have any luck with cgminer 3.2.0 (yet), or with 3.1.0.

I did not try MinePeon.

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).

How many Erupters can Pi handle?

Without a hub? probably none.
sr. member
Activity: 476
Merit: 250
June 03, 2013, 03:16:13 PM
#16
Anybody running BE USB devices *and* Cairnsmore CM1s on Raspbian and MPBM.

That combination crashes the machine when I tried it.
sr. member
Activity: 476
Merit: 250
June 03, 2013, 02:55:25 PM
#15
Worth noting I have 80 units running 5 per hub on the hubs I mentioned above.. several days now with no problems after I downgraded from 7 to 6 to 5.
What is the range of hw errors as a percent of accepted shares that you're getting, please?

On my working one it is running at about 0.9%. (IIRC, several other folks have reported getting about a 1% hw error rate.)

One which is now dead and in the process of getting replaced ran at about 10% hw errors for roughly eight hours. Then it died.

NOTE: I had a fan blowing over them. They were both 'warm to the touch'. Not the 'freaking hot' you encounter without active cooling.
member
Activity: 110
Merit: 11
June 03, 2013, 08:26:00 AM
#14
Worth noting I have 80 units running 5 per hub on the hubs I mentioned above.. several days now with no problems after I downgraded from 7 to 6 to 5.
sr. member
Activity: 299
Merit: 250
June 03, 2013, 08:08:24 AM
#13
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.

Thank you for this important piece of information. I have ordered one of these through an American user of this forum. Looks like I'll have to try something different.
legendary
Activity: 1554
Merit: 1009
June 03, 2013, 07:53:57 AM
#12
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).

i've got this Rosewill hub on the way... good to know you've got yours to work!

http://www.amazon.com/Rosewill-10-Port-High-Speed-RHB-520/dp/B007ZSKJV0

it's a 3.5A, so i think 7 erupters would be a hard limit Smiley
legendary
Activity: 966
Merit: 1000
June 03, 2013, 05:34:33 AM
#11
Was anyone able to get the latest cgminer to work? I was also able to get bfgminer but no luck with cgminer.

I have it working on a Pi running cgminer 3.1.1 (on Raspbian).  I had to specify -S /dev/ttyUSB0 etc.

I did not have any luck with cgminer 3.2.0 (yet), or with 3.1.0.

I did not try MinePeon.

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).
member
Activity: 110
Merit: 11
June 03, 2013, 04:45:48 AM
#10
Was anyone able to get the latest cgminer to work? I was also able to get bfgminer but no luck with cgminer.
newbie
Activity: 52
Merit: 0
June 03, 2013, 04:35:54 AM
#9
I have bfgminer working on minepeon - had to compile from git, the one installed by default does NOT work.

I posted some instructions and such here https://bitcointalksearch.org/topic/m.2326740
member
Activity: 110
Merit: 11
June 03, 2013, 03:56:58 AM
#8
Oh yes. I definitely need to mention that =) These can only power 5 sticks. I burned two of them out trying 6 and 7 sticks.

Also, block erupters USB run way to hot for not external cooling so don't stress the closeness to much. Its mandatory you cool these or they hardware error through the roof.
sr. member
Activity: 266
Merit: 250
The Assman: CEO of Vandelay Import/Export, Inc.
June 03, 2013, 03:55:52 AM
#7
The ports look too close together for Erupter sticks.
Most definitely.
hero member
Activity: 560
Merit: 517
June 03, 2013, 03:30:52 AM
#6
Quote
This is the hub I would recommend.
The ports look too close together for Erupter sticks.

member
Activity: 110
Merit: 11
member
Activity: 110
Merit: 11
June 03, 2013, 03:27:40 AM
#4
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.
sr. member
Activity: 266
Merit: 250
The Assman: CEO of Vandelay Import/Export, Inc.
June 03, 2013, 03:12:05 AM
#3
I didn't have any luck with cgminer either. I had a little raspberry pie and the Anker 3.0 USB hub, and I heard the Anker could have been the problem though. Waiting for a new version of cgminer and a new hub to arrive - keeping my fingers crossed!
member
Activity: 110
Merit: 11
June 02, 2013, 10:13:53 AM
#2
They won't work out of the box on the version that is released as of today. I was able to get the current version of bfgminer to run on it but not cgminer.

I posted more on it here: https://bitcointalksearch.org/topic/m.2345214
legendary
Activity: 1611
Merit: 1001
June 02, 2013, 09:39:53 AM
#1
With MinePeon, does anyone know of the USB Block Erupter ASICs will work 'out of the box'?

Thanks for the help  Smiley
Jump to: