Changeset 1118

Show
Ignore:
Timestamp:
06/04/01 01:07:41 (12 years ago)
Author:
mds
Message:

Cleanup

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/doc/chips/MODPARMS

    r1073 r1118  
    1 Paramters for modprobe and insmod 
    2 ================================= 
     1Parameters for modprobe and insmod 
     2================================== 
     3================================== 
     4SUMMARY 
     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================================== 
     19OVERVIEW 
    320 
    421All chip drivers have a few modprobe module parameters in common. 
     
    926the module should look for what chips. Usually, you don't need them, and 
    1027if you do, you are often told by sensors-detect which ones you need. 
     28 
     29If a module doesn't load with no parameters, you may need to 
     30add parameters. Check 'dmesg' for clues to what went wrong. 
    1131 
    1232I2C/SMBus adapters are numbered in the order they are inserted. If you want 
     
    2747(by starting them with a `0x'). More information can be found by 
    2848entering `man modprobe' or `man insmod'. 
     49 
     50================================== 
     51PARAMETER DETAILS 
    2952 
    3053`force', `force_*', `ignore' and `probe' parameters take pairs of numbers. 
     
    6285very strange results... 
    6386 
    64 An example: 
     87`force_addr' is a parameter used for PCI sensor adapters. 
     88It is used to program the base address of the sensor registers. 
     89This is required if the BIOS does not initialize the base address. 
     90 
     91================================== 
     92EXAMPLE 
     93 
    6594  modprobe lm78 force_lm79=9191,0x390 ignore=0,0x2d,1,0x20 probe_range=-1,0,0x7f 
    6695  # ISA address 0x390 contains a LM79 
    6796  # Scan all I2C addresses (from 0 to 0x7f) for all I2C adapters 
    6897  # 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.