File: README

package info (click to toggle)
lm-sensors 1%3A2.10.8-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 5,320 kB
  • ctags: 10,818
  • sloc: ansic: 63,999; perl: 8,169; sh: 1,820; makefile: 406; lex: 371; yacc: 312; python: 11
file content (28 lines) | stat: -rw-r--r-- 759 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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.