Browse Source

README.ASIC: KnCMiner: Talk about additional i2c-tools dependency

Luke Dashjr 11 years ago
parent
commit
c5327b7614
2 changed files with 5 additions and 3 deletions
  1. 4 2
      README.ASIC
  2. 1 1
      configure.ac

+ 4 - 2
README.ASIC

@@ -134,8 +134,10 @@ KNCMINER
 
 
 KnCMiner rigs use a BeagleBone Black (BBB) as the host; this is pluged into a
 KnCMiner rigs use a BeagleBone Black (BBB) as the host; this is pluged into a
 "cape" with a FPGA and connections for 4-6 ASIC modules (depending on the cape
 "cape" with a FPGA and connections for 4-6 ASIC modules (depending on the cape
-version). The BBB comes with the Ångström Distribution by default. The following
-is a step by step install for BFGMiner on this system;
+version). Note that in addition to the usual dependencies, this driver also
+requires i2c-tools (aka libi2c-dev on some systems). The BBB comes with the
+Ångström Distribution by default. The following is a step by step install for
+BFGMiner on this system;
 
 
 -----------------Start------------
 -----------------Start------------
 cat >/etc/opkg/feeds.conf <<\EOF
 cat >/etc/opkg/feeds.conf <<\EOF

+ 1 - 1
configure.ac

@@ -394,7 +394,7 @@ AC_ARG_ENABLE([knc],
 if test "x$knc" = xyes; then
 if test "x$knc" = xyes; then
 	AC_CHECK_HEADERS([linux/i2c-dev-user.h])
 	AC_CHECK_HEADERS([linux/i2c-dev-user.h])
 	AC_CHECK_DECL([i2c_smbus_read_word_data],[true],[
 	AC_CHECK_DECL([i2c_smbus_read_word_data],[true],[
-		AC_MSG_ERROR([linux/i2c-dev.h header from i2c-tools (NOT linux headers) is required for knc driver])
+		AC_MSG_ERROR([linux/i2c-dev.h header from i2c-tools/libi2c-dev (NOT linux headers) is required for knc driver])
 	],[
 	],[
 		#include <stddef.h>
 		#include <stddef.h>
 		#ifdef HAVE_LINUX_I2C_DEV_USER_H
 		#ifdef HAVE_LINUX_I2C_DEV_USER_H