From owner-freebsd-hackers@FreeBSD.ORG Wed Oct 25 18:34:23 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E016F16A407 for ; Wed, 25 Oct 2006 18:34:23 +0000 (UTC) (envelope-from ghostks@inbox.lv) Received: from mail.baltinet.lv (ns.baltinet.lv [213.180.96.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC6B843D8B for ; Wed, 25 Oct 2006 18:34:17 +0000 (GMT) (envelope-from ghostks@inbox.lv) Received: from BABYLON5 (unknown [213.180.116.50]) by mail.baltinet.lv (Postfix) with ESMTP id 52A0F775045 for ; Wed, 25 Oct 2006 21:34:15 +0300 (EEST) Date: Wed, 25 Oct 2006 21:34:15 +0300 From: Andris X-Mailer: The Bat! (v3.85.01) Professional X-Priority: 3 (Normal) Message-ID: <22259846.20061025213415@inbox.lv> To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: can't get to work SMBUS or simmilar method for getting thermal sensor data X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andris List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Oct 2006 18:34:24 -0000 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...