hid_parse error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux