phrog
Newbie
Offline
Activity: 35
Merit: 0
|
|
July 18, 2013, 08:23:26 AM |
|
Note: this is not the latest version of cgminer, at the time of this writing, the current version (3.3.1) has issues communicating with Block Erupter USB on Raspbian FYI, I also experienced issues with Block Erupter USB's on Raspbain. However I was successful at building and running cgminer from git (3.3.1) after dist-upgrading Raspbain from wheesy to jessie.
|
|
|
|
|
|
|
|
|
"Governments are good at cutting off the heads of a centrally
controlled
networks like Napster, but pure P2P networks like Gnutella and Tor seem
to be holding their own." -- Satoshi
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
LaserHorse (OP)
|
|
July 18, 2013, 09:22:54 AM |
|
FYI, I also experienced issues with Block Erupter USB's on Raspbain. However I was successful at building and running cgminer from git (3.3.1) after dist-upgrading Raspbain from wheesy to jessie.
Thnx - good to know! I'll update the tutorial once jessie is considered stable.
|
|
|
|
33Warlord
Newbie
Offline
Activity: 19
Merit: 0
|
|
July 21, 2013, 01:43:57 AM Last edit: July 21, 2013, 04:10:49 PM by 33Warlord |
|
Thanks for the great project, LaserHorse. My Pi Miner has been running great for the past week with 9 Erupters. But, I'm having a problem adding more Erupters to it and hope that someone may be able to share some guidance. When trying to add 6 additional Erupters (for a total of 15), I discovered that it will only "see" 13 total. i.e., typing "ls /dev/*USB*" only lists ttyUSB0 - ttyUSB12, even though there are 15 Erupters installed.A few notes: - I built a second RPi Miner, with a newly imaged SD-card, and ran into the exact same issue.
- The 15 Erupters were installed across 3 DLink DUB-H7 hubs, 5 in each hub. So I don't think its power related.
- These 3 hubs feed into a 4th hub which is connected to the RPi.
- I'm using Raspbian, and followed the build process specified in your project walk-through.
- The 2 Erupters that it wont see are running fine on a separate RPi miner. So it doesn't appear to be a hardware problem with those Erupters.
Any recommendations for troubleshooting this? Is there a default max number of USB serial devices that are enumerated in Raspbian?
|
|
|
|
Rotorgeek
Newbie
Offline
Activity: 44
Merit: 0
|
|
July 21, 2013, 11:19:24 PM |
|
Laserhorse, Can a backup pool be put in the .conf? I added a pool while mining and hit 'S' and 'W' but it didn't change anything. What about other options can be added, like difficulty?
|
|
|
|
LaserHorse (OP)
|
|
July 22, 2013, 11:43:58 PM |
|
Laserhorse, Can a backup pool be put in the .conf? I added a pool while mining and hit 'S' and 'W' but it didn't change anything. What about other options can be added, like difficulty?
yup - add'l pools can be added to the conf file like so: "pools" : [ { "url" : "FIRST POOL ADDRESS:PORT", "user" : "WORKER NAME", "pass" : "PASSWORD" }, { "url" : "SECOND POOL ADDRESS:PORT", "user" : "WORKER NAME", "pass" : "PASSWORD" }, ] And yes - you can add a pool or make other changes from within cgminer: hit "S" to go to settings, then "W" to write the config file and save it by entering the following location: "/home/pi/cgminer.conf" and enter "y" confirm that you wish to overwrite the preexisting file. Thanks for the great project, LaserHorse. My Pi Miner has been running great for the past week with 9 Erupters. But, I'm having a problem adding more Erupters to it and hope that someone may be able to share some guidance. When trying to add 6 additional Erupters (for a total of 15), I discovered that it will only "see" 13 total. i.e., typing "ls /dev/*USB*" only lists ttyUSB0 - ttyUSB12, even though there are 15 Erupters installed.A few notes: - I built a second RPi Miner, with a newly imaged SD-card, and ran into the exact same issue.
- The 15 Erupters were installed across 3 DLink DUB-H7 hubs, 5 in each hub. So I don't think its power related.
- These 3 hubs feed into a 4th hub which is connected to the RPi.
- I'm using Raspbian, and followed the build process specified in your project walk-through.
- The 2 Erupters that it wont see are running fine on a separate RPi miner. So it doesn't appear to be a hardware problem with those Erupters.
Any recommendations for troubleshooting this? Is there a default max number of USB serial devices that are enumerated in Raspbian? hmm … so the hubs are *not* connected in a series/chain, correct? I haven't tested with more than six erupters myself, so you have me at a bit of a loss here. Shot in the dark, but have you tried specifying ttyUSB13 & ttyUSB14 even though they don't show with ls?
|
|
|
|
33Warlord
Newbie
Offline
Activity: 19
Merit: 0
|
|
July 23, 2013, 02:09:51 AM Last edit: July 23, 2013, 03:19:08 AM by 33Warlord |
|
hmm … so the hubs are *not* connected in a series/chain, correct? I haven't tested with more than six erupters myself, so you have me at a bit of a loss here. Shot in the dark, but have you tried specifying ttyUSB13 & ttyUSB14 even though they don't show with ls?
Thanks for the ideas and feedback. To answer your question - you are correct, the hubs are not in series, but rather connected in a hub/spoke style. (RPi -> Hub1. Then Hub1 connects to Hub2, 3 and 4 directly.) I did not try specifying ttyUSB13 & 14, although that is a great suggestion. I'll try it in a few days when I get back in town, and post my results back here.
|
|
|
|
|
LaserHorse (OP)
|
|
July 23, 2013, 06:04:03 AM |
|
... ladies & gentlemen, I believe we have a new pi-hi-score
|
|
|
|
jimmy3dita
|
|
July 23, 2013, 07:53:43 AM |
|
... ladies & gentlemen, I believe we have a new pi-hi-score I can't ever see the poor little thing... Buried with hashpower
|
Acquista il mio libro "Investire Bitcoin": clicca qui
|
|
|
dc81
Member
Offline
Activity: 108
Merit: 100
|
|
July 26, 2013, 04:08:20 PM |
|
anyone know of a case that will also accommodate the lcd? also, I made a slight change to PiMinerInfo.py since if you have multiple pools, it doesn't actually know which one you are currently mining on
|
|
|
|
|
tombs
Newbie
Offline
Activity: 17
Merit: 0
|
|
August 02, 2013, 05:03:03 AM |
|
Where can I buy assembled Adafruit 16x2 LCD display? Thank you.
Drop me a line if you're still looking. I'm selling assembled and tested ones for $45 shipped. I would be interested in one as I don't have the time to assemble it myself.
|
|
|
|
kmtan
Full Member
Offline
Activity: 196
Merit: 100
I love Bitcoin
|
|
August 03, 2013, 01:05:03 AM |
|
I love this project, is that any more controller available for purchase in china?
|
|
|
|
pluMmet
|
|
August 06, 2013, 10:55:54 PM |
|
How would you set up the config file for Eligius?
I'm not to bright all these different hosts and I'm confused Stratum Host: stratum.mining.eligius.st Port: 3334 | Getwork Host: getwork.mining.eligius.st Port: 8337 GBT Host: gbt.mining.eligius.st Port: 9337
|
|
|
|
LaserHorse (OP)
|
|
August 07, 2013, 12:22:59 AM |
|
I love this project, is that any more controller available for purchase in china?
hmm - list of distributors is here. None in China quite yet. How would you set up the config file for Eligius?
I'm not to bright all these different hosts and I'm confused Stratum Host: stratum.mining.eligius.st Port: 3334 | Getwork Host: getwork.mining.eligius.st Port: 8337 GBT Host: gbt.mining.eligius.st Port: 9337
Try using this format for the URL: http://stratum.mining.eligius.st:3334
|
|
|
|
djjacket
|
|
August 09, 2013, 03:21:09 PM |
|
Great Project! Got mine up and running and thought I'd post a couple pics!
|
|
|
|
SpAcEDeViL
Legendary
Offline
Activity: 986
Merit: 1027
Miner-Control.de Pooler
|
|
September 11, 2013, 08:47:53 PM |
|
HY, The PiMiner is very cool! Can you write a PiMiner Script for a another Display, with more infos? Like this: Or this : Or this: With info of uptime, a diagramm with mining infos? Or Infos from APIs from BTCGuild?
|
|
|
|
Xwolf
Newbie
Offline
Activity: 26
Merit: 0
|
|
September 21, 2013, 05:44:08 PM |
|
Has anyone heard of or tried to get the LCD Plate working with BFGminer using PiMiner?
I am not a code expert so really don't know what I'd be looking at editing PiMiner.py to get it to work.
Cheers,
|
|
|
|
SpAcEDeViL
Legendary
Offline
Activity: 986
Merit: 1027
Miner-Control.de Pooler
|
|
September 23, 2013, 04:52:04 PM |
|
Hy,
you need to know, how the api from the bfgminer works.
If it works with the same parameters you dont need any changes.
|
|
|
|
onryo
Newbie
Offline
Activity: 25
Merit: 0
|
|
September 28, 2013, 05:00:04 PM |
|
Has anyone heard of or tried to get the LCD Plate working with BFGminer using PiMiner?
I am not a code expert so really don't know what I'd be looking at editing PiMiner.py to get it to work.
Cheers,
# Been running Raspbian, BFGMiner, Adafruit 2x16 LCD and a handful of BE with no problems at all. # Forgot all about my little setup them until I saw this post. # The erupters have been hashing away for 2-3 weeks non-stop. HW errors 0.48%. No lockups or issues. Really solid! git clone https://github.com/luke-jr/bfgminer.gitcd bfgminer ./autogen.sh ./configure make # I like to run BFGMiner from the build dir. I don't install. # BFGMiner's API does not blindly listen to any old crap. We need to enable the api in a way # that is not going to restict the port. # There are a few ways to do this but the easyest is to use api-network. ./bfgminer -o http://xxxxx:port -u onryo -p xxx --api-listen --api-network -S erupter:all # Now your Adafruit is hashing away with your erupters with BFGMiner and your Adafruit is # working just fine with your erupters. # Make a nice bfgminer.conf file and save it in lets say ~/.bfgminer/ so you dont lose it. # I just pull my "play around" gits in a dir called sandbox. Add this to your /etc/rc.local cd /home/pi/sandbox/PiMiner python PiMiner.py & cd /home/pi/sandbox/bfgminer ./bfgminer --config /home/pi/.bfgminer/bfgminer.conf -S erupter:all # I don't use nohup for a lot of reasons. # If you do not want to see "connecting to cgminer" when you start your RPi # change the line in PiMinerDisplay.py to self.lcd.message('connecting\nto BFGMiner ...') # top shows that PiMiner is a CPU hog though. 28%
|
|
|
|
|