From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 21 12:15:57 2008 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93AAA106564A for ; Sun, 21 Sep 2008 12:15:57 +0000 (UTC) (envelope-from piso@southcross.wired.org) Received: from mail.oltrelinux.com (krisma.oltrelinux.com [194.242.226.43]) by mx1.freebsd.org (Postfix) with ESMTP id 56F9B8FC14 for ; Sun, 21 Sep 2008 12:15:56 +0000 (UTC) (envelope-from piso@southcross.wired.org) Received: from southcross.wired.org (unknown [94.36.140.190]) by mail.oltrelinux.com (Postfix) with SMTP id F2F1911AE45 for ; Sun, 21 Sep 2008 13:52:57 +0200 (CEST) Received: (qmail 61617 invoked by uid 1001); 21 Sep 2008 13:55:45 +0200 Date: Sun, 21 Sep 2008 13:55:45 +0200 From: Paolo Pisati To: freebsd-hackers@FreeBSD.org Message-ID: <20080921115545.GA61452@tin.it> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at krisma.oltrelinux.com Cc: Subject: smbus & i2c: why i2c is not enabled on ich? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Sep 2008 12:15:57 -0000 Any reason why i2c mode in not enable in ichsmb? ichsmb0@pci0:0:31:3: class=0x0c0500 card=0x82d81043 chip=0x266a8086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82801FB (ICH6) SMBus Controller' class = serial bus subclass = SMBus piso@nano:~/eeebsd >sudo pciconf -rb pci0:0:31:3: 0x40 01 piso@nano:~/eeebsd >sudo ./scan_smbus res: 0 slave = 0x44 data = res: 0 slave = 0x50 data = res: 0 slave = 0x69 data = res: 0 slave = 0xC4 data = res: 0 slave = 0xD0 data = res: 0 slave = 0xE9 data = piso@nano:~/eeebsd >sudo pciconf -wb pci0:0:31:3: 0x40 5 piso@nano:~/eeebsd >sudo pciconf -rb pci0:0:31:3: 0x40 05 piso@nano:~/eeebsd >sudo ./scan_smbus res: 0 slave = 0x44 data = FF FF FF FF res: 0 slave = 0x50 data = 0A 60 40 00 05 30 45 00 82 08 00 00 0C 04 res: 0 slave = 0x69 data = FF F7 00 00 01 0F 07 E0 18 46 1B 24 D8 63 00 res: 0 slave = 0xC4 data = FF FF FF FF res: 0 slave = 0xD0 data = 0A 60 40 00 05 30 45 00 82 08 00 00 0C 04 res: 0 slave = 0xE9 data = FF F7 00 00 01 0F 07 E0 18 46 1B 24 D8 63 00 FYI this is on an asus eeepc. -- bye, P.