none
HID transport bridge to HID-I2C on Win7 RRS feed

  • Question

  • Hi,

    I'm building a system that will serve as a bridge between HID over I2C device and Win7 or Win8 system.

    My system includes a propriety uC that communicates with HID over I2C target and with a KMDF transport driver 

    through a propriety protocol .

    SW stack is like this:

    HIDClass.sys->mshidkmdf.sys->(My driver)->uC->(HID I2C target)

    My problem is: when my driver starts to run, the first IOCTL is IOCTL_HID_GET_DEVICE_DESCRIPTOR (as expected), but it comes with WDFMemory buffer size of 9 bytes (like on HID-USB) instead of 30 (on HID-I2C spec).

    How do I tell the system that I want to use HID-I2C protocol? Do I need to translate between HID-USB and HID-I2C?

    I need a solution that is robust for Win7 and Win8 . HIDclass driver is identical on both OS? 

    Thanks!

    Tali Perry

    Nuvoton Technologies.

    Monday, October 27, 2014 5:25 AM

Answers

  • I need a solution that is robust for Win7 and Win8 . HIDclass driver is identical on both OS? 

    According to MSDN, HID over i2c exists only since Win8. So win7 does not know what is HID-I2C.

    -- pa

    Monday, October 27, 2014 8:23 AM

All replies