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