ASIC-README 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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 directory in the DOWNLOADS link above.
  28. When you first switch a device over to WinUSB with zadig and it shows that
  29. correctly on the left of the zadig window, but it still gives permission
  30. errors, you may need to unplug the USB miner and then plug it back in
  31. LINUX:
  32. On linux, the direct USB support requires no drivers at all. However due to
  33. permissions issues, you may not be able to mine directly on the devices as a
  34. regular user without giving the user access to the device or by mining as
  35. root (administrator). In order to give your regular user access, you can make
  36. him a member of the plugdev group with the following commands:
  37. sudo usermod -G plugdev -a `whoami`
  38. If your distribution does not have the plugdev group you can create it with:
  39. sudo groupadd plugdev
  40. In order for the BFL devices to instantly be owned by the plugdev group and
  41. accessible by anyone from the plugdev group you can copy the file
  42. "01-cgminer.rules" from the cgminer archive into the /etc/udev/rules.d
  43. directory with the following command:
  44. sudo cp 01-cgminer.rules /etc/udev/rules.d/
  45. After this you can either manually restart udev and re-login, or more easily
  46. just reboot.
  47. AVALON DEVICES
  48. Currently all known Avalon devices come with their own operating system and
  49. a preinstalled version of cgminer as part of the flash firmware, based on the
  50. most current cgminer version so no configuration should be necessary. It is
  51. possible to plug a USB cable from a PC into the Avalon device and mine using
  52. cgminer as per any other device. It will autodetect and hotplug using default
  53. options. You can customise the avalon behaviour by using the --avalon-options
  54. command.
  55. eg:
  56. --avalon-options 115200:24:10:45:282
  57. The values are baud : miners : asic count : timeout : frequency.
  58. Baud:
  59. The device is pretty much hard coded to emulate 115200 baud so you shouldn't
  60. change this.
  61. Miners:
  62. Most Avalons are 3 module devices, which come to 24 miners. 4 module devices
  63. would use 32 here.
  64. Asic count:
  65. Virtually all have 10, so don't change this.
  66. Timeout:
  67. This is how long the device will work on a work item before accepting new work
  68. to replace it. It should be changed according to the frequency (last setting).
  69. It is possible to set this a little lower if you are trying to tune for short
  70. block mining (eg p2pool) but much lower and the device will start creating
  71. duplicate shares.
  72. Sample settings for different frequencies (last 2 values):
  73. 43:300
  74. 45:282 (default)
  75. 47:270
  76. 50:256
  77. Frequency:
  78. This is the clock speed of the devices. Only specific values work, 256, 270,
  79. 282 (default) and 300.
  80. If you use the full curses based interface with Avalons you will get this
  81. information:
  82. AVA 0: 22/ 46C 60%/2400R
  83. The values are:
  84. ambient temp / highest device temp set fan % / lowest detected fan RPM.
  85. Use the API for more detailed information than this.
  86. ---
  87. This code is provided entirely free of charge by the programmer in his spare
  88. time so donations would be greatly appreciated. Please consider donating to the
  89. address below.
  90. Con Kolivas <kernel@kolivas.org>
  91. 15qSxP1SQcUX3o4nhkfdbgyoWEFMomJ4rZ