/dev/kbd

Hi.

Is anyone familiar with the /dev/kbd device? What piece of code
is managing this device under QNX? We have designed an input board
which sends ‘set 2’ scan codes to the PS2 port of our Geode(x86)
board. Somehow these codes are translated to ‘set 1’ scan codes
when they are received by devi-hirun.

The keyboard works fine
because devi-hirun is based on ‘set 1’ codes however the /dev/kbd
incorrectly reports the self test ok command ‘aa’ as a set 2
scan code (left shift break).

devi-hirun -vvvvv kbd fd -d/dev/kbd ps2 kb -2 &

Is the BIOS the one that stes up /dev/kbd? What low level
code being run?

Thanks for any help!

Michel Benoit

devi-hirun -vvvvv kbd fd -d/dev/kbd ps2 kb -2 &

Is this how you are running dev-hirun ? cuz if so, then you are not
using /dev/kbd.

Is the BIOS the one that stes up /dev/kbd? What low level
code being run?

No. it is devc-con AFAIK, but again if you are running dev-hirun as
above devc-con is not involved.

devi-hirun -vvvvv kbd fd -d/dev/kbd ps2 kb -2 &

Is this how you are running dev-hirun ? cuz if so, then you are not
using /dev/kbd.

What do you mean?
Isn’t this the way to set up two input streams?

  1. keyboard: the kbd protocol connected to the fd input device (which
    uses /dev/kbd)
  2. mouse: the ps2 mouse protocol connected to teh auxiliary port of the
    kb input device

When looking at the verbose output of devi-hirun the kb device
is only reporting things that happen to the mouse.

Is the BIOS the one that stes up /dev/kbd? What low level
code being run?

No. it is devc-con AFAIK, but again if you are running dev-hirun as
above devc-con is not involved.

Thanks, I will look at devc-con.

Sorry, I had blinders on, when I was reading your post. Yes you are
using /dev/kbd

-----Original Message-----
From: Michel Benoit [mailto:michel.benoit@saabcom.se]
Posted At: Monday, April 09, 2001 12:47 AM
Posted To: os
Conversation: /dev/kbd
Subject: Re: /dev/kbd




devi-hirun -vvvvv kbd fd -d/dev/kbd ps2 kb -2 &

Is this how you are running dev-hirun ? cuz if so, then you are not
using /dev/kbd.

What do you mean?
Isn’t this the way to set up two input streams?

  1. keyboard: the kbd protocol connected to the fd input device (which
    uses /dev/kbd)
  2. mouse: the ps2 mouse protocol connected to teh auxiliary port of the
    kb input device

When looking at the verbose output of devi-hirun the kb device
is only reporting things that happen to the mouse.

Is the BIOS the one that stes up /dev/kbd? What low level
code being run?

No. it is devc-con AFAIK, but again if you are running dev-hirun as
above devc-con is not involved.

Thanks, I will look at devc-con.