Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Oct 2006 22:58:33 +0300
From:      Andris <ghostks@inbox.lv>
To:        freebsd-hackers@freebsd.org
Subject:   Fwd: Re[2]: can't get to work SMBUS or simmilar method for getting thermal sensor data
Message-ID:  <10710609613.20061025225833@inbox.lv>
In-Reply-To: <61214401.20061025224952@inbox.lv>
References:  <22259846.20061025213415@inbox.lv> <453FBD52.40806@elischer.org> <61214401.20061025224952@inbox.lv>

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

> Andris wrote:
>> I'm having Asus A7V880 motherboard (AthlonXp, KT880, VT8237) and can't get to work any thermal viewing and control program. I've tried mbmon, healtd, consolehm etc. Some don't work at all (NO HW SENSOR AVAILABLE or simmilar message) or showing constant temperature 255C.
>> 
>> I'v tried to load smb/smbus/*pm modules - no effect, tried to recompile kernel with:
>> device smbus
>> device viapm
>> device smb
>> device iic
>> device ic
>> device iicbus
>> device iicbb
>> device iicsmb
>> no effect. Even NO /dev/smbX device present and 'dmesg | grep smb' or 'sysctl -a | grep thermal' shows nothing.
>> Then I found, that this south bridge is using 'VIA VT1211 LPC Super I/O' chip for I/O operations accordingly to thermal sensors and there is no driver support in BSD, so the systems do not understand it. But I found that driver for this chip was introduced in OpenBSD 3.8:
>> "Modified files:
>> sys/arch/i386/conf: GENERIC
>> sys/arch/amd64/conf: GENERIC
>> sys/dev/isa : files.isa
>> share/man/man4 : Makefile
>> Added files:
>> sys/dev/isa : viasio.c viasioreg.h
>> share/man/man4 : viasio.4
>> Log message:
>> Add viasio(4), a driver for VIA VT1211 LPC Super I/O found on
>> some VIA CPU based boards. The driver provides temperature,
>> voltage and fan tachometers values through the sysctl interface. "
>> 
>> I've tried to port this driver to FreeBSD but no effect :( can't even compile kernel.
>> Is it possible to create/port such a driver in FreeBSD? It would be very popular, because I found a lot of simmilar problems on the net...
>> 
>> 
>> _______________________________________________
>> freebsd-hackers@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
>> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"

> ASUS turn of ftheur SMBUS (Grrr!)

> you can try the attached script to try turn it on again....

"Not a INTEL ICH4 PCI Bridge Chip"
This script is for Intel chips only, but my is made by VIA.

I found this tutorial how to enable SMBUS on Asus with ICH2/ICH4 chips.
http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/xmbmon/README-ASUS-P4motherboard.html

Maybe some one knows real values for VIA chips? My system:

# pciconf -l
agp0@pci0:0:0:  class=0x060000 card=0x81221043 chip=0x02691106 rev=0x80 hdr=0x00
hostb0@pci0:0:1:        class=0x060000 card=0x81221043 chip=0x12691106 rev=0x00 hdr=0x00
hostb1@pci0:0:2:        class=0x060000 card=0x81221043 chip=0x22691106 rev=0x00 hdr=0x00
hostb2@pci0:0:3:        class=0x060000 card=0x81221043 chip=0x32691106 rev=0x00 hdr=0x00
hostb3@pci0:0:4:        class=0x060000 card=0x81221043 chip=0x42691106 rev=0x00 hdr=0x00
hostb4@pci0:0:7:        class=0x060000 card=0x81221043 chip=0x72691106 rev=0x00 hdr=0x00
pcib1@pci0:1:0: class=0x060400 card=0x00000070 chip=0xb1981106 rev=0x00 hdr=0x01
xl0@pci0:10:0:  class=0x020000 card=0x905510b7 chip=0x905510b7 rev=0x24 hdr=0x00
none0@pci0:12:0:        class=0x030000 card=0x2003102b chip=0x051b102b rev=0x00 hdr=0x00
atapci0@pci0:15:0:      class=0x010400 card=0x80ed1043 chip=0x31491106 rev=0x80 hdr=0x00
atapci1@pci0:15:1:      class=0x01018a card=0x80ed1043 chip=0x05711106 rev=0x06 hdr=0x00
none1@pci0:16:0:        class=0x0c0300 card=0x30381106 chip=0x30381106 rev=0x81 hdr=0x00
none2@pci0:16:1:        class=0x0c0300 card=0x30381106 chip=0x30381106 rev=0x81 hdr=0x00
none3@pci0:16:2:        class=0x0c0300 card=0x30381106 chip=0x30381106 rev=0x81 hdr=0x00
none4@pci0:16:3:        class=0x0c0300 card=0x30381106 chip=0x30381106 rev=0x81 hdr=0x00
none5@pci0:16:4:        class=0x0c0320 card=0x31041106 chip=0x31041106 rev=0x86 hdr=0x00
isab0@pci0:17:0:        class=0x060100 card=0x80ed1043 chip=0x32271106 rev=0x00 hdr=0x00

They from OpenBSD realised acces through ISA bus:
http://archives.neohapsis.com/archives/openbsd/cvs/2005-07/0916.html






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