using vkbd device

Norbert Koch NKoch at demig.de
Fri Jun 3 02:37:21 PDT 2005


Hello,

I am trying to use vkbd to multiplex
an at keyboard and an usb keyboard
into syscons.

Vkbd's control device's write routine
expects ints to queue to the slave device.

As I understand, those ints map 1:1
to the chars I read from a keyboard device, right?
So I open, for example, /dev/kbd0, set it to K_RAW,
read chars from it and write them as ints to
vkbd's control device, right?

Thank you for any help,

Norbert Koch


More information about the freebsd-hackers mailing list