Subject: 1.2 /dev/hil%d
To: None <port-hp300@NetBSD.ORG>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: port-hp300
Date: 03/31/1997 09:31:49
Is the /dev/hil* stuff supposed to be working in 1.2?  I started toying
with it, discovered there is not enough documentation to do a number of
usetful things, kludged around that, got EINVAL from HILIOCALLOCQ, went
looking, and discovered

        case HILIOCALLOCQ:
		error = hilqalloc(hilp, (struct hilqinfo *)data, p);
		break;

[...]

hilqalloc(hilp, qip, p)
	register struct hil_softc *hilp;
	struct hilqinfo *qip;
	struct proc *p;
{

#ifdef DEBUG
	if (hildebug & HDB_FOLLOW)
		printf("hilqalloc(%d): addr %x\n", p->p_pid, qip->addr);
#endif
	return(EINVAL);
}

Is the HIL event queue stuff Just Not There?  Certainly much of the
_other_ code for event queueing is there, and if an X server works
under 1.2 then there must be _some_ sort of keyboard interface.  What
is it?  Does it just use the read() interface?

If this interface still isn't there in -current, I would strongly
recommend that hil(4) either not mention that interface at all or warn
that it is not yet working.

					der Mouse

			       mouse@rodents.montreal.qc.ca
		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B