Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Need a solution for USB keyboard interrupt key_scan: (4 Items)
   
Need a solution for USB keyboard interrupt key_scan  
Hi,

I have a keyboard test application. It gets keyboard interrupt and reads key-scan-code via qnx_hint_attach() and inp( 
0x60 ), inp( 0x64) functions.
It works fine for PS/2 keyboard (device: /dev/kbd).

Now, when I change from PS/2 to USB keyboard, the new keyboard is running ok ( with drivers: io-usb, devu-usb and device
: /dev/usbkbd0 ), but my test application does not run. It could not get any interrupt.

- Is there any solution for testing usb keyboard?
- QNX has USB driver deverlopment kits, where can I download it? Can someone shared this USB DDK for QNX4 for me ?
Re: Need a solution for USB keyboard interrupt key_scan  
Hi Cong,

You should't access to keyboard I/O-ports directly while driver is running. Same here with USB driver. You can 
communicate with driver to test your keyboard.

> - QNX has USB driver deverlopment kits, where can I download it? Can someone shared this USB DDK for QNX4 for me ?

Latest USB DDK for QNX 4 is available here:

http://www.qnx.com/download/group.html?programid=8692

Respectfully,
Oleg

9 окт. 2018 г., в 6:12:07, Cong Pham <community-noreply@qnx.com> написал:

> Hi,
> 
> I have a keyboard test application. It gets keyboard interrupt and reads key-scan-code via qnx_hint_attach() and inp( 
0x60 ), inp( 0x64) functions.
> It works fine for PS/2 keyboard (device: /dev/kbd).
> 
> Now, when I change from PS/2 to USB keyboard, the new keyboard is running ok ( with drivers: io-usb, devu-usb and 
device: /dev/usbkbd0 ), but my test application does not run. It could not get any interrupt.
> 
> - Is there any solution for testing usb keyboard?
> - QNX has USB driver deverlopment kits, where can I download it? Can someone shared this USB DDK for QNX4 for me ?
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post119197
> To cancel your subscription to this discussion, please e-mail general-qnx4-unsubscribe@community.qnx.com

Re: Need a solution for USB keyboard interrupt key_scan  
Hi Mr Oleg,

I have tried this link "http://www.qnx.com/download/group.html?programid=8692" to download USB DDK, but it looks like a 
long time approval process.

I really need this usb ddk now, can you share it with me? If you can, please send to my email congpx@gmail.com.

Thanks.


> Hi Cong,
> 
> You should't access to keyboard I/O-ports directly while driver is running. 
> Same here with USB driver. You can communicate with driver to test your 
> keyboard.
> 
> > - QNX has USB driver deverlopment kits, where can I download it? Can someone
>  shared this USB DDK for QNX4 for me ?
> 
> Latest USB DDK for QNX 4 is available here:
> 
> http://www.qnx.com/download/group.html?programid=8692
> 
> Respectfully,
> Oleg
Re: Need a solution for USB keyboard interrupt key_scan  
Hi Cong,

Please request the package in the proper manner. In case of trouble getting this DDK, let me know and I’ll ask someone 
 to review your request.

Respectfully,
Oleg

10 окт. 2018 г., в 11:34, Cong Pham <community-noreply@qnx.com> написал:

> Hi Mr Oleg,
> 
> I have tried this link "http://www.qnx.com/download/group.html?programid=8692" to download USB DDK, but it looks like 
a long time approval process.
> 
> I really need this usb ddk now, can you share it with me? If you can, please send to my email congpx@gmail.com.
> 
> Thanks.
> 
> 
>> Hi Cong,
>> 
>> You should't access to keyboard I/O-ports directly while driver is running. 
>> Same here with USB driver. You can communicate with driver to test your 
>> keyboard.
>> 
>>> - QNX has USB driver deverlopment kits, where can I download it? Can someone
>> shared this USB DDK for QNX4 for me ?
>> 
>> Latest USB DDK for QNX 4 is available here:
>> 
>> http://www.qnx.com/download/group.html?programid=8692
>> 
>> Respectfully,
>> Oleg
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post119199
> To cancel your subscription to this discussion, please e-mail general-qnx4-unsubscribe@community.qnx.com