root/lm-sensors/branches/lm-sensors-2.10/doc/chips/smbus-arp

Revision 1426, 1.6 KB (checked in by mds, 10 years ago)

reassign address on write to /proc

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1SMBUS_ARP Driver
2-------------
3This is a demonstration driver which provides SMBus 2.0
4ARP services. It isn't much use except for testing SMBus 2.0
5ARP and PEC support in the i2c layer.
6It is NOT a normal 'chip' driver for a particular sensor device.
7If you don't know what SMBus ARP is you don't need this driver.
8
9
10Stability
11---------
12Beta.
13
14
15DETECTION
16-------------
17This driver requires SMBus 2.0 support in i2c-2.6.4 or higher.
18If your kernel does not have i2c-2.6.4 or higher the module
19will refuse to load.
20
21This driver will register itself on each i2c bus which
22supports SMBus Block Data transactions.
23
24
25USES
26----
27The module ARPs each supported bus when it is inserted
28(or after that when a i2c bus driver is inserted).
29It does not periodically re-ARP, and the i2c stack does not
30currently support SMBus Host Notify, so it will not detect
31hot-plugged devices.
32
33The smbus-arp module should be inserted before any chip modules
34so that it has an opportunity to assign addresses.
35
36
37/PROC ENTRIES
38-------------
39There are 8 entries in /proc, 0-7. Each is a 'slot'.
40If a chip has responded to ARP, it will appear in a 'slot'
41as follows. See the SMBus 2.0 Specification for details.
42
43        value   function
44        1       SMBus address
45        2       UDID Device Capabilities
46        3       UDID Version / Revision
47        4       UDID Vendor ID
48        5       UDID Device ID
49        6       UDID Interface
50        7       UDID Subsystem Vendor ID
51        8       UDID Subsystem Device ID
52        9       UDID Vendor Specific ID
53
54To reassign a device to a different address, write
55that address to the slot. For example, 'echo 13 > 0'
56to reassign the device in slot 0 to address 13 (0x0d).
57
58
59TO DO
60-----
61lots
62
63Author/Maintainer
64-----------------
65Mark D. Studebaker (mdsxyz123@yahoo.com)
66
Note: See TracBrowser for help on using the browser.