OpenQNX :: The QNX Community Portal

Jul 06, 2008 - 12:34 AM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 39 unlogged users and 0 registered users online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Q
Post subject: Bug in USB keyboard driver  PostPosted: Dec 20, 2007 - 10:58 AM
Guest





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" ?
 
   
Reply with quote Back to top
Mario Charest
Post subject: Re: Bug in USB keyboard driver  PostPosted: Dec 20, 2007 - 01:50 PM
Guest





"Q" <no@spam.pl> wrote in message news:fkdhtt$fjq$1@inn.qnx.com...
Quote:
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"?
 
   
Reply with quote Back to top
Mike Gorchak
Post subject: Re: Bug in USB keyboard driver  PostPosted: Dec 21, 2007 - 12:51 PM
Guest





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
 
   
Reply with quote Back to top
Q
Post subject: Re: Bug in USB keyboard driver  PostPosted: Jan 03, 2008 - 08:48 AM
Guest





Quote:
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
Sad.

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);
 
   
Reply with quote Back to top
Q
Post subject: Re: Bug in USB keyboard driver  PostPosted: Jan 03, 2008 - 09:17 AM
Guest





Quote:
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;

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

Quote:
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?
Sad
 
   
Reply with quote Back to top
Q
Post subject: Re: Bug in USB keyboard driver  PostPosted: Jan 07, 2008 - 11:02 AM
Guest





Quote:
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 ?
 
   
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.