Bitcoin Forum
September 24, 2025, 06:26:35 AM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Other / Beginners & Help / Re: Raspberry Pi Running Antminer U1 on: February 23, 2014, 06:36:28 PM
Hi I am new to the forum.  I have a question regarding piminer with BEs and Antminer.  If two instances of CGminer need to be running to support BEs and Antminers on the same hub, will piminer be able to display information from both instances of CGminer?  Sorry if the question sounds confusing.  Thank you in advance!

I just came across this site where the guy updated the Adafruit PiMiner program to run the lcd for newer versions of cgminer. I tried to load it but got an error while trying to 'git clone' and no time now to troubleshoot...
I'd like to know how to modify it to display both the Antminers and the BE.
http://www.granthamm.com/bitcoin-mining-raspberry-pi-antminer-u1-fun/
2  Other / Beginners & Help / Re: Raspberry Pi Running Antminer U1 on: January 12, 2014, 04:37:15 PM
Update for those keeping score:
Contrary to Swearving, I had to run cgminer-3.1.1 first with the BE's plugged in (not the U1). I then ran PiMiner which recognized all BE's. Next I plugged in the U1 and ran Swearving's frigged method:
ls /dev/*USB*
cd ./cgminer
sudo ./cgminer --bmsc....

Not really for here but it would be great to know how to update PiMiner so my lcd shows status of all miners not just the BE's.

Thanks again for all the help and quick responses Smiley
3  Bitcoin / Mining support / Re: Noob Question: Antminer and Block Erupter? on: January 12, 2014, 02:18:56 PM
I got help running them together here:
https://bitcointalk.org/index.php?topic=399054.0;all
4  Other / Beginners & Help / Re: Raspberry Pi Running Antminer U1 on: January 12, 2014, 01:37:29 PM
Sweaving - Thanks for all the great help! You were right, I ran:
cd ./cgminer
sudo ./cgminer etc...

I see the U1 running then I plugged in the BE's and ran cgminer-3.1.1. The lights are all blinking away.

How can I check the status of both cgminers to see how the U1 and the BE's are functioning? I see other people posting screenshots of their miners status but never figured out how to do it.

Also, now my adafruit 16x2 LCD screen is stuck on 'IP ADDRESS..."
5  Other / Beginners & Help / Re: Raspberry Pi Running Antminer U1 on: January 12, 2014, 05:38:39 AM
Ok, i am running both BE's and Ant miner on my Pi, first thing you MUST do is install 2 instances of cgminer, get one to run ok with BE's using icarus(No ant miner plugged in) and then do the same with the other instance of cgminer for Ant miner using bmsc..

i use 3.1.1 for BE's
and the "frigged" 3.8.5 version from above for ant miner.

now, to run 2 cgminers at the same time, 1st unplug all miners..now plug in antminer and on the command line from above at the end of it add --usb :1
This tells cgminer to look for the 1st hotplug device and no more..now this cgminer should be running.

plug in your BEs

do ls /dev/*USB*

this will list all your USB devices(except for the ant miner)

now run the cgminer-3.1.1 start line adding -S /dev/ttyUSB0 -S /dev/ttyUSB1 .......etc for all devices.

nb there will be conflict between icarus and bmsc thus 2 cgminer instances.

I'm getting closer!!!
Reloaded both cgminer 3.1.1 and 3.8.5. I got the 3.1.1 running with my 3 BE. Now I am rebooting with just the U1 installed and running 3.8.5.

cgminer-3.8.5 is running but I can't get it to recognize my U1. This is what I get this on my screen (wanted to upload image but not working...):
 
cgminer version 3.8.5 - Started: [2014-01-12 00:34:07]
--------------------------------------------------------------------------------
 (5s):0.000 (avg):0.000h/s | A:0  R:0  HW:0  WU:0.0/m
 ST: 2  SS: 0  NB: 1  LW: 15  GF: 0  RF: 0
 Connected to stratum.bitcoin.cz diff 1 with stratum as user x.worker1
 Block: 21d906c7...  Diff:1.42G  Started: [00:34:07]  Best share: 0
--------------------------------------------------------------------------------
 [P]ool management [S)ettings [D]isplay options [Q]uit
--------------------------------------------------------------------------------

 [2014-01-12 00:36:38] See README file included for help
 [2014-01-12 00:36:38] Bitmain detect (1:12) failed to initialise (incorrect dev
ice?)
 [2014-01-12 00:36:44] USB init, open device failed, err -3, you don't have priv
ilege to access - AMU device 1:12
 [2014-01-12 00:36:44] See README file included for help
 [2014-01-12 00:36:44] Bitmain detect (1:12) failed to initialise (incorrect dev
ice?)
 [2014-01-12 00:36:49] USB init, open device failed, err -3, you don't have priv
ilege to access - AMU device 1:12
 [2014-01-12 00:36:49] See README file included for help
 [2014-01-12 00:36:49] Bitmain detect (1:12) failed to initialise (incorrect dev
ice?)

Any ideas on this one?
Thanks
6  Other / Beginners & Help / Re: Raspberry Pi Running Antminer U1 on: January 09, 2014, 12:34:09 AM
I'm still not able to get past this line...
cd ./cgminer
./cgminer --bmsc-options 115200:20 -o mint.bitminter.com:3333 -u bitcoinco_demo -p x--bmsc-freq 0781

Now I get:
Unexpected extra commandline arguments
Segmentation fault

Also: do I add the '--usb :1' command like this:
./cgminer --bmsc-options 115200:20 -o mint.bitminter.com:3333 -u bitcoinco_demo -p x--bmsc-freq 0781 --usb :1
7  Other / Beginners & Help / Re: Raspberry Pi Running Antminer U1 on: January 08, 2014, 11:01:18 PM
Going to try that tonight. Guess that means no auto-start option?
Thanks for the help
8  Other / Beginners & Help / Re: Raspberry Pi Running Antminer U1 on: January 08, 2014, 04:08:53 PM
When I ran it last night I did:
git clone https://github.com/AdvancedStyle/cgminer
cd cgminer
sudo apt-get install libusb-1.0
sudo apt-get install libudev-dev
./autogen.sh
./configure --enable-bmsc
./configure --enable-icarus
make -j 6

My thought was that I'd be enabling both the antminer and my BE.

I am rerunning it now with just bmsc to see if there is a conflict when both are enabled. Should know soon.
9  Other / Beginners & Help / Re: Raspberry Pi Running Antminer U1 on: January 08, 2014, 03:19:04 PM
Thanks for the response. Late night trying on my own to no avail.
I tried that before, and just just did it again:
cd ./cgminer
./cgminer --bmsc-options 115200:20 -o mint.bitminter.com:3333 -u bitcoinco_demo -p x--bmsc-freq 0781

I get:
./cgminer: --bmsc-options: unrecognized option
10  Other / Beginners & Help / Re: Raspberry Pi Running Antminer U1 on: January 08, 2014, 02:36:41 PM
New to rpi and mining. I got my BE's working with cgminer 3.1.1 but having same trouble as others with upgrade and the U1.

So far everything is going relatively smooth... except when I get to:
sudo ./cgminer --bmsc-options 115200:20 -o mint.bitminter.com:3333 -u bitcoinco_demo -p x--bmsc-freq 0781
I get:
sudo ./cgminer not found

Any suggesting to help me out?

Also:
If I want to run BE and Antminer on the same hub can I just enable both icarus and bmsc?
How does this change the autostart up line? I know I need something for the BE's to autostart too. This is what I have so far:

sudo nano /etc/rc.local

cd /home/pi/PiMiner
python PiMiner.py &
cd ..
nohup ./cgminer/cgminer --config /home/pi/cgminer.conf --bmsc-options 115200:20

Thanks for the help!
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!