From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 16 21:55:10 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 CC08216A479 for ; Fri, 16 Jun 2006 21:55:10 +0000 (UTC) (envelope-from dmitry@atlantis.dp.ua) Received: from postman.atlantis.dp.ua (postman.atlantis.dp.ua [193.108.47.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id F373843D4C for ; Fri, 16 Jun 2006 21:55:09 +0000 (GMT) (envelope-from dmitry@atlantis.dp.ua) Received: from smtp.atlantis.dp.ua (smtp.atlantis.dp.ua [193.108.46.231]) by postman.atlantis.dp.ua (8.13.1/8.13.1) with ESMTP id k5GLt1EM018083; Sat, 17 Jun 2006 00:55:01 +0300 (EEST) (envelope-from dmitry@atlantis.dp.ua) Date: Sat, 17 Jun 2006 00:55:01 +0300 (EEST) From: Dmitry Pryanishnikov To: Franklin Donan In-Reply-To: Message-ID: <20060617005036.D3928@atlantis.atlantis.dp.ua> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-hackers@freebsd.org Subject: Re: adm1026 support X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2006 21:55:10 -0000 Hello! On Tue, 13 Jun 2006, Franklin Donan wrote: > I want to use healthd to monitor values exported by an adm1026 chip, > using the smbus interface. > Here's the data sheet for this chip: > http://www.analog.com/UploadedFiles/Data_Sheets/779263102ADM1026_a.pdf > > This chip is smbus & iic compatible. I am thinking I will have to write an > adm1026 specific kernel module to interface with the iicbus module, but am > not sure. Can someone please let me know what exactly needs to be done? There's no need in kernel module, all you want is a small piece of chip-specific userland code for healthd itself. Take a look at my patch: ftp://external.atlantis.dp.ua/FreeBSD/healthd/0.7.9/patch-IntelDeskBoards.v04 It adds support for several chips including ADM1025. Unfortunately I have neither ADM1026-based motherboard nor spare time to help you, but I hope you'll get an idea - code is very simple indeed. Sincerely, Dmitry -- Atlantis ISP, System Administrator e-mail: dmitry@atlantis.dp.ua nic-hdl: LYNX-RIPE