HomeFreeBSD

hidraw: Make HIDIOCGRDESCSIZE ioctl return report descriptor size

Description

hidraw: Make HIDIOCGRDESCSIZE ioctl return report descriptor size

defined by hardware rather than cached one to match HIDIOCGRDESC ioctl.
This fixes errors reported by hid-tools being run against /dev/hidraw#
device node belonging to driver which overloads report descriptor.

MFC after: 1 week

Details

Provenance
wulfAuthored on Feb 13 2021, 6:19 PM
Parents
rG812c59ed614d: hkbd: Fix handling of keyboard ErrorRollOver reports
Branches
Unknown
Tags
Unknown