lkml.org 
[lkml]   [2007]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectQuestion about pm and tty
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@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: 2007-07-06 11:03    [W:0.028 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site