sauravsingh29 / javahidapi

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

Windows 8.1 suspends HID connections through USB #62

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use Windows 8.1
2. Hook up HID enabled device
3. When device is idle, the connection will be suspended

What is the expected output? 
Device to stay enabled.  

What do you see instead?
Device is disabled.

What version of the product are you using?
hidapi 1.1 

On what operating system?
Windows 8.1

Please provide any additional information below.
I am using HID mode USB credit card swipers and they lose the connection after 
5 seconds.  This problem does not happen on Window 8 and below.  Is there a way 
to keep the OS from disabling the device using this API?

This is a MS change in win8.1
http://blogs.msdn.com/b/usbcoreblog/archive/2013/11/08/help-after-installing-win
dows-8-1-my-usb-device-doesn-t-charge-or-it-disconnects-and-reconnects-frequentl
y.aspx

Thank You

Original issue reported on code.google.com by leonard....@gmail.com on 15 Jul 2014 at 4:10