Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jul 2004 10:17:00 +0200
From:      Joerg Wunsch <j@ida.interface-business.de>
To:        Pyun YongHyeon <yongari@kt-is.co.kr>
Cc:        freebsd-sparc64@freebsd.org
Subject:   Re: SBus/EBus auxio driver
Message-ID:  <20040712081700.GA43691@ida.interface-business.de>
In-Reply-To: <20040712081042.GB656@kt-is.co.kr>
References:  <20040712081042.GB656@kt-is.co.kr>

next in thread | previous in thread | raw e-mail | index | archive | help
As Pyun YongHyeon wrote:

> This is an auxio driver for SBus/EBus based sparc64 systems.
> The driver controls front panel LED. By setting an OID
> "machdep.auxio_led_blink" with sysctl(8), the LED is made to
> blink based on system load average.

I once wrote my own auxio driver, basically as a first attempt to get
acquainted to FreeBSD/sparc64 drivers at all, since <auxio> is really
a fairly simple hardware to handle.

Now that I've noticed FreeBSD's led(4) driver, I think it would be
done better by registering a led instance on auxio, as opposed to
hardcoding some functionality into the driver.

Anyway, my (currently stalled) attempts to access all the I²C hardware
using a pcf(4) instance of SUNW,envctrl made me dismiss the idea of an
auxio driver: while auxio can only drive one out of the six LEDs on
the front panel of my E450, the I²C-controlled parallel port could
drive all of them.  All the remaining ports assigned to <auxio> are
quite uninteresting anyway.

-- 
J"org Wunsch					       Unix support engineer
joerg_wunsch@interface-systems.de        http://www.interface-systems.de/~j/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040712081700.GA43691>