Subject: Re: OF Version String
To: None <port-macppc@netbsd.org>
From: Derek Peschel <dpeschel@eskimo.com>
List: port-macppc
Date: 11/30/2001 19:12:41
On Fri, Nov 30, 2001 at 02:56:25PM -0500, gabriel rosenkoetter wrote:
> On Fri, Nov 30, 2001 at 02:21:11PM -0500, gabriel rosenkoetter wrote:
> > On Fri, Nov 30, 2001 at 11:11:28AM -0800, Henry B. Hotz wrote:

> > > You can get the OF version from "dev /openprom .properties" and 
> > > looking at the model entry.  I've gotten:
> > > Open Firmware, 1.0.5		on a PowerMac 7500
> > > Open Firmware, 2.0.1		on a PowerBook G3 Series (PDQ)
> > > Open Firmware 3			on a 450 MHz G4 tower (AGP Graphics)
> > It means we can do that in machdep.c, parse the output, then dtrt
> > wrt (whee!) `usb-kbd-handle[s]. Maybe. Presuming we can issue dev
> > listing requests from machdep.c and get results intelligibly.
> 
> Ah, but it may not be that simple, as all of the machines on which
> this is an issue are OF 3 machines.
> 
> Lennart, Derek, what do your machines say for this?

Mine says "Open Firmware 3".  I have `usb-kbd-ihandles.  My machine is an
AGP G4 Tower.

You know, OF prints a more detailed version string when it starts up.  That
may have to do with the BootROM version or it may be separate.  If we could
coax either of those out of OF, that might work.

-- Derek