search for: hid2info

Displaying 1 result from an estimated 1 matches for "hid2info".

Did you mean: oid2info
2005 Aug 13
0
upsdrv_updateinfo() in newhidups.c
Gentlemen, I assume this is really for Arnaud: I am looking at the code in upsdrv_updateinfo() where it is processing a HID notification, i.e. it is not doing a full update: Question one, is it implicitely assumed that ups.status related items will always require a translation (i.e. item->hid2info != NULL) in order to be effective? I haven't seen any place where that is enforced, but there are no ups.status type updates for the no translation case. I think this may always be the case, but then it should be somehow enforced. Question two, in the same code, if an item doesn't require...