Displaying 3 results from an estimated 3 matches for "comm_driv".
Did you mean:
comm_driver
2011 Feb 10
1
Bug/Patch for NUT 2.6.0 ; usbhid-ups (libhid.c)
...In NUT 2.4.1 the driver starts up OK, and upsc client gives me
values for 39 variables/parameters.
In NUT 2.4.3 and 2.6.0, level 1 debug from the driver shows lots of
errors and upsc client gives me only 22 variables/parameters.
I narrowed the problem down to one function call in libhid.c:
r = comm_driver->get_report(udev, id, buf, sizeof(buf));
Below is the patch that fixes the problem. With this change, I get
no errors in the level 1 driver debug output, and upsd and all the
clients seem to work properly.
Once I found that this fixed my problems, I didn't look into it
further. But I...
2011 Feb 10
1
Bug/Patch for NUT 2.6.0 ; usbhid-ups (libhid.c)
...In NUT 2.4.1 the driver starts up OK, and upsc client gives me
values for 39 variables/parameters.
In NUT 2.4.3 and 2.6.0, level 1 debug from the driver shows lots of
errors and upsc client gives me only 22 variables/parameters.
I narrowed the problem down to one function call in libhid.c:
r = comm_driver->get_report(udev, id, buf, sizeof(buf));
Below is the patch that fixes the problem. With this change, I get
no errors in the level 1 driver debug output, and upsd and all the
clients seem to work properly.
Once I found that this fixed my problems, I didn't look into it
further. But I...
2007 May 25
0
Patch -- SVN revision in the version string
...htu:r:DV")) != -1) {
Index: drivers/usbhid-ups.c
===================================================================
--- drivers/usbhid-ups.c (revision 916)
+++ drivers/usbhid-ups.c (working copy)
@@ -529,7 +529,7 @@
{
printf("Network UPS Tools: %s %s - core %s (%s)\n\n",
comm_driver->name, comm_driver->version,
- DRIVER_VERSION, UPS_VERSION);
+ DRIVER_VERSION, upsversion());
}
void upsdrv_updateinfo(void)
Index: drivers/victronups.c
===================================================================
--- drivers/victronups.c (revision 916)
+++ drivers...