Subject: Re: SMBus support
To: Matthew Fincham <matthewf@cat.co.za>
From: Alexander Yurchenko <grange@rt.mipt.ru>
List: tech-kern
Date: 11/25/2003 14:59:01
On Wed, Nov 19, 2003 at 05:47:14PM +0200, Matthew Fincham wrote:
> Hi
> 
> Earlier today I posted (to NetBSD-users) about a driver for the National
> Semiconductor LM85 hardware monitor. It appears I missed the crucial point -
> the LM85 does not have an ISA interface (like the LM78) but a SMBus
> interface. So I guess I have two questions:
> 
> * What support for the SMBus if offered by NetBSD? (1.6)
> * If none, is there another way to speak to the device? I read a post about
> a program "mbmon" which "accesses the PCI bus and polls SMBus devices from
> there". Is this a viable option?

NetBSD-current has i2c framework and SMBus controllers can be
accessed through it with iic_exec() function. Also there's i2c driven lm75
temperature sensor driver. Look at dev/i2c.

> 
> Many thanks
> Matthew Fincham
> 

-- 
   Alexander Yurchenko (aka grange)