ASIC-README 3.8 KB

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