-2
\$\begingroup\$

Would it be possible to implement a HID device that would be capable of tracking computer usage - such as - 1/ computer being woken up 2/ Keyboard, mouse and/or touchscreen being active

A HID device (USB-device) that would "subscribe" to those events/actions.

Thank you,

\$\endgroup\$
0
\$\begingroup\$

No. USB HID standards do not have these options.

\$\endgroup\$
  • \$\begingroup\$ Depends a bit. If the computer suspends the USB bus when it goes to sleep, that is certainly noticeable. \$\endgroup\$ – Chris Stratton Mar 15 '17 at 3:11
  • \$\begingroup\$ @chris if. And if it doesn't have usb wake support. And it won't be able to tell sleep from power on. But that's only a third of the question. And not something supported by usb hid, that's custom coding. \$\endgroup\$ – Passerby Mar 15 '17 at 3:21
  • \$\begingroup\$ You seem to forget that any USB HID device is a USB device first. Plenty of perfectly everyday HID devices do respond to USB suspend. \$\endgroup\$ – Chris Stratton Mar 15 '17 at 3:41
  • \$\begingroup\$ @chris you seem to forget op is asking for a usb hid device to log other device activity somehow. \$\endgroup\$ – Passerby Mar 15 '17 at 3:56
  • \$\begingroup\$ It's not clear that what the poster wants to know is distinct from what the USB suspend may on some system represent. Of course others may not activate that at all. \$\endgroup\$ – Chris Stratton Mar 15 '17 at 4:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.