Subject: Re: wsmux inject
To: Iain Hibbert <plunky@rya-online.net>
From: Martin Husemann <martin@duskware.de>
List: tech-kern
Date: 03/14/2006 11:54:59
On Mon, Mar 13, 2006 at 10:07:35PM +0000, Iain Hibbert wrote:
> Hi,
>   looking to inject events into wsmux from userland - have opened
> "/dev/wsconsctl0" (wsmouse) and "/dev/wsconsctl1" (wskbd) for writing, and
> injecting mouse events works fine, but keyboard events are vanishing in
> the kernel. After enabling wsmux_debug, I get this:

Looking at wsmux_open it sounds like you need to open /dev/wskbd for writing,
that should be all that is needed.

Martin