Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Feb 1999 08:40:11 -0500 (EST)
From:      Brian Feldman <green@unixhelp.org>
To:        Nicolas Souchu <nsouch@teaser.fr>
Cc:        hardware@FreeBSD.ORG, current@FreeBSD.ORG
Subject:   Re: Aladdin chipset SMBus support available!
Message-ID:  <Pine.BSF.4.05.9902140837390.3507-100000@janus.syracuse.net>
In-Reply-To: <19990214095845.56909@breizh.prism.uvsq.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 14 Feb 1999, Nicolas Souchu wrote:

> On Sat, Feb 13, 1999 at 05:22:00PM -0500, Brian Feldman wrote:
> >
> >On Sat, 13 Feb 1999, Nicolas Souchu wrote:
> >
> >> Example program to fetch temperature or voltages is available at
> >> http://www.planet.sci.kobe-u.ac.jp/~takawata/smbus/examples/
> >> There's also an example program to fetch SDRAM info over the smbus.
> 
> I attach you the detect.c program. It's very simple and may help us
> in knowing what I2C hardware you have on your mobo.

Where's my detect.c? I think you forgot to attach it :)

> >I tried them, and there's the problem: all the ioctl()s they perform return
> >EINTR! Has this driver been tested on many motherboards? Why should I expect
> >an EINTR? Just wondering :)
> 
> EINTR is odd. It just mean that the device at the address requested on the
> I2C bus do not respond. I have to translate SMBus errors to the appropriate
> unix ones.

Hmm... wouldn't the appropriate error for something not responding be an
ENXIO or ETIMEDOUT? EINTR seems more than a little wrong for this purpouse.

> 
> -- 
> nsouch@teaser.fr / nsouch@freebsd.org
> FreeBSD - Turning PCs into workstations - http://www.FreeBSD.org
> 

 Brian Feldman					  _ __  ___ ___ ___  
 green@unixhelp.org			      _ __ ___ | _ ) __|   \ 
	     http://www.freebsd.org/	 _ __ ___ ____ | _ \__ \ |) |
 FreeBSD: The Power to Serve!	   _ __ ___ ____ _____ |___/___/___/ 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



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