Bitcoin Forum
April 19, 2014, 10:07:50 PM *
News: Due to the OpenSSL heartbleed bug, changing your forum password is recommended.
 
   Home   Help Search Donate Login Register  
Pages: 1 [2]  All
  Print  
Author Topic: [BOUNTY 5 BTC] Clear instructions for cgminer's --scan-serial option  (Read 5863 times)
lodcrappo
Hero Member
*****
Offline Offline

Activity: 588


View Profile WWW

Ignore
February 27, 2012, 10:18:39 PM
 #21



Thanks for the help. I have determined that BAMT does not contain the proper serial support needed to create the ttyUSB* files. Moving on to ubuntu this evening....

I am interested to know how this was "determined" ?

If you want to support further development of BAMT (http://bamter.org/):  1PoRYaGS56ksQmK7XXLurW3B2zwCAE8PRc
1397945270
Hero Member
*
Offline Offline

Posts: 1397945270

View Profile Personal Message (Offline)

Ignore
1397945270
Reply with quote  #2

1397945270
Report to moderator
1397945270
Hero Member
*
Offline Offline

Posts: 1397945270

View Profile Personal Message (Offline)

Ignore
1397945270
Reply with quote  #2

1397945270
Report to moderator
Unbeatable Service & Product Support
Grab Your Miners at GAWMiners.com
Order Before April 25th to receive
Double your Hashing Power for 1 week!

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1397945270
Hero Member
*
Offline Offline

Posts: 1397945270

View Profile Personal Message (Offline)

Ignore
1397945270
Reply with quote  #2

1397945270
Report to moderator
1397945270
Hero Member
*
Offline Offline

Posts: 1397945270

View Profile Personal Message (Offline)

Ignore
1397945270
Reply with quote  #2

1397945270
Report to moderator
1397945270
Hero Member
*
Offline Offline

Posts: 1397945270

View Profile Personal Message (Offline)

Ignore
1397945270
Reply with quote  #2

1397945270
Report to moderator
gigavps
VIP
Hero Member
*
Offline Offline

Activity: 1022



View Profile

Ignore
February 28, 2012, 01:25:51 AM
 #22



Thanks for the help. I have determined that BAMT does not contain the proper serial support needed to create the ttyUSB* files. Moving on to ubuntu this evening....

I am interested to know how this was "determined" ?


By my non existent linux skills..... hence the bounty for some help.
gnar1ta$
Donator
Hero Member
*
Offline Offline

Activity: 742


View Profile

Ignore
February 28, 2012, 03:21:31 PM
 #23

Hey gigavps I saw in the cgminer thread you got this mostly working??  Would you mind sharing what was needed for BAMT + cgminer + BFL? (given there was bounty, no would be a perfectly reasonable answer here)

Losing hundreds of Bitcoins with the best scammers in the business - BFL, Avalon, KNC, HashFast.
gigavps
VIP
Hero Member
*
Offline Offline

Activity: 1022



View Profile

Ignore
February 28, 2012, 03:32:08 PM
 #24

Hey gigavps I saw in the cgminer thread you got this mostly working??  Would you mind sharing what was needed for BAMT + cgminer + BFL? (given there was bounty, no would be a perfectly reasonable answer here)

Hi gnar1ta$,

The bounty has gone to lodcrappo (the creator of BAMT) as he was able to log into my rig and figure out what was needed to get the debian OS to recognize the single. There kernel mod was there but not enabled and there were a couple other things he did to get it working.

Lodcrappo created fix #7 for BAMT 0.5 to distribute this to the masses.

I now have the single plugged into a BAMT rig and cgminer recognizes it and runs it. Unfortunately, the gpumon and mgpumon tools are based on gpus and not devices and the cgminer api call "devs" does not return the BFL device, so no monitoring.

We are close.... I can smell it.  Smiley
gnar1ta$
Donator
Hero Member
*
Offline Offline

Activity: 742


View Profile

Ignore
February 28, 2012, 03:47:15 PM
 #25

We are close.... I can smell it.  Smiley

That's good to know.  I spent some time without BAMT on my rigs...never again.

Losing hundreds of Bitcoins with the best scammers in the business - BFL, Avalon, KNC, HashFast.
gigavps
VIP
Hero Member
*
Offline Offline

Activity: 1022



View Profile

Ignore
February 28, 2012, 03:55:45 PM
 #26

We are close.... I can smell it.  Smiley

That's good to know.  I spent some time without BAMT on my rigs...never again.

I know the feeling. Compiling shit and trying to find everything to get ubuntu setup with cgminer is quite a chore. BAMT is my friend.
kano
Hero Member
*****
Offline Offline

Activity: 1008


Linux since 1997 RedHat 4


View Profile

Ignore
February 28, 2012, 08:09:57 PM
 #27

I have not written API support yet - no bounty oh well I'll consider it some time in the future Tongue

Luke-jr wrote the BFL support but didn't bother adding the API code (even after I pointed that out to him)

(The first post says "LINUX" not BAMT - thus my last post was actually correct Tongue)

Edit: ...

https://bitcointalk.org/index.php?topic=28402.msg738661#msg738661

BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CGMiner developer,  IRC FreeNode #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
gnar1ta$
Donator
Hero Member
*
Offline Offline

Activity: 742


View Profile

Ignore
February 28, 2012, 11:48:42 PM
 #28

I have not written API support yet - no bounty oh well I'll consider it some time in the future Tongue

Well I don't have one yet, but I'll contribute 5 BTC to you to write in the support.

Losing hundreds of Bitcoins with the best scammers in the business - BFL, Avalon, KNC, HashFast.
gigavps
VIP
Hero Member
*
Offline Offline

Activity: 1022



View Profile

Ignore
February 29, 2012, 12:06:35 AM
 #29

I have not written API support yet - no bounty oh well I'll consider it some time in the future Tongue

Well I don't have one yet, but I'll contribute 5 BTC to you to write in the support.

https://bitcointalk.org/index.php?topic=66699.0
fred0
Sr. Member
****
Offline Offline

Activity: 349


View Profile

Ignore
March 08, 2012, 09:48:55 PM
 #30

Just got 3 BFL Singles working.

I'm on ubuntu.

--scan-serial auto only detected the first device.

So for the cgminer command line you should expect somthing like this:

Code:
CGMCMD="./cgminer \
    -o $MINERPOOL1:$MINERPORT1 -u $MINERUSER1 -p $MINERPASS1 \
    -o $MINERPOOL2:$MINERPORT2 -u $MINERUSER2 -p $MINERPASS2 \
    -o $MINERPOOL3:$MINERPORT3 -u $MINERUSER3 -p $MINERPASS3 \
    --scan-serial /dev/ttyUSB0 \
    --scan-serial /dev/ttyUSB1 \
    --scan-serial /dev/ttyUSB2 \
    --failover-only \
    --disable-gpu \
    --submit-stale \
    "
echo $CGMCMD
cd $HOME/bfl

exec gnome-terminal --command="$CGMCMD" --title="BFL" --geometry=104x44-0+0 &
Disclaimer:  This may have been fixed recently, but I don't think anyone has been working on this.  Luke-Jr may have, I'll check out the most recent source later. But I KNOW this works.

Happy hashing.  Smiley
kano
Hero Member
*****
Offline Offline

Activity: 1008


Linux since 1997 RedHat 4


View Profile

Ignore
March 08, 2012, 10:58:58 PM
 #31

Yep there are issues with --scan-serial
If you have both Icarus and Bitforce enabled and plug in an Icarus, the "auto" will hang.
Luke-jr posted a hack pull (well I consider it a hack) to work around that.
But it needs some work still as I have mentioned in 2 other threads.
Clearly specifying --scan-serial each device is the most reliable method at the moment.

BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CGMiner developer,  IRC FreeNode #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
wogaut
Donator
Sr. Member
*
Offline Offline

Activity: 448



View Profile

Ignore
May 22, 2012, 06:55:17 PM
 #32

I have determined that BAMT does not contain the proper serial support needed to create the ttyUSB* files.

Just want to note the solution to that issue here (this has been posted by somebody elsewhere too), since I searched for it a while ago and it's somewhat frustrating to find this thread without the obvious solution for the generic Linux user without automatic ttyUSB mapping:

Depending on yourLinux distro your BFL might not show as a ttyUSB* device.

If you do a
Code:
ls /dev/ttyUSB*
and nothing shows up then
Code:
sudo modprobe ftdi_sio vendor=0x0403 product=0x6014
sudo chmod a+rw /dev/ttyUSB*

This reqires that you have general USB device support installed.

I got the vendor/product pair from dmesg (after plugging in the Single)
Code:
dmesg | grep -i bitforce
to find the USB device number
Code:
dmesg | grep -i vendor
to find the vendor/product codes (use the one with the matching USB device number)

compile cgminer with
Code:
./configure --enable-bitforce

and then
Code:
cgminer -S auto
and all the usual other parameters, should find your BFL Single.

smracer
Donator
Hero Member
*
Offline Offline

Activity: 680



View Profile WWW

Ignore
May 22, 2012, 08:07:34 PM
 #33

It took me about 4 hours last night to figure this out.

I wish you would have posted this 24 hours ago.   Undecided

1smracer15yDLhJG27fd7GV3tegcNjtg2
www.btcpig.com - BTC Stats.
wogaut
Donator
Sr. Member
*
Offline Offline

Activity: 448



View Profile

Ignore
May 22, 2012, 08:15:31 PM
 #34

It took me about 4 hours last night to figure this out.

I wish you would have posted this 24 hours ago.   Undecided


Dang, if I only knew that sooner!
Then I hope it will be helpful to someone else  Cheesy

smracer
Donator
Hero Member
*
Offline Offline

Activity: 680



View Profile WWW

Ignore
May 23, 2012, 09:44:10 PM
 #35

I am having a new problem.  I just switched to a thin client that only uses 36 watts.  I have 2 other thin clients running with Ubuntu 11.04 on them.  Only on this one cgminer looks different.  It is just one line and everything is flying by and it is hard to see what is going on.

Is this a different view?  Did I set it somehow in the conf file maybe?

How do i get the normal cgminer status window where I can see all my miners in a row?

Thanks

Bo

1smracer15yDLhJG27fd7GV3tegcNjtg2
www.btcpig.com - BTC Stats.
Pages: 1 [2]  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!