Displaying 2 results from an estimated 2 matches for "report_count".
Did you mean:
port_count
2014 Mar 12
0
Developing the UPS side of the UPS-NUT equation (via usbhid)
...ctly? I assume it's not requesting reports because there is nothing it wants to know about.
Here is what I have so far:
USAGE_PAGE (Power Device)
USAGE (UPS)
COLLECTION (Application)
USAGE (BatterySystem)
COLLECTION (Physical)
REPORT_ID (1)
USAGE (Voltage)
REPORT_SIZE (8)
REPORT_COUNT (1)
UNIT (SI Lin:Volts)
LOGICAL_MINIMUM (0)
LOGICAL_MAXIMUM (255)
FEATURE (Data,Var,Abs)
REPORT_ID (2)
USAGE (Temperature)
REPORT_SIZE (8)
REPORT_COUNT (1)
LOGICAL_MINIMUM (0)
LOGICAL_MAXIMUM (255)
UNIT (SI Lin:Temperature)
FEATURE (Data,Var,Abs)
U...
2014 Mar 12
4
Developing the UPS side of the UPS-NUT equation (via usbhid)
The syntax is beginning (just beginning) to make sense to me now, so I'm looking now to try and implement just a few items in the report descriptor, and then I figured I can progress from there if all goes well.
The power HID docs seem to encourage drawing out your system first, and then letting the report descriptor flow from there. So, my very simplified system goes like this: