search for: hid_ups_walk

Displaying 7 results from an estimated 7 matches for "hid_ups_walk".

2005 Aug 04
1
a patch for apc-hid.h
...ed is an unconditional patch for apc-hid.h. If, as indicated by the original code, there are APC UPS devices that don't allow setting of this variable, it becomes unfortunately necessary to complete the following /* TODO: verify setability/RW with (hData.Attribute != ATTR_DATA_CST) */ in hid_ups_walk() in newhidups.c in order to use this patch generically with apc-hid.h. I would appreciate it if someone with a better understanding of UPS HID than I would address this task. Thank you, AG ---------------- patch for apc-hid.h --------------------------------------- @@ -54,8 +54,8 @@ /* B...
2011 Jan 21
1
Building nut 2.6.0 on OpenBSD 4.8 - compile issue
...gcc -DHAVE_CONFIG_H -I. -I../include -I../include -DSHUT_MODE -g -O2 -Wall -Wsign-compare -MT newmge_shut-usbhid-ups.o -MD -MP -MF .deps/newmge_shut-usbhid-ups.Tpo -c -o newmge_shut-usbhid-ups.o `test -f 'usbhid-ups.c' || echo './'`usbhid-ups.c usbhid-ups.c: In function 'hid_ups_walk': usbhid-ups.c:1231: error: 'EPROTO' undeclared (first use in this function) usbhid-ups.c:1231: error: (Each undeclared identifier is reported only once usbhid-ups.c:1231: error: for each function it appears in.) gmake[1]: *** [newmge_shut-usbhid-ups.o] Error 1 gmake[1]: Leaving directo...
2007 Aug 10
1
[nut-commits] svn commit r1041 - in trunk: . drivers
...> Log: > * drivers/usbhid.[ch]: > - Moved the struct & data for ups.status processing to usbhid.c, since this is only used in there. Subdrivers report the status through text messages, they don't set the status bits directly. > - Rewrote (flattened) the upsdrv_updateinfo() and hid_ups_walk() functions, so that it is easier to follow/understand what is happening. Also limit the amount of status update to once every upsdrv_updateinfo and not for each status report we get. This is enough, since we don't handle requests from clients when we're talking/listening to the UPS. > -...
2013 Jul 30
1
nut package with Riello UPS support
On Jul 29, 2013, at 7:56 AM, Charles Lepple wrote: > On Jul 29, 2013, at 6:43 AM, Pavel Potcheptsov (EKTOS) wrote: > >> Hello list, >> I have explored https://github.com/networkupstools/nut repository >> and found that Riello UPS added into list of supported UPS. >> But current package for most distribution it's nut-2.6.5 which >> doesn't have
2007 Aug 22
1
[nut-commits] svn commit r1072 - in trunk: . drivers
Arjen de Korte wrote: > - HIDOpenDevice() will now handle closing the device on reload if > needed, so that HIDCloseDevice() can now really close it and free > the allocated memory for report buffer and parsed report descriptor. If I remember correctly, the old behavior on "reopen" was to keep the previous report descriptor, and try to find a device that matches the previously
2007 Aug 23
1
[nut-commits] svn commit r1073 - in trunk: . drivers
...-ups.c > ============================================================================== > --- trunk/drivers/usbhid-ups.c (original) > +++ trunk/drivers/usbhid-ups.c Thu Aug 23 19:43:41 2007 > @@ -703,6 +703,11 @@ > dstate_datastale(); > return; > } > + > + if (hid_ups_walk(HU_WALKMODE_INIT) == FALSE) { > + hd = NULL; > + return; > + } > } > #ifdef DEBUG > interval(); > @@ -716,7 +721,7 @@ > /* Process pending events (HID notifications on Interrupt pipe) */ > for (i = 0; i < evtCount; i++) { > > - if (HIDGetDataV...
2007 Jun 21
2
[nut-commits] svn commit r971 - in trunk: . drivers
> Author: aquette > Date: Thu Jun 21 07:43:46 2007 > New Revision: 971 > > Log: > fix communication lost status handling > > Modified: > trunk/ChangeLog > trunk/drivers/usbhid-ups.c > > Modified: trunk/ChangeLog > ============================================================================== > --- trunk/ChangeLog (original) > +++ trunk/ChangeLog