search for: hidgetitemdata

Displaying 5 results from an estimated 5 matches for "hidgetitemdata".

2018 Feb 15
2
[PATCH 1/3] Skip non-feature HID reports
On Feb 3, 2018, at 7:19 PM, Russell King wrote: > > Input and Output reports are used for interrupt endpoints rather than > control endpoints. HIDGetItemData() only ever requests feature > report IDs, and requesting non-feature report IDs as feature IDs may > lead to undesirable results and errors. This one made me scratch my head a bit. I don't think it's unreasonable to send a control request for an Input report value-- it seems to be...
2018 Feb 04
0
[PATCH 1/3] Skip non-feature HID reports
Input and Output reports are used for interrupt endpoints rather than control endpoints. HIDGetItemData() only ever requests feature report IDs, and requesting non-feature report IDs as feature IDs may lead to undesirable results and errors. --- drivers/libhid.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/libhid.c b/drivers/libhid.c index f6ec644..1cec74a 100644 --- a/drivers/...
2018 Feb 16
0
[PATCH 1/3] Skip non-feature HID reports
...r the long email, I feel this deserves a fuller explanation. On Wed, Feb 14, 2018 at 10:30:18PM -0500, Charles Lepple wrote: > On Feb 3, 2018, at 7:19 PM, Russell King wrote: > > > > Input and Output reports are used for interrupt endpoints rather than > > control endpoints. HIDGetItemData() only ever requests feature > > report IDs, and requesting non-feature report IDs as feature IDs may > > lead to undesirable results and errors. > > This one made me scratch my head a bit. > > I don't think it's unreasonable to send a control request for an Input...
2018 Feb 04
5
[PATCH 0/3] OpenUPS updates
Hi, I've been checking out NUT with an OpenUPS board over the last couple of weekends, and have noticed that it doesn't seem to report sensible values. This lead me to investigate usbhid-ups and delve into various issues. As mentioned in a github issue, one of the problems is with the report descriptor - dumping this from the usbhid-ups debug output and picking through it reveals that
2007 Aug 23
1
[nut-commits] svn commit r1073 - in trunk: . drivers
...2,30 @@ > continue; > } > > + /* Apparently, we are reconnecting, so > + * NUT-to-HID translation is still good */ > + if (item->hiddata != NULL) > + break; > + > /* Get pointer to the corresponding HIDData_t item */ > item->hiddata = HIDGetItemData(udev, item->hidpath, subdriver->utab); > - > if (item->hiddata == NULL) > continue; > > - /* Avoid redundancy when multiple defines (RO/RW) > - * ups.status and ups.alarm is not set during > - HU_WALKMODE_INIT, so these don't need to be > -...