mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-23 11:54:33 +00:00
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4219 7894878c-1315-0410-8ee3-d5d059ff63e0
29 lines
759 B
Plaintext
29 lines
759 B
Plaintext
|
|
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.
|
|
|