Bitcoin Forum
November 13, 2024, 11:13:55 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Raspberry Pi, BFGMiner, and Antminer U1/U2s  (Read 3073 times)
Franklin16422 (OP)
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
January 12, 2015, 02:16:47 PM
 #1

Some questions about running U1/U2s on a Raspberry Pi B+ using BFGMiner (Debian Wheazy):

1) I can get the Pi to recognize one miner consistently and occasionally two when plugged directly into the Pi. The Pi won't recognize any miners plugged into a powered hub (the setup works well in a Win 7 environment). Any ideas?

2) Given #1, how many miners can I run using powered hubs on the Pi?

3) When using BFGMiner I can seem to get it to recognize the configuration file. I suspect I can force it with a particular command line but don't know the syntax. Any ideas? (I recognize this one might need to go to another forum)

Any help appreciated.

Ken
sbogovac
Legendary
*
Offline Offline

Activity: 2744
Merit: 1193


I don't believe in denial.


View Profile
January 12, 2015, 02:34:48 PM
 #2

Have you tried following this tut(-orial): https://bitcointalk.org/index.php?topic=410488.0

0x7442A5c37E513D335F53843cD20c00F77eAC7867
Franklin16422 (OP)
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
January 12, 2015, 03:01:14 PM
 #3

Just took a look at it but it doesn't address my questions since it is

a) a different miner
b) using different software

(unless I'm missing something on both accounts)

I have the BFGMiner software running and can get one miner to recognized and working it's the multiple issue I really want to address.

Thanks!

Ken
sbogovac
Legendary
*
Offline Offline

Activity: 2744
Merit: 1193


I don't believe in denial.


View Profile
January 12, 2015, 03:05:38 PM
 #4

Just took a look at it but it doesn't address my questions since it is

a) a different miner
b) using different software

(unless I'm missing something on both accounts)

I have the BFGMiner software running and can get one miner to recognized and working it's the multiple issue I really want to address.

Thanks!

Ken

Yes, I used it for a different miner... but;

This should work on an Antminer U1 and U2 too; and,

Although it is different software, at least it should work...

Bonus would be: worst case scenario it didn't help, but you learn even more by doing it...  Grin

0x7442A5c37E513D335F53843cD20c00F77eAC7867
Franklin16422 (OP)
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
February 02, 2015, 11:46:59 PM
 #5

Actually I think I solved my problem though not in the manner I expected. I bought a U3 and in the process of getting it to run under CGMiner, things started working like their supposed to. It could have been a problem with the BFGMiner build code I used or it may just be the difference between the two pieses of mining software. I never could get CGMiner to run under Windows 7...
alh
Legendary
*
Offline Offline

Activity: 1848
Merit: 1052


View Profile
February 03, 2015, 12:13:54 AM
 #6

I have run an RPi with both U1 and U2 with bfgminer. I don't recall the bfgminer level. I always had the U1 and U2 on a solid powered hub (e.g. a 7 port Dlink with plenty of power). What I always did was after I booted the Rpi, but before I tried to run bfgminer, I would look for and count the /dev/ttyUSB* entries. There should be one for each U1/U2. That tells you if the Pi
has recognized them. I also recall having to build bfgminer with some specific argument to make sure it had the right driver, and recognition software included.

This may all be moot if you are happy with cgminer.

Regardless of the mining software, you will want the U1/U2 on a powered hub. 
richardamullens
Newbie
*
Offline Offline

Activity: 51
Merit: 0


View Profile
February 03, 2015, 04:05:57 AM
 #7


Regardless of the mining software, you will want the U1/U2 on a powered hub.  

I have a raspberry Pi B+ and 4 U1/2s.  Three U2s are connected to a powered hub and the U1 is connected to one of the RPi USB ports.
There is a configuration change to allow the Pi ports to source 1.2A I recollect.  That suggest it may be possible to have 2 U2s connected directly - but I have not tried it.
My USB(2) hub is crap - with 3 antminers connected it drops a lot of volts - I think I'm feeding it with 5.7V to get 4.5V at the USB device.

With a B+ or the new Raspberry Pi 2 it might be possible to connect 2 U2s directly - but no more.
Franklin16422 (OP)
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
February 06, 2015, 10:13:47 PM
 #8

I got things figured out and now have 4 PIs running a totall of 10 U1/U2s and 1 U3 and still have one pi idling as a standby. THe U1/U2s are running under BFGMiner and the U3 is running under cCGMiner.  I working out a stability issue with the U3 where it will run for several hours and then the process will stop with no apparent error. Not sure if it's the PI, CGMiner, or comms...
vm1990
Legendary
*
Offline Offline

Activity: 1540
Merit: 1002



View Profile
February 10, 2015, 01:55:11 AM
 #9

I got things figured out and now have 4 PIs running a totall of 10 U1/U2s and 1 U3 and still have one pi idling as a standby. THe U1/U2s are running under BFGMiner and the U3 is running under cCGMiner.  I working out a stability issue with the U3 where it will run for several hours and then the process will stop with no apparent error. Not sure if it's the PI, CGMiner, or comms...

its a common problem with pi and cgminer i ran into it alot with my hex furry.... completely crashing my pi 

jfoo1984
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
June 02, 2015, 02:18:05 AM
 #10

Franklin,

Are you running different ant miner models on the same raspberry pi?  I have a U3 and and U2 on the way, so I was wondering if I'd be able to run them on a single pi with cgminer.  Or are the different models just running on separate pi's? 

Is there anything special about the command for running the U1/U2's?  I got my U3 running following the 2nd reply here: https://www.raspberrypi.org/forums/viewtopic.php?t=103046&p=727350

I got things figured out and now have 4 PIs running a totall of 10 U1/U2s and 1 U3 and still have one pi idling as a standby. THe U1/U2s are running under BFGMiner and the U3 is running under cCGMiner.  I working out a stability issue with the U3 where it will run for several hours and then the process will stop with no apparent error. Not sure if it's the PI, CGMiner, or comms...
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!