Bug in USB keyboard driver

when I press caps lock, scroll lock or other “led key” on USB keyboard
then QNX (6.3.x) stop working for 10-15 seconds (!?).

do You know how to fix this “bug” ?

“Q” <no@spam.pl> wrote in message news:fkdhtt$fjq$1@inn.qnx.com

when I press caps lock, scroll lock or other “led key” on USB keyboard
then QNX (6.3.x) stop working for 10-15 seconds (!?).

do You know how to fix this “bug” ?

Have you tried a different keyboard? How to you define “stop working”?

Hello, Q!

Q> when I press caps lock, scroll lock or other “led key” on USB keyboard
Q> then QNX (6.3.x) stop working for 10-15 seconds (!?).
Q> do You know how to fix this “bug” ?

There are a lot of bugs in the QNX keyboard driver (USB and PS/2). Looks
like some one revert back all applied year by year patches. For example: USB
keyboard leds: on Genius SlimStar Pro USB, pressing one of the Num, Caps,
Scroll Locks - highlights all leds on keyboard, independent on which led key
was pressed.

Another example with generic PS/2 keyboard: when pressing Right Ctrl key
with one of the arrow keys and then release both keys - Right Ctrl key is
locked (i.e. always pressed) until press Right Ctrl key again without key
combination. That is in console mode, without Photon.

I can confirm, that USB keyboard Genius SlimStar Pro USB hangs periodically
(from 5 minutes upto 2 hours) since system start. And very often it hangs
after pressing led keys by mistake. I got also problem with PS/2 keyboard
hangings (generic Mitsumi, without multimedia keys), this keyboard hangs
periodically also (one or two times per week).

Also on my USB keyboard can’t be configured type rate and type delay. By
default (and forever) it starts without key repeating, so repeat delay is
infinite :-/ This behaviour can’t be changed, passing options to the
devc-con-hid or devi-hid.

With best regards, Mike Gorchak. E-mail: mike@malva.ua

Have you tried a different keyboard? How to you define “stop working”?

You cannot enter any command from the keyboard (and mouse freezes)
and (most important!) my program stop sending data through rs-232 and udp
:frowning:.

This issue is on SBS CL9 (no ps/2 controller) with QNX 6.3.2,
but on SBS PC7 everything works fine (with the same USB keyboard and QNX
version);

There are a lot of bugs in the QNX keyboard driver (USB and PS/2).

bugs are not only in keyboard driver, but keybord driver is “the biggest
shit”;
btw:
I don’t know why QNX 8250 driver doesn’t support space/mark parity,
but termios structures “support” this kind of parity;

Another example with generic PS/2 keyboard: when pressing Right Ctrl key
with one of the arrow keys and then release both keys - Right Ctrl key is
locked (i.e. always pressed) until press Right Ctrl key again without key
combination. That is in console mode, without Photon.

I didn’t know about it…
I checkd it - this bug is also in QNX 6.3.2 :frowning:

Also on my USB keyboard can’t be configured type rate and type delay. By
default (and forever) it starts without key repeating, so repeat delay is
infinite :-/ This behaviour can’t be changed, passing options to the
devc-con-hid or devi-hid.

This is very strange bug - in most cases
USB keyboard typematic rate and delay doesn’t work,
but once it works, but typematic rate was unstable (it was changing bu
itself…)


so the only solution is to write keyb driver on my own?
:frowning:

Another example with generic PS/2 keyboard: when pressing Right Ctrl key
with one of the arrow keys and then release both keys - Right Ctrl key is
locked (i.e. always pressed) until press Right Ctrl key again without key
combination. That is in console mode, without Photon.

I can confirm, that USB keyboard Genius SlimStar Pro USB hangs
periodically (from 5 minutes upto 2 hours) since system start. And very
often it hangs after pressing led keys by mistake. I got also problem with
PS/2 keyboard hangings (generic Mitsumi, without multimedia keys), this
keyboard hangs periodically also (one or two times per week).

on this issues helps commenting the following line in build file:

devh-ps2ser.so

/than rebuild os image;

keyboard typematic rate and delay still doesn’t work;
/usb keyb hid driver bug ?