Question about pm and tty

From: Francis Moreau
Date: Fri Jul 06 2007 - 04:06:14 EST


Hi,

I've just finished to implement an input driver for a simple custom
keyboard (only 16 keys).

I wanted to give it a test through a virtual terminal (CONFIG_VT).
Note that I'm not familiar with this at all so pardon me if I'm saying
something silly.

I noticed that as soon as the terminal is initialized, tty_init() is
called, the input device is open and thus its clock is started. It
sounds strange to me, I would have thought that the input device is
open only when /dev/tty is open. Thus the keyboard clock is started
when the keyboard is really used.

Am I missing something ?

Thanks
--
Francis
-
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/