Displaying 20 results from an estimated 100 matches similar to: "[nut-commits] svn commit r1073 - in trunk: . drivers"
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
2007 Feb 16
1
Re: [nut-commits] svn commit r808 - in trunk: . drivers
I get the following error on r809 (but it looks like the code change
happened here). Does HIDDevice_t need to be defined/changed in one of
the headers?
if gcc -DHAVE_CONFIG_H -I. -I../../drivers -I../include
-I../../include -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DINET6 -O2
-D_REENTRANT -DNETSNMP_USE_INLINE -Wall -Dlinux -I.
2020 Apr 03
0
Powercool PCRACK-1200VA patch update
Sorry about the noise guys.
Below a significantly improved patch.
The main difference is that all calls to usb_get_string_.. have been
wrapped in a new function nut_usb_get_string() that is implemented in
libusb.c
This was necessary in order to make the bufflen_fix available in
libusb.c where usb_get_string() is called in libusb_open()
This wrapper function mops up and hides all the work
2020 Apr 03
0
Patch to support Powercool PCRACK-1200VA
Hi Folks,
This is my first post on nut-upsdev.
I would like to share a small patch to enable support for the Powercool
PCRACK 1200VA ups.
I found that the UPS uses megatec/krauler protocol but is sensitive to
the USB buffer length passed to it in requests via usb_get_string(), and
usb_get_string_simple().
If the buflen is greater than 102 then the ups will reply to requests
but does not
2006 Sep 22
1
Stack corruption in newhidups.c
Hi,
(please let me know if there is a better place to submit bugs)
I run a FreeBSD box with stack-protector enabled, which raises a problem
in the upsdrv_initups() function of the newhidups.c module; the
regex_array variable is sized one item too small.
Regards,
Herve Masson
<<<<
void upsdrv_initups(void)
{
int i;
#ifndef SHUT_MODE
/*!
* SHUT is only supported by
2007 Feb 16
1
Re: [nut-commits] svn commit r808 - in trunk: . drivers
> next_device:
> + free(curDevice->Vendor);
> + free(curDevice->Product);
> + free(curDevice->Serial);
> + free(curDevice->Bus);
> usb_close(udev);
> udev = NULL;
> }
Wouldn't it be necessary to check whether there is anything to free or
not? Vendor, Product and Serial are set conditionally.
In the lines
upsdebugx(2, "-
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
2010 May 11
1
possible code change to drivers/libusb.c
I doesn't fix any problems but I think it is nicer code. :-)
I don't think we want to call usb_detach_kernel_driver_np unless we
claimed the device.
$ diff -uw libusb.c.bak libusb.c.new
--- libusb.c.bak 2010-05-11 09:35:39.000000000 -0400
+++ libusb.c.new 2010-05-11 09:32:44.000000000 -0400
@@ -206,18 +206,21 @@
upsdebugx(2, "failed to
2012 Nov 20
2
[PATCH][RFC] OpenUPS driver
Hi all,
I attached a driver for MiniBox openUPS device (
http://www.mini-box.com/OpenUPS) and a dump of the hid usages.
I had the possibility to make a few adjustments to the device firmware for
HID usages, and although I haven't managed to produce a good structure
many issues from previous firmware were at least fixed and new information
added.
ATM the driver only shows pertaining
2007 Aug 24
1
[nut-commits] svn commit r1074 - in trunk: . drivers
Arjen de Korte wrote:
>
> * drivers/libhid.c:
> - The 'exact' matcher now also matches the Bus too (this won't
> change as long as the USB plug is not removed). If you don't like
> this, use the 'regex' matcher instead.
Ooh, I don't like this last one at all. One of the main reasons a
device might get disconnected is that the user physically unplugs it
2007 Aug 28
0
[nut-commits] svn commit r1076 - in trunk: . drivers
> ---------- Forwarded message ----------
> From: Arjen de Korte
> To: nut-commits at lists.alioth.debian.org
> Date: Mon, 27 Aug 2007 18:33:00 +0000
> Subject: svn commit r1076 - in trunk: . drivers
> Author: adkorte-guest
> Date: Mon Aug 27 18:33:00 2007
> New Revision: 1076
>
> Log:
> * drivers/libhid.[ch],libshut.[ch],libusb.[ch]:
> - Cut the libshut and
2010 Apr 19
2
Too much logging from libusb.c (patch supplied)
I recently installed NUT 2.4.3 and found that the USB drivers were logging
an insane amount of data to syslog:
usbhid-ups | daemon debug | Apr 16 18:29:40 | libusb_get_report: No error
usbhid-ups | daemon debug | Apr 16 18:29:40 | libusb_get_report: No error
usbhid-ups | daemon debug | Apr 16 18:29:40 | libusb_get_report: No error
usbhid-ups | daemon debug | Apr 16 18:29:40 |
2018 Feb 04
0
[PATCH 2/3] Add generic facility to override HID report descriptor in usbhid-ups
Some UPSes contain HID report descriptors that fail to correctly
describe the contents of reports. For example, the OpenUPS
descriptor fails to set the units, logical maximum and logical
minimum before the corresponding `main item' as required by the HID
specification.
This commit allows an override HID report descriptor to be given to
usbhid-ups which replaces the one produced by the UPS,
2014 Mar 14
2
Creating a new NUT USB HID subdriver
Thanks to the great help here, I now have a UPS spitting out something resembling a report descriptor. So since I seem destined to have to create a new USB HID subdriver, I figured I'd get started on the path.
I followed all of the directions on the web....I used the script to generate the usbhid subdriver, feeding it the output of the usbhid-ups driver from reading my UPS. All that worked
2007 Feb 07
2
some megatec-usb issues
Hi All,
I've finally found solutions for my previous problems.
But since this includes changes in the shared files, I'd like
to discuss them here.
1. Driver restart problem.
When I start the driver for the first time, everything is ok. But when I want to
restart it, problems begin. The driver fails to read Report descriptor for the
second time (libusb_open is used to open the device).
2010 Mar 25
1
new TSSHARA SOHO II ups
Hi all, My name is Sergio Penen and I'd like to contribute to the project by
developing a new driver for TS SHARA SOHO II usb ups.
I'm almost done decoding the protocol and already have some basic
functionality working with NUT. However I've some doubts on how to integrate
this driver with NUT and I wonder if you could give me some guidance in that
sense. To be more specific: In order
2007 Feb 08
3
Re: [nut-commits] svn commit r801 - in branches/megatec-usb: . drivers
Hi Alexander,
thanks for your good work on the megatec_usb driver. I have made a few
more (cosmetic) changes.
Is the driver now working stably for your device? In particular, do
the instant commands (and particularly "upsdrvctl -k") work properly?
In this case, we could hopefully mark the device as "supported" and
merge the driver to the main branch.
There is still the
2004 Feb 24
1
(no subject)
Hi list,
I'm getting stuck at the replication part for my BDC. Could
someone familiar with OpenLDAP replication shed some light?
I'm sure
that password is correct
Thanks for taking a look at!
1. slapd.conf
(master)
# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.23.2.8
2003/05/24 23:19:14 kurt Exp $
#
# See slapd.conf(5) for details on
configuration options.
#
#
include
2009 Aug 24
0
[LLVMdev] Regular Expression lib support
On Sun, Aug 23, 2009 at 8:28 PM, Chris Lattner<clattner at apple.com> wrote:
>
> On Aug 23, 2009, at 5:50 PM, OvermindDL1 wrote:
>
>> On Sun, Aug 23, 2009 at 6:32 PM, Daniel Dunbar<daniel at zuster.org> wrote:
>>>
>>> This is too heavy, and we don't need the extra features, and regexec
>>> is well tested and much more standard. Unless there
2007 Feb 01
2
Re: [Nut-upsuser] Ablerex 625L USB version
Hi Jon,
your patches are malformed because (presumably) your email client
wrapped this lines. Could you please send these as a unified diff
("diff -u"), and send them in attachments, rather than as a
copy-and-paste?
Thanks, -- Peter
Jon Gough wrote:
>
> Peter,
> Here are the files I have worked on. I hope I have diff'd them
> correctly. I have not touched the