linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Equivalent of /dev/input/mice for keyboards
@ 2009-01-02 23:29 Alessio Sangalli
  2009-01-12  7:32 ` Dmitry Torokhov
  0 siblings, 1 reply; 6+ messages in thread
From: Alessio Sangalli @ 2009-01-02 23:29 UTC (permalink / raw)
  To: linux-input

Hi, I have developed a PS/2 driver for a new ARM-based hardware.

I have used the serio subsystem and I can test with input-event or
similar programs that the keyboard and mouse I have connected work well.

Now, this platform, being an embedded ARM board, does not have a
"console" that can be attached to the keyboard. I only connect with
serial port or telnet. And here I am getting confused: I can read one
device at a time by opening /dev/input/event*.

I would like to write my userspace application so that it gets all the
input from the various keyboards (can be up to two PS/2 keyboards + USB
ones) and process it. The struct input_event is very convenient but what
I am doing now is to open all the event* devices and select() them. This
wouldn't probably work if I connect/disconnect a device on the fly. It
would be much easier if I had a device similar to input/mice that
automatically does the muxing for me...

Thank you
Alessio



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-01-15  8:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-02 23:29 Equivalent of /dev/input/mice for keyboards Alessio Sangalli
2009-01-12  7:32 ` Dmitry Torokhov
2009-01-12 21:14   ` Alessio Sangalli
2009-01-13  5:53     ` Dmitry Torokhov
2009-01-15  7:56       ` Alessio Sangalli
2009-01-15  8:33         ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).