07-11-2013 02:29 AM
Hello
Is someone know how to force Windows to send USB HID device to Suspend mode (power saving) and how to wake up this device (resume) after that withLabView?
Regards
Guy
07-12-2013 11:55 AM
Hi Guy.Co
Maybe the information of this forum can help you with your application.
Regards
Esteban R.
07-12-2013 12:20 PM
Access Denied to that forum. "Sorry, you do not have sufficient privileges for that action."
07-15-2013 09:44 AM
You can call into the Windows libraries which control the USB power states from LabVIEW. You might need to build your driver; you can find more information on these links (these were the references given by Esteban).
07-29-2013 02:28 AM
You can do it with USB control commands but that requires in-depth understanding of the USB protocol and a method of passing arbitrary control commands to your HID. You don't say which interface you're using, presumably Microsoft's HID DLL?
Shane
07-29-2013 04:11 AM
HI
Thanks for your answers
I guess I need to write a driver for my device
I tried to find out how to do this with NI-VISA USB RAW drivers with no success
there is no control command for HID to move to suspend mode
the OS jus don't send keep alive to the device for 3msec and then the HID go to suspend
so ,I need to force the OS to be quiet for a 3ms
Guy
08-14-2013 06:04 AM
You can implement a generic/custom HID device with Input and Output Report. Use your own protocol to send wakeup/sleep requests. All you have to do is to interpret those values in your device firmware.
11-25-2015 04:52 PM
Has anyone seen any more information regarding whether this is indeed possible or not?
Looking through stack-exchange and other sources would indicate that it is possible to disable/enable a HID device but not remove complete power to a port, which in many cases is necessary for a full reset.
11-30-2015 09:32 AM
ogk.nz,
As this forum is two years old, it's unlikely someone will respond with a solution. Feel free to make a new forum thread about this topic, as you'll be much more likely to receive an answer that way.