Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Feb 1999 11:00:42 +1030
From:      Matthew Thyer <Matthew.Thyer@dsto.defence.gov.au>
To:        Nicolas Souchu <nsouch@teaser.fr>, Takanori Watanabe <takawata@shidahara1.planet.sci.kobe-u.ac.jp>
Cc:        current@FreeBSD.ORG
Subject:   Re: How do I query system temperature probes ?
Message-ID:  <36B8EA32.D5105294@dsto.defence.gov.au>
References:  <36B7CED1.96D4B369@dsto.defence.gov.au> <19990203203133.12975@breizh.prism.uvsq.fr>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <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

-- 
 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



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