Skip navigation.
Home
The QNX Community Portal

View topic - Bug in USB keyboard driver

Bug in USB keyboard driver

Read-only archive of qnx.ddk (Writing device drivers for scanners, video card, optical mouse, etc) at inn.qnx.com

Bug in USB keyboard driver

Postby Q » Thu Dec 20, 2007 10:58 am

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
 

Re: Bug in USB keyboard driver

Postby Mario Charest » Thu Dec 20, 2007 1:50 pm

"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"?
Mario Charest
 

Re: Bug in USB keyboard driver

Postby Mike Gorchak » Fri Dec 21, 2007 12:51 pm

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
Mike Gorchak
 

Re: Bug in USB keyboard driver

Postby Q » Thu Jan 03, 2008 8:48 am

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
:(.

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);
Q
 

Re: Bug in USB keyboard driver

Postby Q » Thu Jan 03, 2008 9:17 am

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 :(

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?
:(
Q
 

Re: Bug in USB keyboard driver

Postby Q » Mon Jan 07, 2008 11:02 am

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 ?
Q
 


Return to qnx.ddk

Who is online

Users browsing this forum: No registered users and 1 guest

cron