From owner-freebsd-current@FreeBSD.ORG Fri Sep 12 04:47:00 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E31F16A4BF for ; Fri, 12 Sep 2003 04:47:00 -0700 (PDT) Received: from helios.earthmagic.org (helios.earthmagic.org [198.78.66.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B19543F93 for ; Fri, 12 Sep 2003 04:46:59 -0700 (PDT) (envelope-from lonewolf-freebsd@earthmagic.org) Received: (qmail 42042 invoked from network); 12 Sep 2003 11:46:57 -0000 Received: from ppp150-58.lns1.mel2.internode.on.net (HELO earthmagic.org) (lonewolf@150.101.150.58) by helios.earthmagic.org with RC4-MD5 encrypted SMTP; 12 Sep 2003 11:46:57 -0000 Message-ID: <3F61B230.2000605@earthmagic.org> Date: Fri, 12 Sep 2003 21:46:56 +1000 From: Johny Mattsson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: EC/sensor support questions X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Sep 2003 11:47:00 -0000 Hi all, My main FreeBSD box has an Elite/ECS motherboard with the ITE8705 Environmental Controller/hardware monitor chip, which I'd love to use so that I can monitor the system temperature, voltages, and fan speed. At present (well, 5.1-R) there appears to exist no support for this particular chip. Not being deterred by such a fact, I thought I'd grab the specs and write up a driver for it, naively believing that I'd be able to link it in under the smbus code, like the intpm, alpm, et al. Having now read through the docs, it doesn't appear that this chip is an SMBus device. Skimming through the sysutil/xmbmon source supports that impression, as that app only talks to this chipset directly via ISA-IO. My questions are: - Is it feasible to write a pseudo smb driver that can translate smb requests to a different ioctl interface (or similar), and then write a specific ITE87xx driver to attach to that node? - Or is there already a framework or an ioctl set defined for sensors that I could/should be using instead? It appears that Linux has got something like that, but I haven't looked into in any detail (since I don't use Linux...) - Would we even want such a thing? I don't think I'd bother spending a lot of time deciphering the specs unless it'd benefit more people than myself. - Who would be able to point me to further specs for SMBus/i2c/sensor stuff? This stuff is seriously tedious to google for :/ TIA, /Johny