From owner-freebsd-hardware Wed Aug 28 3: 8:18 2002 Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B3F437B401 for ; Wed, 28 Aug 2002 03:08:14 -0700 (PDT) Received: from insomnia.spc.org (insomnia.spc.org [195.224.94.183]) by mx1.FreeBSD.org (Postfix) with SMTP id CBF8843E6E for ; Wed, 28 Aug 2002 03:08:12 -0700 (PDT) (envelope-from bms@insomnia.spc.org) Received: (qmail 24140 invoked by uid 1031); 28 Aug 2002 10:07:23 -0000 Date: Wed, 28 Aug 2002 11:07:23 +0100 From: Bruce M Simpson To: hackers@freebsd.org, hardware@freebsd.org Cc: Dan Larsson Subject: Getting /dev/smb* to work. Message-ID: <20020828100722.GH24795@spc.org> References: <20020827233627.S76730-100000@hq1.tyfon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020827233627.S76730-100000@hq1.tyfon.net> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Aug 28, 2002 at 12:01:15AM +0200, Dan Larsson wrote: > While trying to get hardware monitoring to work on my computer I > found the below procedure to enable the smbus device. > It didn't get me any closer to actually monitoring the hardware with > xbmon, lmmon or healthd. But the device is there. I'd like to add to this. uname is: FreeBSD triage.dollah.com 4.6-STABLE FreeBSD 4.6-STABLE #1: Sun Aug 25 11:23:33 BST 2002 root@triage.dollah.com:/usr/src/sys/compile/TRIAGE i386 Box in question is a Sony Vaio PCG-Z600HEK. dmesg looks like this:- pcib0: on motherboard ... intpm0: port 0x1040-0x104f irq 9 at device 7.3 on pci0 intpm0: I/O mapped 1040 intpm0: intr IRQ 9 enabled revision 0 smbus0: on intsmb0 smb0: on smbus0 intpm0: PM I/O mapped 8000 With kernel config: [..] device intpm device apm0 device smbus device smb device iic device iicbus device iicsmb device iicbb [..] This supports APM just fine, but SMB goes nowhere. Any clues? When ktracing processws which use /dev/smb0, it seems that the ioctls simply don't get handled. I assume this is because something somewhere didn't attach. From the above dmesg output I'd infer that nothing's being seen on the smbus. I've also tried this patch: http://people.freebsd.org/~nsouch/download/iic-stable.diffs But it didn't help much (after fixing it up for the current -STABLE). BMS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message