Changeset 1180
- Timestamp:
- 09/18/01 17:23:13 (7 years ago)
- Files:
-
- lm-sensors/trunk/doc/developers/new_drivers (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
lm-sensors/trunk/doc/developers/new_drivers
r1175 r1180 5 5 forget anything. 6 6 We are more than happy to help you with any part of the process. 7 8 There are two types of drivers, chip and bus. 9 Steps which apply to only one type of driver are noted. 7 10 8 11 … … 67 70 Contact us if you need more assistance. 68 71 69 * Add entries to etc/sensors.conf.eg(for chip drivers only).70 If needed, you can set defaults here.72 * Add alarm definitions to kernel/include/sensors.h (for chip drivers only). 73 These define the bits in the 'alarms' entry in /proc. 71 74 72 75 * Add a procedure to prog/sensors/chips.[ch] (for chip drivers only). 73 76 This is a function specific for your driver that 74 77 makes the included 'sensors' program pretty-print your chip information. 78 79 * Add a call to the procedure in prog/sensors/main.c (for chip drivers only). 80 Put it at the bottom of do_a_print(). 81 82 * Add entries to etc/sensors.conf.eg (for chip drivers only). 83 If needed, you can set defaults here. 75 84 76 85 * Add the name of the device to the README file.
