lkml.org 
[lkml]   [1996]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Patch: hook for extra kbd module
Date
Tom Bjorkholm said:
>
>
> Hi,
>
> Below is a patch/diff against linux-1.3.77.
> The patch adds a symbol "tty_insert_esc" that gets exported
> to modules. This allows me (and others) to write modular device
> drivers for things like application keyboards (extra add-on keyboards).
>
> Could you please include this patch in the "main-stream" kernels!
> -- Or tell me a better way to merge characters/escape-sequences from
> a special device with the character stream from the normal keyboard!

can't you just use ioctls (TIOCSTI I think is one) to puch characters into
the tty. That way you don't even need a module, just a user mode program (that
has access to the tty :-)).

--
Jon. <jon@gte.esi.us.es, http://www.esi.us.es/~jon>


\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.198 / U:1.736 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site