Changeset 1118
- Timestamp:
- 06/04/01 01:07:41 (12 years ago)
- Files:
-
- 1 modified
-
lm-sensors/trunk/doc/chips/MODPARMS (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/doc/chips/MODPARMS
r1073 r1118 1 Paramters for modprobe and insmod 2 ================================= 1 Parameters for modprobe and insmod 2 ================================== 3 ================================== 4 SUMMARY 5 6 [modprobe,insmod] module [parameter...] 7 Parameters: 8 force=bus,address 9 force_addr=address 10 force_[chipname]=bus,address 11 ignore=bus,address 12 ignore_range=bus,startaddress,endaddress 13 probe=bus,address 14 probe_range=bus,startaddress,endaddress 15 16 All arguments are in decimal unless prefixed by "0x". 17 18 ================================== 19 OVERVIEW 3 20 4 21 All chip drivers have a few modprobe module parameters in common. … … 9 26 the module should look for what chips. Usually, you don't need them, and 10 27 if you do, you are often told by sensors-detect which ones you need. 28 29 If a module doesn't load with no parameters, you may need to 30 add parameters. Check 'dmesg' for clues to what went wrong. 11 31 12 32 I2C/SMBus adapters are numbered in the order they are inserted. If you want … … 27 47 (by starting them with a `0x'). More information can be found by 28 48 entering `man modprobe' or `man insmod'. 49 50 ================================== 51 PARAMETER DETAILS 29 52 30 53 `force', `force_*', `ignore' and `probe' parameters take pairs of numbers. … … 62 85 very strange results... 63 86 64 An example: 87 `force_addr' is a parameter used for PCI sensor adapters. 88 It is used to program the base address of the sensor registers. 89 This is required if the BIOS does not initialize the base address. 90 91 ================================== 92 EXAMPLE 93 65 94 modprobe lm78 force_lm79=9191,0x390 ignore=0,0x2d,1,0x20 probe_range=-1,0,0x7f 66 95 # ISA address 0x390 contains a LM79 67 96 # Scan all I2C addresses (from 0 to 0x7f) for all I2C adapters 68 97 # But skip address 0x2d on adapter 0, and address 0x20 on adapter 1 69 70 `force_addr' is a parameter used for PCI sensor adapters.71 It is used to program the base address of the sensor registers.72 This is required if the BIOS does not initialize the base address.
