Subject: Re: [long] Re: RFC: merge chap-midi branch
To: Chapman Flack <>
From: Martin Husemann <>
List: tech-kern
Date: 06/27/2006 09:19:33
On Mon, Jun 26, 2006 at 11:39:42PM -0400, Chapman Flack wrote:
>  I believe the appropriate way to address that
> is by adding a way for an aware application to get notice that an
> error has been detected

I would do a kqueue event on the /dev/rmidi* file descriptor to notify
userland of changes (see kqueue(2), kfilter_register(9), knote(9)) and
provide an ioctl (if that is not already there) to retrieve stats/errors.