From: juergh@gmail.com (Juerg Haefliger) Date: Tue, 23 Jan 2007 05:14:57 +0000 Subject: [lm-sensors] sensors and i2cdump disagree on bus number Message-Id: <191fb4ca0701222114x22dfb5bcn255c300df4fd3a84@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lm-sensors@vger.kernel.org Hi all, When running sensors (2.10.1) I get the following adapter information: emc6d102-i2c-1-2e Adapter: SMBus nForce2 adapter at 4c40 And i2cdump prints the following: Installed I2C busses: i2c-5 i2c NVIDIA i2c adapter 2 at 0:05.0 i2c-4 i2c NVIDIA i2c adapter 1 at 0:05.0 i2c-3 i2c NVIDIA i2c adapter 0 at 0:05.0 i2c-2 i2c ivtv i2c driver #0 i2c-1 smbus SMBus nForce2 adapter at 4c40 i2c-0 smbus SMBus nForce2 adapter at 4c00 But in order to dump the register content of the emc6d102 I have to scan bus 0: jabba:/home/juergh# i2cdump 0 0x2e No size specified (using byte-data access) WARNING! This program can confuse your I2C bus, cause data loss and worse! I will probe file /dev/i2c-0, address 0x2e, mode byte Continue? [Y/n] y 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 20: 00 79 c1 c2 be 80 29 31 46 0b ff ff ff ff ff ff .y????)1F?...... 30: 55 ff ff 00 00 00 00 00 00 00 00 00 00 00 5c 8a U.............\? 40: 05 91 40 00 00 ff 00 ff 00 ff 00 ff 00 ff 81 7f ??@...........?? 50: 81 7f 81 7f ff ff ff ff ff ff ff ff 42 62 62 cb ????........Bbb? 60: cb db e0 00 55 80 80 5a 5a 3c 64 64 4d 40 40 00 ???.U??ZZ