From f95b6bae511b76a944660c5eb11ba3ee7ef0a8d1 Mon Sep 17 00:00:00 2001 From: "Mark D. Studebaker" Date: Sat, 9 Feb 2002 18:27:25 +0000 Subject: [PATCH] update git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1315 7894878c-1315-0410-8ee3-d5d059ff63e0 --- doc/chips/MODPARMS | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/doc/chips/MODPARMS b/doc/chips/MODPARMS index 2747d761..87a97503 100644 --- a/doc/chips/MODPARMS +++ b/doc/chips/MODPARMS @@ -31,13 +31,22 @@ if you do, you are often told by sensors-detect which ones you need. If a module doesn't load with no parameters, you may need to add parameters. Check 'dmesg' for clues to what went wrong. +BUS NUMBERING +------------- I2C/SMBus adapters are numbered in the order they are inserted. If you want to know what number an adapter has, please make sure module `i2c-proc' is inserted, and look at file /proc/bus/i2c. The ISA bus always has the symbolic number 9191 (`I' is the ninth letter of the alphabet, `S' the -nineteenth and `A' the first). If you want 'any I2C bus', use '-1' -(or 65535). +nineteenth and `A' the first). Do not use the ISA Bus number from +/proc/bus/i2c. If you want 'any I2C bus', use '-1' (or 65535). +So to summarize: + -1 Any Bus + 0-15 Specific I2C Bus + 9191 ISA BUS + +ADDRESS NUMBERING +----------------- Each adapter has a number of addresses on I2C/SMBus adapters and/or the ISA bus that are always scanned if no modprobe parameters are given. The parameters below override those addresses that are scanned by default. @@ -48,6 +57,10 @@ are separated by comma's, and may be given as ordinary decimal numbers, as octal numbers (by starting them with a `0') or as hexadecimal numbers (by starting them with a `0x'). More information can be found by entering `man modprobe' or `man insmod'. +So to summarize: + 0x00 - 0x7f Valid I2C Addresses + 0x0000 - 0xffff Valid ISA Bus Addresses + ================================== PARAMETER DETAILS