From owner-freebsd-current Wed Feb 3 22:06:46 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA21151 for freebsd-current-outgoing; Wed, 3 Feb 1999 22:06:46 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA21140 for ; Wed, 3 Feb 1999 22:06:38 -0800 (PST) (envelope-from Matthew.Thyer@dsto.defence.gov.au) Received: from dsto-ms2.dsto.defence.gov.au (dsto-ms2.dsto.defence.gov.au [131.185.2.150]) by digger1.defence.gov.au (8.7.5/8.7.3) with ESMTP id QAA13231 for ; Thu, 4 Feb 1999 16:33:42 +1030 (CST) Received: from exchsa1.dsto.defence.gov.au (unverified [131.185.2.94]) by dsto-ms2.dsto.defence.gov.au (Integralis SMTPRS 2.0.15) with ESMTP id ; Thu, 04 Feb 1999 16:10:58 +1030 Received: from fang.dsto.defence.gov.au ([131.185.2.5]) by exchsa1.dsto.defence.gov.au with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2232.9) id 1CHABH9G; Thu, 4 Feb 1999 11:01:28 +1030 Received: from dsto.defence.gov.au (fuzz.dsto.defence.gov.au [131.185.75.229]) by fang.dsto.defence.gov.au (8.8.5/8.8.5) with ESMTP id LAA29828; Thu, 4 Feb 1999 11:00:44 +1030 (CST) Message-Id: <36B8EA32.D5105294@dsto.defence.gov.au> Date: Thu, 04 Feb 1999 11:00:42 +1030 From: Matthew Thyer X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Nicolas Souchu , Takanori Watanabe Cc: current@FreeBSD.ORG Subject: Re: How do I query system temperature probes ? References: <36B7CED1.96D4B369@dsto.defence.gov.au> <19990203203133.12975@breizh.prism.uvsq.fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks, Takanori, are you going to commit your example code in say /usr/src/share/examples/smbus ? If not can you send me a copy please ? Nicolas Souchu wrote: > > On Wed, Feb 03, 1999 at 02:51:37PM +1030, Matthew Thyer wrote: > > > >I seem to have all the hardware required for querying the temperature > >probes in the system (At least I can do it from the BIOS). > > > >How can I query this info ? > > > >I assume I need "controller smbus0" and "controller intpm0" in my > >kernel. But do I also need "device smb0 at smbus?" and/or any > >of the following: > > > ># ic i2c network interface > ># iic i2c standard io > ># iicsmb i2c to smb bridge. Allow i2c i/o with smb commands. > > You need: > > controller intpm0 # the PIIX4 interface > controller smbus0 # the SMBus system > device smb0 at smbus? # user access to the SMBus > > > > > > >Once I have all this stuff in my kernel, what commands do I use to > >query the probes ?? > > Takanori Watanabe as example > code to do this. > > > > >My system is FreeBSD 4.0-CURRENT (of CTM 3722 - but will soon be really > >-CURRENT) > > > > > >Extract from dmesg: > > > >chip0: rev 0x03 on > >pci0.0.0 > >chip1: rev 0x03 on > >pci0.1.0 > >chip2: rev 0x01 on pci0.7.0 > >ide_pci0: rev 0x01 on pci0.7.1 > >chip3: rev 0x01 on pci0.7.3 > >-- > > Matthew Thyer Phone: +61 8 8259 7249 > > Corporate Information Systems Fax: +61 8 8259 5537 > > Defence Science and Technology Organisation, Salisbury > > PO Box 1500 Salisbury South Australia 5108 > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > >with "unsubscribe freebsd-current" in the body of the message > > > > -- > nsouch@teaser.fr / nsouch@freebsd.org > FreeBSD - Turning PCs into workstations - http://www.FreeBSD.org > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message -- Matthew Thyer Phone: +61 8 8259 7249 Corporate Information Systems Fax: +61 8 8259 5537 Defence Science and Technology Organisation, Salisbury PO Box 1500 Salisbury South Australia 5108 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message