Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Feb 1999 20:31:33 +0100
From:      Nicolas Souchu <nsouch@teaser.fr>
To:        Matthew Thyer <Matthew.Thyer@dsto.defence.gov.au>
Cc:        current@FreeBSD.ORG
Subject:   Re: How do I query system temperature probes ?
Message-ID:  <19990203203133.12975@breizh.prism.uvsq.fr>
In-Reply-To: <36B7CED1.96D4B369@dsto.defence.gov.au>; from Matthew Thyer on Wed, Feb 03, 1999 at 02:51:37PM %2B1030
References:  <36B7CED1.96D4B369@dsto.defence.gov.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <takawata@shidahara1.planet.sci.kobe-u.ac.jp> 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: <Host to PCI bridge (vendor=8086 device=7180)> rev 0x03 on
>pci0.0.0
>chip1: <PCI to PCI bridge (vendor=8086 device=7181)> rev 0x03 on
>pci0.1.0
>chip2: <Intel 82371AB PCI to ISA bridge> rev 0x01 on pci0.7.0
>ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.7.1
>chip3: <Intel 82371AB Power management controller> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990203203133.12975>