hid_parse error

From
Pandruvada, Srinivas <hidden>
Date
2012-04-27 18:22:53
The hid_parse fails with error -22 (EINVAL) for the LOGICAL MAX value of 0xffffffff.
Basically when it gets
"0x27,0xff, 0xff, 0xff, 0xff"  it fails.

With opcode 0x27, we can have 4 bytes of payload.
I see that in  hid-core.h, the logical_maximum is defined __s32. It is interpreting 0xffffffff as -1.

Is this correct?


Thanks,
Srinivas

Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help