Pages:
Author

Topic: Modular Python Bitcoin Miner - Official Thread - page 18. (Read 74189 times)

donator
Activity: 1654
Merit: 1351
Creator of Litecoin. Cryptocurrency enthusiast.
Very sure. I programmed them using the x6500 software. I have all 5 up and running using 5 instances of your software with single x6500....but the hotplug won't work for whatever reason. Any suggestions?

I never got the hotplug working on my Mac either. I got the same error message. So I gave up and just specified the serial and that's been working fine.
sr. member
Activity: 447
Merit: 250
Very sure. I programmed them using the x6500 software. I have all 5 up and running using 5 instances of your software with single x6500....but the hotplug won't work for whatever reason. Any suggestions?
hero member
Activity: 504
Merit: 500
FPGA Mining LLC
Are you sure that there's a bitstream running on the FPGAs? If they just get validation job timeouts after 3 minutes that might just be an FPGA that wasn't booted. MPBM won't upload bitstreams unless you instruct it to in the config file.
sr. member
Activity: 447
Merit: 250
So does the hotplug not work with multiple x6500s?
I have it working with multiple X6500s - on windows, though.

Yeah, maybe it's my Mac? Also, specifying the serial # in the config does nothing. When using the single x6500 miner, it automatically connects to device 0.
sr. member
Activity: 445
Merit: 250
So does the hotplug not work with multiple x6500s?
I have it working with multiple X6500s - on windows, though.
sr. member
Activity: 447
Merit: 250
Yeah, weird. When I specify them each by serial # it works perfectly.
sr. member
Activity: 447
Merit: 250
So does the hotplug not work with multiple x6500s? Or am I doing something wrong? I have 5, it seems like they all connect, but they never start hashing and I keep getting lots of Errno 19 where they disconnect.

hero member
Activity: 592
Merit: 501
We will stand and fight.
i must say, it works and have a very high efficiency.

but the form is a bit strange on my machine. Embarrassed



python 2.7.2 and curses 2.2  (AMD64)  Huh
hero member
Activity: 504
Merit: 500
FPGA Mining LLC
Code:
C:\project\TheSeven-Modular-Python-Bitcoin-Miner-aef8b23\TheSeven-Modular-Python-Bitcoin-Miner-aef8b23>c:\python27\python.exe miner.py
Traceback (most recent call last):
  File "miner.py", line 331, in
    exec("import " + configfile + " as config")
  File "", line 1, in
  File "C:\project\TheSeven-Modular-Python-Bitcoin-Miner-aef8b23\TheSeven-Modular-Python-Bitcoin-Miner-aef8b23\config.py", line 121, in
    "type": worker.theseven.icarus.IcarusWorker, \
AttributeError: 'module' object has no attribute 'theseven'

C:\project\TheSeven-Modular-Python-Bitcoin-Miner-aef8b23\TheSeven-Modular-Python-Bitcoin-Miner-aef8b23>PAUSE

 Embarrassed

add
Code:
import worker.theseven.icarus
at the top and remove the x6500 one.
hero member
Activity: 592
Merit: 501
We will stand and fight.
Experimental Icarus board support has been added, thanks a lot to O_Shovah for letting me test it on his board Smiley

Offering some bitcoins might encourage you to not be lazy Smiley  Grin

is there any implementation guide for Icarus?  Huh

Code:
#  # Icarus worker
  { \
#    # Worker module
    "type": worker.theseven.icarus.IcarusWorker, \
#    # Worker module parameters, in this case serial port name (default: /dev/ttyS0)
    "port": "COM7", \
  }, \


Code:
C:\project\TheSeven-Modular-Python-Bitcoin-Miner-aef8b23\TheSeven-Modular-Python-Bitcoin-Miner-aef8b23>c:\python27\python.exe miner.py
Traceback (most recent call last):
  File "miner.py", line 331, in
    exec("import " + configfile + " as config")
  File "", line 1, in
  File "C:\project\TheSeven-Modular-Python-Bitcoin-Miner-aef8b23\TheSeven-Modular-Python-Bitcoin-Miner-aef8b23\config.py", line 121, in
    "type": worker.theseven.icarus.IcarusWorker, \
AttributeError: 'module' object has no attribute 'theseven'

C:\project\TheSeven-Modular-Python-Bitcoin-Miner-aef8b23\TheSeven-Modular-Python-Bitcoin-Miner-aef8b23>PAUSE

 Embarrassed
hero member
Activity: 504
Merit: 500
FPGA Mining LLC
Experimental Icarus board support has been added, thanks a lot to O_Shovah for letting me test it on his board Smiley
hero member
Activity: 504
Merit: 500
FPGA Mining LLC
Anyone working on an Icarus worker?

I might do that if someone can offer me access to a board for testing.

I might be able to do that. What kind of access do you need?

Just ssh into a box that's connected to a board (and the appropriate permissions to access the board's device node) should be sufficient.
I'll probably also need some python modules to be installed (the python curses bindings and pyserial), ideally both python 2.7 and 3.x.
donator
Activity: 1654
Merit: 1351
Creator of Litecoin. Cryptocurrency enthusiast.
Anyone working on an Icarus worker?

I might do that if someone can offer me access to a board for testing.

I might be able to do that. What kind of access do you need?
donator
Activity: 1654
Merit: 1351
Creator of Litecoin. Cryptocurrency enthusiast.
Anyone have this working on a Mac? Before I try setting it up for my x6500 miners, wanted to make sure someone had already tested.

Yes, it's working on my Mac. I needed to install these 2:
http://sourceforge.net/projects/pyusb/files/PyUSB%201.0/1.0.0-alpha-2/pyusb-1.0.0a2.zip/download
http://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.8/
sr. member
Activity: 447
Merit: 250
Anyone have this working on a Mac? Before I try setting it up for my x6500 miners, wanted to make sure someone had already tested.
hero member
Activity: 504
Merit: 500
FPGA Mining LLC
Anyone working on an Icarus worker?

I might do that if someone can offer me access to a board for testing.
donator
Activity: 1654
Merit: 1351
Creator of Litecoin. Cryptocurrency enthusiast.
I finally got this working by installing libusb (and it does break the x6500 default miner)
This miner is fantastic! It has all the stats that I can think of in a nice layout... color coded as well!

Anyone working on an Icarus worker?
newbie
Activity: 48
Merit: 0
1) might be curses not properly detecting your terminal type. Running it inside a screen session sometimes helps with this. If you're using PuTTY as a terminal, make sure to set its charset to UTF-8.
2) MPBM probably expects a trailing slash here... I'll fix that later today.

Your fix to (2) is worked, thanks. Its now mining like a champ.

Re UTF-8 issues:  my first problem was i am using xterm, which needs to be started in utf-8 mode like this:
xterm -u8

If i run MPBM within xterm -u8, i get nice pretty graphics.

Now when I try to run it within screen (within that xterm -u8), I now get strange characters. (even using screen -U  , which forces UTF-8)

As a test, running this should result a capital O with circumflex.
Code:
perl -le 'print "\x{d4}"'

And what i'm seeing without screen, and within:


Heres my locale:
Code:
$ locale
LANG=en_AU.UTF-8
LC_CTYPE="en_AU.UTF-8"
LC_NUMERIC="en_AU.UTF-8"
LC_TIME="en_AU.UTF-8"
LC_COLLATE="en_AU.UTF-8"
LC_MONETARY="en_AU.UTF-8"
LC_MESSAGES="en_AU.UTF-8"
LC_PAPER="en_AU.UTF-8"
LC_NAME="en_AU.UTF-8"
LC_ADDRESS="en_AU.UTF-8"
LC_TELEPHONE="en_AU.UTF-8"
LC_MEASUREMENT="en_AU.UTF-8"
LC_IDENTIFICATION="en_AU.UTF-8"
LC_ALL=

so I'm stumped. I'm running it outside of screen for the time being, and its working beautifully, but if anyone has any clues to fix the utf-8 problem i'm having with screen, I'd love to hear them.
full member
Activity: 148
Merit: 100
i think i have to choose between running on ARM or mining on P2Pool
Is that because p2pool won't run on ARM? My fpga controller pc isn't strong enough for p2pool, so I've got it on a vps.

p2pool will run on arm, but you need a bitcoin-server
okay, i think you could be able to compile the bitcoin-server for ARM, you also have to hold the blockchain on the device, maybe with an usb-stick, but when i mined with my celeron 900Mhz on P2Pool, i had connection loses between p2pool and bitcoin because of high system load, i don't think this will run nice on my router
sr. member
Activity: 445
Merit: 250
i think i have to choose between running on ARM or mining on P2Pool
Is that because p2pool won't run on ARM? My fpga controller pc isn't strong enough for p2pool, so I've got it on a vps.
extremely high (around 20-50%) stale rates
Yes, showing 20% on factory settings currently.
Pages:
Jump to: