Forum > General

FPC-HID-USB ReadFile ok on Windows, not working on Linux

<< < (3/3)

DonAlfredo:
All FPC-USB-HID library definition seem ok:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/include/uapi/linux/hiddev.h?h=v5.15.6
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/include/uapi/linux/hidraw.h?h=v5.15.6

MarkMLl:

--- Quote from: jamie on December 01, 2021, 03:05:51 pm ---Is there a "Integer" size issue ? like a 64 bit Int over a 32 bit being used and sized calls etc?

Is there an endian issue ?

--- End quote ---

The impression I got was difficulty getting byte padding exactly right, leading to its being safer to have the same code generator on both sides of the ioctl(). There's also a subsidiary risk of there being something odd in the HID report parsing, and in the past I've found it frustrating that there's no way of getting at the raw HID data i.e. before "quirks" have been applied by the driver module.

MarkMLl

BobT:
Hi Don Alfredo, Treport.Data is [0..63].

MarkMLI

--- Quote ---frustrating that there's no way of getting at the raw HID data i.e. before "quirks" have been applied by the driver module.
--- End quote ---
Agreed!

Navigation

[0] Message Index

[*] Previous page

Go to full version