vparot / javahidapi

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

HIDManager.openById fails for USB devices that have gone dormant #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
My HID powers off after a period of time of non-use.  When that happens the 
next time I attempt to call 'openById' it will fail.

My only recourse is to load the native communication software that came with 
the device.  Once I do that the openById call will succeed until the device 
powers down again.

Unfortunately I don't have the error as it's somewhat difficult for me to 
reproduce. I will attach the error the next time this occurs, but I think it 
may just be that openById returns null.

Original issue reported on code.google.com by rand...@gmail.com on 28 Mar 2012 at 4:27