search for: hidiocgusage

Displaying 2 results from an estimated 2 matches for "hidiocgusage".

2008 Jan 21
1
help writing a usb hid driver for existing ups
...l this stuff, having in mind that I don't want to learn 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...
2005 Oct 18
2
usb doesn't build on mac os x (10.4)
...etvalue': hidups.c:204: error: storage size of 'uref' isn't known hidups.c:209: error: 'HID_REPORT_TYPE_FEATURE' undeclared (first use in this function) hidups.c:210: error: 'HID_REPORT_ID_UNKNOWN' undeclared (first use in this function) hidups.c:216: error: 'HIDIOCGUSAGE' undeclared (first use in this function) hidups.c:204: warning: unused variable 'uref' hidups.c:220: warning: control reaches end of non-void function hidups.c: In function 'getstring': hidups.c:224: error: storage size of 'uref' isn't known hidups.c:225: error: st...