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 <takaw...@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 majord...@freebsd.org > >with "unsubscribe freebsd-current" in the body of the message > > > > -- > nso...@teaser.fr / nso...@freebsd.org > FreeBSD - Turning PCs into workstations - http://www.FreeBSD.org > > To Unsubscribe: send mail to majord...@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 majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message