ASIC-README 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. SUPPORTED DEVICES
  2. Currently supported devices include the Avalon, the Butterfly Labs SC range
  3. of devices and the ASICMINER block erupters.
  4. The BFL devices should come up as one of the following:
  5. BAJ: BFL ASIC Jalapeño
  6. BAL: BFL ASIC Little Single
  7. BAS: BFL ASIC Single
  8. BAM: BFL ASIC Minirig
  9. BFL devices need the --enable-bflsc option when compiling cgminer yourself.
  10. Avalon will come up as AVA.
  11. Avalon devices need the --enable-avalon option when compiling cgminer.
  12. ASICMINER block erupters will come up as AMU.
  13. ASICMINER devices need the --enable-icarus option when compiling cgminer.
  14. GETTING STARTED WITH BUTTERFLY LABS ASICS
  15. Unlike other software, cgminer uses direct USB communication instead of the
  16. ancient serial USB communication to be much faster, more reliable and use a
  17. lot less CPU. For this reason, setting up for mining with cgminer on these
  18. devices requires different drivers.
  19. WINDOWS:
  20. On windows, the direct USB support requires the installation of a WinUSB
  21. driver (NOT the ftdi_sio driver), and attach it to the Butterfly labs device.
  22. The easiest way to do this is to use the zadig utility which will install the
  23. drivers for you and then once you plug in your device you can choose the
  24. "list all devices" from the "option" menu and you should be able to see the
  25. device as something like: "BitFORCE SHA256 SC". Choose the install or replace
  26. driver option and select WinUSB. You can either google for zadig or download
  27. it from the cgminer directoy in the DOWNLOADS link above.
  28. LINUX:
  29. On linux, the direct USB support requires no drivers at all. However due to
  30. permissions issues, you may not be able to mine directly on the devices as a
  31. regular user without giving the user access to the device or by mining as
  32. root (administrator). In order to give your regular user access, you can make
  33. him a member of the plugdev group with the following commands:
  34. sudo usermod -G plugdev -a `whoami`
  35. If your distribution does not have the plugdev group you can create it with:
  36. sudo groupadd plugdev
  37. In order for the BFL devices to instantly be owned by the plugdev group and
  38. accessible by anyone from the plugdev group you can copy the file
  39. "01-cgminer.rules" from the cgminer archive into the /etc/udev/rules.d
  40. directory with the following command:
  41. sudo cp 01-cgminer.rules /etc/udev/rules.d/
  42. After this you can either manually restart udev and re-login, or more easily
  43. just reboot.
  44. AVALON DEVICES
  45. Currently all known Avalon devices come with their own operating system and
  46. a preinstalled version of cgminer as part of the flash firmware, based on the
  47. most current cgminer version so no configuration should be necessary. It is
  48. possible to plug a USB cable from a PC into the Avalon device and mine using
  49. cgminer as per any other device. It will autodetect and hotplug using default
  50. options. You can customise the avalon behaviour by using the --avalon-options
  51. command.
  52. eg:
  53. --avalon-options 115200:24:10:45:282
  54. The values are baud : miners : asic count : timeout : frequency.
  55. Baud:
  56. The device is pretty much hard coded to emulate 115200 baud so you shouldn't
  57. change this.
  58. Miners:
  59. Most Avalons are 3 module devices, which come to 24 miners. 4 module devices
  60. would use 32 here.
  61. Asic count:
  62. Virtually all have 10, so don't change this.
  63. Timeout:
  64. This is how long the device will work on a work item before accepting new work
  65. to replace it. It should be changed according to the frequency (last setting).
  66. It is possible to set this a little lower if you are trying to tune for short
  67. block mining (eg p2pool) but much lower and the device will start creating
  68. duplicate shares.
  69. Sample settings for different frequencies (last 2 values):
  70. 43:300
  71. 45:282 (default)
  72. 47:270
  73. 50:256
  74. Frequency:
  75. This is the clock speed of the devices. Only specific values work, 256, 270,
  76. 282 (default) and 300.
  77. If you use the full curses based interface with Avalons you will get this
  78. information:
  79. AVA 0: 22/ 46C 60%/2400R
  80. The values are:
  81. ambient temp / highest device temp set fan % / lowest detected fan RPM.
  82. Use the API for more detailed information than this.
  83. ---
  84. This code is provided entirely free of charge by the programmer in his spare
  85. time so donations would be greatly appreciated. Please consider donating to the
  86. address below.
  87. Con Kolivas <kernel@kolivas.org>
  88. 15qSxP1SQcUX3o4nhkfdbgyoWEFMomJ4rZ