Displaying 1 result from an estimated 1 matches for "usage_index".
Did you mean:
page_index
2008 Jan 21
1
help writing a usb hid driver for existing ups
...n all
the HID stuff - just some basics (probably just
an example) necessary to implement the driver.
(*) their program is looping doing the following
at regular intervals:
654 time(NULL) = 1200921228
654 ioctl(3, HIDIOCGUSAGE, {report_type=1, report_id=0, field_index=0, usage_index=0, usage_code=ffa00001, value=240}) = 0
654 select(4, [3], NULL, NULL, {3, 0}) = 1 (in [3], left {2, 990000})
654 read(3, "\1\0\240\377\360\0\0\0\1\0\240\377\0\0\0\0\1\0\240\377\0\0\0\0\1\0\240\377\0\0\0\0\1\0\240\377\0\0\0\0\1\0\240\377\0\0\0\0\1\0\240\377\0\0\0\0\1\0\240\377\0\0\0\0"...