| 1 | SMBUS_ARP Driver |
|---|
| 2 | ------------- |
|---|
| 3 | This is a demonstration driver which provides SMBus 2.0 |
|---|
| 4 | ARP services. It isn't much use except for testing SMBus 2.0 |
|---|
| 5 | ARP and PEC support in the i2c layer. |
|---|
| 6 | It is NOT a normal 'chip' driver for a particular sensor device. |
|---|
| 7 | If you don't know what SMBus ARP is you don't need this driver. |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | Stability |
|---|
| 11 | --------- |
|---|
| 12 | Beta. |
|---|
| 13 | |
|---|
| 14 | |
|---|
| 15 | DETECTION |
|---|
| 16 | ------------- |
|---|
| 17 | This driver requires SMBus 2.0 support in i2c-2.6.4 or higher. |
|---|
| 18 | If your kernel does not have i2c-2.6.4 or higher the module |
|---|
| 19 | will refuse to load. |
|---|
| 20 | |
|---|
| 21 | This driver will register itself on each i2c bus which |
|---|
| 22 | supports SMBus Block Data transactions. |
|---|
| 23 | |
|---|
| 24 | |
|---|
| 25 | USES |
|---|
| 26 | ---- |
|---|
| 27 | The module ARPs each supported bus when it is inserted |
|---|
| 28 | (or after that when a i2c bus driver is inserted). |
|---|
| 29 | It does not periodically re-ARP, and the i2c stack does not |
|---|
| 30 | currently support SMBus Host Notify, so it will not detect |
|---|
| 31 | hot-plugged devices. |
|---|
| 32 | |
|---|
| 33 | The smbus-arp module should be inserted before any chip modules |
|---|
| 34 | so that it has an opportunity to assign addresses. |
|---|
| 35 | |
|---|
| 36 | |
|---|
| 37 | /PROC ENTRIES |
|---|
| 38 | ------------- |
|---|
| 39 | There are 8 entries in /proc, 0-7. Each is a 'slot'. |
|---|
| 40 | If a chip has responded to ARP, it will appear in a 'slot' |
|---|
| 41 | as 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 | |
|---|
| 54 | To reassign a device to a different address, write |
|---|
| 55 | that address to the slot. For example, 'echo 13 > 0' |
|---|
| 56 | to reassign the device in slot 0 to address 13 (0x0d). |
|---|
| 57 | |
|---|
| 58 | |
|---|
| 59 | TO DO |
|---|
| 60 | ----- |
|---|
| 61 | lots |
|---|
| 62 | |
|---|
| 63 | Author/Maintainer |
|---|
| 64 | ----------------- |
|---|
| 65 | Mark D. Studebaker (mdsxyz123@yahoo.com) |
|---|
| 66 | |
|---|