Is hidi2c.sys in Windows 8 is a minidriver similar to hidusb.sys ? .
Does it register with hidclass driver using Hidregisterminidriver like hidusb.sys does?
I looked into the inf file of hidi2c driver . in that i found mshidkmdf.sys loaded as upper filter.is it loaded bcz hidclass driver owns the dispatch table and hidi2c driver cannot access that directly ?
Hi All 1. Is hidi2c.sys in Windows 8 is a minidriver similar to hidusb.sys ? . 2. Does it register with hidclass driver using Hidregisterminidriver like hidusb.sys does? 3. I looked into the inf file of hidi2c driver . in that i found mshidkmdf.sys loaded as upper filter.is it loaded bcz hidclass driver owns the dispatch table and hidi2c driver cannot access that directly ?
Hi Doron
Thanks for the reply . I have gone through HIDoverI2C spec and USB HID specification … In both the cases the HID descriptors format are different . In that case how will the class driver will ask for the HID descriptor from hidi2c and hidusb drivers , bcz in both the cases , the buffer size will be different rte?
Is hidclass driver is same for both windows 7 and windows 8 or Microsoft has updated the hidclass driver to accommodate HID over I2C in Windows 8 and above ?
Hidclass.sys itself is transport agnostic. It doesn’t care if it is usb or i2c, so no it wasn’t updated to be i2c aware. The minidriver normalizes the hid descriptor before reporting it to hidclass. The format of the hid descriptor, not the on the wire format, is standardized and that is what the minidriver reports to hidclass
Hi Doron
Thanks for the reply . I have gone through HIDoverI2C spec and USB HID specification … In both the cases the HID descriptors format are different . In that case how will the class driver will ask for the HID descriptor from hidi2c and hidusb drivers , bcz in both the cases , the buffer size will be different rte?
Is hidclass driver is same for both windows 7 and windows 8 or Microsoft has updated the hidclass driver to accommodate HID over I2C in Windows 8 and above ?
what is meant by "minidriver normalizing "…Whether hidi2c driver will send the hid descriptor in the way hidclass driver understands ?(irrespective of what is mentioned in the hid over i2c spec)
“The format of the hid descriptor, not the on the wire format, is standardized and that is what the minidriver reports to hidclass”
==> I am not clear on this statement. Can you plz explain what exactly it means
To answer both, what I mean is that you are focusing too much on the on the wire format. The miniport’s job is to take the data off of the wire and makes sure it is reported in the bus agnostic format that the HID spec defines. The whole point of the miniport is to translate between bus agnostic requests and data and apply that it in a bus specific way.
what is meant by "minidriver normalizing "…Whether hidi2c driver will send the hid descriptor in the way hidclass driver understands ?(irrespective of what is mentioned in the hid over i2c spec)
“The format of the hid descriptor, not the on the wire format, is standardized and that is what the minidriver reports to hidclass”
==> I am not clear on this statement. Can you plz explain what exactly it means