Messages in this thread | | | Date | Mon, 2 May 2005 21:59:59 +0530 (IST) | From | "P.Manohar" <> | Subject | stuffing characters to keyboard buffer. |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |