Displaying 2 results from an estimated 2 matches for "hidpath".
Did you mean:
pidpath
2007 Aug 02
1
NUT and libhid
was: Re: [Nut-upsdev] usbhid-ups.h: hid_info_t structure
On 8/2/07, Peter Selinger <selinger at mathstat.dal.ca> wrote:
> All this needs to be replaced by a re-designed, cleaned-up data
> structure. It's on my to-do list, but nothing on that list will get
> done by me anytime soon. As nothing is technically broken, and the
> changes are prone to introducing subtle bugs, this
2007 Aug 23
1
[nut-commits] svn commit r1073 - in trunk: . drivers
...t; }
>
> + /* 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
> - caught here. */
&g...