lkml.org 
[lkml]   [2005]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: stuffing characters to keyboard buffer.
Date
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/

\
 
 \ /
  Last update: 2005-05-02 19:08    [W:0.817 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site