Messages in this thread | | | From | Dmitry Torokhov <> | Subject | Re: stuffing characters to keyboard buffer. | Date | Mon, 2 May 2005 11:52:19 -0500 |
| |
Hi,
On Monday 02 May 2005 11:29, P.Manohar wrote: > > hai, > I want to stuff the characters received on a serial line into the > keyboard buffer, so that they will be send to applications as if they are > coming from keyboard irrespective of console or x-windows mode. > > For this purpose, I planned to use ioctls. Can anybody tell how to > send an ioctl to keyboard driver? >
If you are working with 2.6 you'd need to create an input device, probably working on top of serport driver, like sermouse does. You may also want to take a look at uinput driver - it allows to create userspace-driven input devices.
-- Dmitry - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |