Displaying 20 results from an estimated 900 matches similar to: "[nut-commits] svn commit r1076 - in trunk: . drivers"
2007 Aug 23
1
[nut-commits] svn commit r1073 - in trunk: . drivers
I think having this logic buried within libhid/libusb
(libusb:libusb_open(), line 179 to 206) is ultimately a mistake,
albeit one that I am probably responsible for. Would it make sense to
confine libhid to low-level operations, and leave the decision of
trying to reopen vs. retrying to open to the high-level driver, in
this case usbhid-ups?
I envision that the code in usbhid-ups:reconnect_ups()
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
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
2006 Jun 17
1
Re: [nut-commits] svn commit r433 - in trunk: data drivers include
Arnaud,
this commit refers to files called libshut.c and libshut.h, yet no
such file has been added to SVN. Perhaps take this opportunity to run
"svn status" and check for other files that might be missing from
SVN.
-- Peter
> ---------- Forwarded message ----------
> From: Arnaud Quette
> To: nut-commits@lists.alioth.debian.org
> Date: Fri, 16 Jun 2006 13:40:59 +0000
2005 Jun 23
1
USB UPS Question...
Hello,
I have been trying to get a TrippLite Internet Office 750 UPS to talk to
my Linux PBX for a couple of evenings now and I'm getting nowhere... I
tried searching the list archives before posting here (I'm sure I'm not
the first one to try to get this going) but they seem to be offline...
The UPS is unfortunately USB based but I thought I'd give it a try
anyway. Here is
2015 Apr 02
0
mge-shut driver fails almost after every reboot
Hello Panagiotis
2015-04-01 16:28 GMT+02:00 Panagiotis Kritikakos <
panagiotis.kritikakos at nikitec.gr>:
> Hello all,
>
> OS name: FreeNAS 9.3
> NUT version: 2.7.2
> NUT installed method: Bundled with FreenNAS 9.3
> Device: EATON 5SC 1000 (http://powerquality.eaton.
> com/Products-services/Backup-Power-UPS/5SC.aspx?cx=5&
>
2015 Apr 02
2
mge-shut driver fails almost after every reboot
Hello Arno,
Thanks for the quick reply. FreeNAS is FreeBSD-based.
Yes, I could test a patch.
As I have mentioned, this behavior is not seen at every single reboot
but after most reboots. Also, some times, the connectivity can be lost
without even rebooting. That is not very often can have happened a few
times.
Best regards,
Panagiotis
On 2/4/2015 5:44 ??, Arnaud Quette wrote:
> Hello
2023 Feb 23
1
GPIO as NUT driver interface?
FWIW, there is precedent with libusb{1,0}, libshut and libhid which
abstract NUT operations from a "backend lib" to build against; similar for
serial.c used by many drivers. Take care to not conflict by filenames with
"real" third-party libs used by the build - especially to avoid mixups for
headers and in docs/discussion.
Jim
On Thu, Feb 23, 2023, 22:16 MODRIS B?RZONIS
2015 Apr 01
2
mge-shut driver fails almost after every reboot
Hello all,
OS name: FreeNAS 9.3
NUT version: 2.7.2
NUT installed method: Bundled with FreenNAS 9.3
Device: EATON 5SC 1000
(http://powerquality.eaton.com/Products-services/Backup-Power-UPS/5SC.aspx?cx=5&wtredirect=www.eaton.com/5SC&GUID=B81251A4-F34E-4373-94B3-B4FB3D0CBCA8)
Problem description:
This was originally reported as bug to FreeNAS
2005 Sep 13
2
Re: about [ #302111 ] newhidups support for Belkin
I have checked in a cleaned-up version of patch #302111 (Belkin
support) into CVS. See
cvs diff -uN -r before_PSE_2 -r after_PSE_2
to check the difference. Here is the CHANGES entry:
Tue Sep 13 20:50:14 UTC 2005 / Peter Selinger <selinger@users.sourceforge.net>
- newhidups: added Belkin support. Also added some new variables and
instant commands (some of these were already used by
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
2006 Dec 05
3
megatec over USB - new driver patch
Hello, all.
Some time ago I bought myself a UPS which was advertised as USB-HID.
It was a surprise to learn that while it definitely is recognized as USB
device, the HID descriptor has no UPS pages at all. The only software it
came with was a windows program written in visual basic. Trying to
research this topic I found a reference to energizer USB ups driver and
learned about variety of
2008 Jul 17
0
r1515 - branches/trunk-make-package: anybody interested in taking over?
Hi,
I've taken a small bit of time to initiate this work.
There is now:
- an m4 macro to detect the system (linux only ATM, but simple to complete)
- a set of "make package" targets throughout the tree (limited to debian
ATM)
The remaining tasks on this specific point are:
- m4 macro completion to handle all the supported platforms (at least the
ones that have files in the
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).
2005 Dec 28
1
Non Standard USB HID UPS
Hello, I've already written to the list before about my non-standard hid Unitek
UPS.
I've tried to use hiddev to access my UPS as its USB HID interface is the same
as the energizerups. Nevertheless, the protocols are different and I didn't
manage to communicate with my UPS through hiddev. Moreover, the problem
described in this page http://www.vttoth.com/ER-OF800.htm about the Linux
2007 Aug 02
1
NUT and libhid
was: Re: [Nut-upsdev] usbhid-ups.h: hid_info_t structure
On 8/2/07, Peter Selinger <selinger at mathstat.dal.ca> wrote:
> All this needs to be replaced by a re-designed, cleaned-up data
> structure. It's on my to-do list, but nothing on that list will get
> done by me anytime soon. As nothing is technically broken, and the
> changes are prone to introducing subtle bugs, this
2006 Apr 14
1
"make usb" fails
While trying to compile newhidups, I get this error...
carlos@rhea:~/dev/nut/svn/trunk$ make usb
make[1]: Entering directory `/home/carlos/dev/nut/svn/trunk/drivers'
gcc -I../include -O -Wall -Wsign-compare -c newhidups.c
In file included from newhidups.c:25:
libhid.h:46: error: syntax error before "u_int16_t"
libhid.h:46: warning: useless keyword or type name in empty declaration
2006 Sep 12
1
Build 2.0.4, usb.h missing.
Hi!
I've got a Mandrake 2006.0 machine and a APC Back-UPS Pro 500/1000/1500
(from lsusb). The Mandrake package version of nut is 2.0.1 and hidups
actually detects the UPS, however I get loads of these:
Sep 12 18:26:11 vader hidups[7658]: Ignoring x86 page event 0xff860080 (0)
Sep 12 18:26:11 vader hidups[7658]: Unhandled event: 0x840058 (6)
Sep 12 18:26:11 vader hidups[7658]: Unhandled
2005 Oct 18
2
usb doesn't build on mac os x (10.4)
I am having problems building usb on mac os x. First, mac os x
doesn't seem to have asm/types.h, just sys/types.h. I can't find
hiddev.h on mac os x either. Also, it doesn't have usb.h but instead
IOKIT/usb/USB.h. I am using mac os x (10.4), and the latest cvs of nut.
Is the new usb support going to work on mac os x? Is anyone working
on it? It seems that libusb is available