Bitcoin Forum
April 19, 2024, 01:37:14 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: [BOUNTY 5 BTC] Clear instructions for cgminer's --scan-serial option  (Read 9003 times)
lodcrappo
Hero Member
*****
Offline Offline

Activity: 616
Merit: 506


View Profile
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" ?
1713533834
Hero Member
*
Offline Offline

Posts: 1713533834

View Profile Personal Message (Offline)

Ignore
1713533834
Reply with quote  #2

1713533834
Report to moderator
1713533834
Hero Member
*
Offline Offline

Posts: 1713533834

View Profile Personal Message (Offline)

Ignore
1713533834
Reply with quote  #2

1713533834
Report to moderator
1713533834
Hero Member
*
Offline Offline

Posts: 1713533834

View Profile Personal Message (Offline)

Ignore
1713533834
Reply with quote  #2

1713533834
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
jamesg (OP)
VIP
Legendary
*
Offline Offline

Activity: 1358
Merit: 1000


AKA: gigavps


View Profile
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: 798
Merit: 500


View Profile
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.
jamesg (OP)
VIP
Legendary
*
Offline Offline

Activity: 1358
Merit: 1000


AKA: gigavps


View Profile
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: 798
Merit: 500


View Profile
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.
jamesg (OP)
VIP
Legendary
*
Offline Offline

Activity: 1358
Merit: 1000


AKA: gigavps


View Profile
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
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
February 28, 2012, 08:09:57 PM
Last edit: February 28, 2012, 08:44:14 PM by kano
 #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

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
gnar1ta$
Donator
Hero Member
*
Offline Offline

Activity: 798
Merit: 500


View Profile
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.
jamesg (OP)
VIP
Legendary
*
Offline Offline

Activity: 1358
Merit: 1000


AKA: gigavps


View Profile
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
Merit: 250


View Profile
March 08, 2012, 09:48:55 PM
Last edit: March 09, 2012, 02:03:23 PM by fred0
 #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
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
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.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
wogaut
Donator
Sr. Member
*
Offline Offline

Activity: 448
Merit: 250



View Profile
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
Legendary
*
Offline Offline

Activity: 1055
Merit: 1020



View Profile
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
wogaut
Donator
Sr. Member
*
Offline Offline

Activity: 448
Merit: 250



View Profile
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
Legendary
*
Offline Offline

Activity: 1055
Merit: 1020



View Profile
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
Pages: « 1 [2]  All
  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!