Pages:
Author

Topic: Block Erupter and Raspberry Pi - page 2. (Read 12293 times)

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]
Pages:
Jump to: