stuffing characters to keyboard buffer.

From: P.Manohar
Date: Mon May 02 2005 - 11:37:20 EST



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?

AFAIK, tty_flip_buffer is the buffer from which both console and x-windows will take input. If we insert into this buffer, I think the purpose will be served. Now the question is how to send ioctl to this buffer.
can you please give any suggestions on this?



Thanks&Regards,
P.Manohar,

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/