From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 13 16:20:32 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9EFDC16A4CE; Tue, 13 Jan 2004 16:20:32 -0800 (PST) Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id F203843D5A; Tue, 13 Jan 2004 16:20:30 -0800 (PST) (envelope-from stijn@pcwin002.win.tue.nl) Received: from pcwin002.win.tue.nl (orb_rules@localhost [127.0.0.1]) by pcwin002.win.tue.nl (8.12.10/8.12.10) with ESMTP id i0E0N44x040710; Wed, 14 Jan 2004 01:23:04 +0100 (CET) (envelope-from stijn@pcwin002.win.tue.nl) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.12.10/8.12.10/Submit) id i0E0N4cP040709; Wed, 14 Jan 2004 01:23:04 +0100 (CET) (envelope-from stijn) Date: Wed, 14 Jan 2004 01:23:04 +0100 From: Stijn Hoop To: Julian Elischer Message-ID: <20040114002304.GC39353@pcwin002.win.tue.nl> References: <20040113235511.GB39353@pcwin002.win.tue.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1UWUbFP1cBYEclgG" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Bright-Idea: Let's abolish HTML mail! cc: hackers@freebsd.org cc: imp@freebsd.org Subject: Re: PCI interrupt allocation question.. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jan 2004 00:20:32 -0000 --1UWUbFP1cBYEclgG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 13, 2004 at 04:14:10PM -0800, Julian Elischer wrote: > xmbmon uses the SMBus to read the temperatures but it does it from > userland using direct read and write operations Oh, I didn't know that. Like I said the box is gone so I can't really verify what I did anymore :( > and when there are timing glitches caused by the process not getting > scheduled quite quick enough you get garbage results.. > teh theory is that the kernel driver wouldn't be susceptible to this > but it looks like unless I resort to polling I will not be able to use > it because it relies on the interrupts and they are not being delivered. :( > ASUS motherboards actually turn off the SMBus. (why?) > So you need to turn it back on before you can read the temperatures.. > I have a little script that uses pciconf to do it.. The machine I tested this on was a Dell GX115 I think, but even when that bit was enabled using pciconf there was no SMBus device/reading possible... Anyway, it seems to be some other problem so I'm off again :) --Stijn --=20 "I used to think I was indecisive, but now I'm not so sure." --1UWUbFP1cBYEclgG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQFABIvoY3r/tLQmfWcRAp0BAKCf8BkVCPxotvH0rTQpARjQCnrq2QCgnUD3 ctDrMo/zbX3GhgLOXr8hOaM= =Q+gL -----END PGP SIGNATURE----- --1UWUbFP1cBYEclgG--