Hi John…
I hope that all is well. I am trying to educate myself on these matters.
Your experience has already helped me a lot, and I am pursuing your
links and pointers.
I am not sure if there is the utility ‘hidview’ in 6.2.1? When I run
this utility in 6.3.0, I can see that it sends information when there
are new events available from the stick (i.e. some movement and such).
I am actually considering opening a pipe to this utility
(programatically ofcourse), and just buffer and parse the output stream.
This is a brain dead way to go about it, but I cannot find
documentation on HID from QNX.
When I have wasted enough time, then I will give up I am sure, since I
do not have all the time to (reinvent the wheel) sink on this thing.
Thanks again. I appreciate your help.
Regards…
Miguel.
John Nagle wrote:
Miguel Simon wrote:
Hi John…
Thanks for the code. I appreciate your generous nature.
I have not yet taken a look at the code; I wanted to see if I could
understand the USB-HID interface first. Your suggestions and pointer
to MS-link have proven useful. I will do some research first, perhaps
ask some questions, and then if it is not obvious how to proceed, then
I will take a look at your code and use it.
The interface is reasonably complicated, because you have to
support hot-plugging of USB devices. Also, Microsoft’s encapsulation
has some ill-chosen design issues, which were replicated in the
QNX version.
There are some things that don’t work in the USB-HID system,
such as getting a device to send updates continuously. Also,
our experience with the QNX 6.21 version of the USB-HID system was
that, after hours of idle time, the device stops responding and
has to be unplugged and plugged in again.
Perhaps you and the Team Overbot would like to make a contribution to
openQNX and make this source code an open source effort? Perhaps
there are license issues… I am sure that very many would be very
appreciative of your contribution.
Is OpenQNX still alive? I thought that effort had been
killed off. Only one QNX project on SourceForge has been updated
in the last year. 2002 and 2003 were the good years of open source
for QNX. Once the NC version of QNX went away, so did open source
contributions.
John Nagle
Team Overbot