aboutsummaryrefslogtreecommitdiff
path: root/rmidevice/hiddevice.h
AgeCommit message (Collapse)Author
2022-03-01Parsing driver name instead of assigning oneDavid Chiu
2022-03-01Use the feature of toggling interrupts if it exists this feature report.David Chiu
2022-01-25Support toggle interrupts mask by setting feature reportDavid Chiu
2019-07-29Support reflashing on bootloader version 8.knockout
2018-09-06Workaround to check event maximum valueVincent Huang
2018-07-30Cache the transport device and use that when rebinding the driver and read ↵Andrew Duggan
all pending inotifyt events
2018-07-10Use fixed width interger types to avoid sign extending bus, vendor, or ↵Andrew Duggan
product ids
2017-03-30For HID devices restore the original operating mode on closeAndrew Duggan
2016-05-17Filter device discovery based on device typeAndrew Duggan
2016-05-16Consolidate device discovery into the rmidevice libraryAndrew Duggan
2016-05-16Remove redundant enum in hiddevice.hAndrew Duggan
2015-10-16Use inotify to avoid races when rebinding the driverAndrew Duggan
2015-09-10validate m_*Report lengthsAndrew de los Reyes
Addresses Security concerns: HIDDevice::Open does not validate minimum sizes for m_*ReportSize, which could lead to past-end-of-buffer writes when using m_*Report arrays. HIDDevice::GetAttentionReport does not correctly validate the size of the m_attnData buffer vs the buf len. This is a past-end-of-buffer read condition. I don't understand the point of reading bytes-many bytes but returning *len set to the valid size of bytes in the buffer.
2015-05-07Fix build warning on ARM and some cleanup.Andrew Duggan
2015-05-06Print protocol specific information about a deviceAndrew Duggan
2015-05-06Allow rebinding of the transport device to force a reload of the HID descriptorsAndrew Duggan
In some cases during firmware update the size of the input reports can change this commit allows for the unbinding and rebinding of the transport HID device to force a reload of the HID descriptors so that the new size if read by the HID transport drivers.
2014-11-10Change GetReport to only read one report at a time and remove HIDDevice's ↵Andrew Duggan
attention report queue Simplify GetReport and only have it read a single report and let the functions which call it decide if they have gotten the data which they are looking for. Also, remove in the HIDDevice attention report queue since reports are queued in the kernel so queueing in userspace is unnecessary.
2014-07-25Add additional member variable initializationsAndrew Duggan
2014-06-18Parse the size of the HID reports from the HID Report Descriptor.Andrew Duggan
2014-04-29Add additional commands to rmihidtool and allow them to be set from the ↵Andrew Duggan
command line.
2014-04-16Update copyright notices.Andrew Duggan
2014-04-07Move some functions from HIDDevice to RMIDevice to better support multiple ↵Andrew Duggan
transports update the Android builds.
2014-04-03Initial commitAndrew Duggan