Displaying 4 results from an estimated 4 matches for "eventslist".
Did you mean:
event_list
2006 Oct 18
1
newhidups with APC Smart-UPS - workaround!
...lations) patch is below:
--- nut-2.0.4/drivers/newhidups.c.orig 2006-08-09 11:35:32.000000000 +0400
+++ nut-2.0.4/drivers/newhidups.c 2006-08-09 11:35:44.000000000 +0400
@@ -452,7 +452,7 @@
hid_info_t *item;
char *nutvalue;
int retcode, evtCount = 0;
- HIDItem *eventsList[10];
+ HIDItem *eventsList[30];
upsdebugx(1, "upsdrv_updateinfo...");
2005 Aug 02
0
newhidups for APC Back-UPS ES 650
...nfo(item->info_type, item->dfl, nutvalue);
}
+ else
+ upsdebugx(3, "%s not affected", item->info_type);
/* FIXME: else => revert the status, ie -LB == reset LB... */
}
else
- upsdebugx(2, "%s = %ld", item->info_type, eventsList[evtCount-1]->Value);
+ {
+ if (strncmp(item->info_type, "ups.status", 10))
+ upsdebugx(2, "%s = %ld", item->info_type, eventsList[evtCount-1]->Value);
+ else
+ upsdebugx(3, "%s not affected", item->info_type);
+ }...
2006 Oct 18
2
newhidups with APC Smart-UPS 1500
...Jacob wrote:
>
>
> The source of the segmentation fault is in newhidups.c at line 534.
>
> 528
> 529 void upsdrv_updateinfo(void)
> 530 {
> 531 hid_info_t *item;
> 532 char *nutvalue;
> 533 int retcode, evtCount = 0;
> 534 HIDItem *eventsList[10];
> 535
> 536 upsdebugx(1, "upsdrv_updateinfo...");
> 537
> 538
>
> The array only holds pointers to 10 HID items.
>
> > =>Got 16 HID Objects...
>
> Produces a segmentation fault.
>
> I got around this by temporarily increasing the...
2006 Sep 08
3
newhidups with APC Smart-UPS 1500
Hello,
I'm using the stable amd64 port of Debian Linux. I installed (the
latest) nut-2.0.1-4 and nut-usb packages for utilizing an APC Smart-UPS
1500 USB. I tried "apcupsd" first but "nut" makes an even more
sophisticated impression on me and has more security options.
I had problems with the newhidups driver. It didn't find a device with
matching VendorID. And