sauravsingh29 / javahidapi

Automatically exported from code.google.com/p/javahidapi
Other
0 stars 0 forks source link

Two HID's, openByPath seems to work, write does not return error, but write appears not to happen #49

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
Use two HID devices.
2.
Open both HIDDevice's in two separate threads.  This appears to be successful.  

What is the expected output? What do you see instead?
When used individually they each work as expected, writing to them produces the 
expected result.  If both are plugged in, only one works.  The openByPath 
returns an instance of each, the write returns the number of bytes written 
correctly, but the device appears not to be receiving the data.  

What version of the product are you using? On what operating system?
1.1 on Mac OS X v10.7.5

Please provide any additional information below.
The operating system shows both devices when both are plugged in.  The 
hid_mgr.listDevices() function shows both, the openByPath() is successful and 
the byteswritten = dev.write(sendbuf1) returns the proper number of bytes.

Original issue reported on code.google.com by gbarna...@gmail.com on 30 Mar 2013 at 5:38

GoogleCodeExporter commented 8 years ago
Please close this issue.  The error was mine, sorry.

Original comment by gbarna...@gmail.com on 30 Mar 2013 at 9:24