HAL doesn't work with grabbed or uinput created devices

Michael Hanselmann linux-kernel at hansmi.ch
Tue Jan 16 10:27:07 PST 2007


On Tue, Jan 16, 2007 at 06:17:52PM +0000, Richard Hughes wrote:
> > Input device -> Kernel (input.c) -> Kernel (evdev.c) ->
> >     inputd (userland) -> Kernel (uinput.c) -> Kernel (evdev.c) ->
> >         User application, X, HAL, whatever

> Crazy stuff - think about the cost of going kernel to user to kernel to
> user for each keypress. What about:

Actually, I was thinking about such things in the beginning, too.
Latency isn't a problem. Context switches might be, but in practice,
aren't. It's a compromise. You only type like 10 characters per second,
which is about nothing to a computer.

> input device -> kernel -> X -> application ?

Won't work for people not using X. gpm works with inputd, but wouldn't
with that way.

Greets,
Michael

-- 
Gentoo Linux developer, http://hansmi.ch/, http://forkbomb.ch/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070116/0008835e/attachment-0001.pgp


More information about the hal mailing list