diff options
author | Graydon, Tracy <tracy.graydon@intel.com> | 2013-01-31 18:44:07 -0800 |
---|---|---|
committer | Graydon, Tracy <tracy.graydon@intel.com> | 2013-01-31 18:44:07 -0800 |
commit | b19d79bf9028f58e3e4226bd9410b59f19fe3c8d (patch) | |
tree | a84dec919322f3d19c7c0cf3050c8c134a0d4fc6 /py-smbus/README | |
download | i2c-tools-tizen_3.0.2015.q2_common.tar.gz i2c-tools-tizen_3.0.2015.q2_common.tar.bz2 i2c-tools-tizen_3.0.2015.q2_common.zip |
Initial commitHEADsubmit/tizen_common/20150126.093738submit/tizen_3.0_common/20161104.104000submit/2.0alpha/20130201.222745accepted/tizen/common/20150126.100451accepted/tizen/3.0/common/20161114.112238accepted/2.0alpha/20130201.222208tizen_3.0.m2tizen_3.0.2015.q2_commontizen_3.0.2014.q4_commonaccepted/tizen_commonaccepted/tizen_3.0_common2.0alpha
Diffstat (limited to 'py-smbus/README')
-rw-r--r-- | py-smbus/README | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/py-smbus/README b/py-smbus/README new file mode 100644 index 0000000..b97801d --- /dev/null +++ b/py-smbus/README @@ -0,0 +1,28 @@ + +README: py-smbus + +Prerequisites: +Be sure to build and install the lm-sensors userspace first. This package +requires one of the header files from that. + +To build: + $ python setup.py build + +To install (will also build if necessary): + $ python setup.py install + +For general build/install help: + $ python setup.py --help-commands + +Frequently Answered Question: + +Q: It's throwing exceptions, nothing works, what's wrong? + + A1: You need write permissions to the i2c-dev devices. Try running as root. + + A2: Addresses in Linux/I2C are the most-sig 7 bits, right-justified. E.g. + if your device uses address 0xc0 to write and 0xc1 to read, then use + address 0x60 with this module. + + A3: Some other kernel driver has claimed that I2C address. Unload it first. + |