Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - QNX7.0: io-hid USB keyboard issue: (2 Items)
   
QNX7.0: io-hid USB keyboard issue  
Hello there,
in my boot image (QNX 7.0), I'm running 'io-hid -d usb'.
The keyboard works fine, with one exception: The number sign key '#'.
This key is displayed twice on screen: When pressing the key and when releasing the key.
This also happens, when the SHIFT key is held down and '#' is pressed.

Did anyone notice this before? Is there a way to fix this?
I tried several (german layout) USB keyboards with always the same result.
pci-tool lists two USB controllers: Intel BayTrail SoC USB, EHCI and XHCI (vid/did = 8086/0f34 and 8086/0f35)

Thanks in advance,
Michael.
Re: QNX7.0: io-hid USB keyboard issue  
Hello Michael,
we have been using Baytrail-based system with 7.0 x86_64 and use the local USB keyboard a lot for some years now - and 
never noticed this issue. I could reproduce it immediately. Very weird. No idea what the cause may be.

The devh-drivers are closed source, so I can't really investigate. I am not even sure if the problem is at the io-hid 
level. Maybe the USB stack emits the events. If I do "hidview -a" in a terminal session I get a continuous stream of 
reports:

root@CX5140p in /root # hidview -a
Device Address       : 0
Vendor               : 0x04f3
Product              : 0x0103
Version              : r2.00
Usage                : Keyboard

Device Address       : 1
Vendor               : 0x04f3
Product              : 0x0103
Version              : r2.00
Usage                : Consumer Control

Report Data          :
00 : 00 00 00 00 00 00 00 00
00 : 00 00 00 00 00 00 00 00
00 : 00 00 00 00 00 00 00 00
00 : 00 00 00 00 00 00 00 00
00 : 00 00 00 00 00 00 00 00
00 : 00 00 00 00 00 00 00 00

About four such lines appear per second. If I press the # sign key, I get some lines like this:
00 : 00 00 00 00 00 00 00 00
00 : 00 00 32 00 00 00 00 00
00 : 00 00 32 00 00 00 00 00
00 : 00 00 32 00 00 00 00 00
00 : 00 00 32 00 00 00 00 00
00 : 00 00 32 00 00 00 00 00
00 : 00 00 32 00 00 00 00 00
00 : 00 00 32 00 00 00 00 00
00 : 00 00 32 00 00 00 00 00
00 : 00 00 32 00 00 00 00 00
00 : 00 00 32 00 00 00 00 00
00 : 00 00 00 00 00 00 00 00
00 : 00 00 00 00 00 00 00 00

And then hidview terminates, but the command prompt doesn't come back.

???

-Al