Displaying 20 results from an estimated 10000 matches similar to: "NUT and libhid"
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
2005 Sep 24
1
newhidups: today's changes
Here is a summary of the changes I made to newhidups today (between
the tags after_PSE_6 and after_PSE_9, roughly).
* all the vendor-specific code that was in various "switch" statements
has now been moved to the individual subdriver (apc-hid, mge-hid,
belkin-hid) files. This also includes the vendor-specific Usage
tables.
In future, it should be quite easy to add new
2007 Jan 08
1
Re: [nut-commits] svn commit r716 - in trunk: . drivers
Arnaud,
you changed the "if" part, perhaps you'd like to change the "else"
part, too?
Changing the output format of HIDDumpTree() has the potential to break
the functionality of scripts/subdriver/path-to-subdriver.sh; I don't
think it does in this instance, but I have not checked it. Perhaps it
would be good to add a comment in the source code as a caution.
-- Peter
2005 Sep 12
1
Re: Status of the PSE NUT patches (was: NUT patches)
[I'm switching my dev address to @gmail.com instead of @mgeups...
please, update your bookmark]
Peter Selinger wrote:
> > Arnaud Quette wrote:
> >
> > Here is the status of PSE (Peter Selinger) NUT patches
> > for newhidups (hidparser, apc support, ...).
> >
> > - nut-cvs-patch-REOPEN-2005-08-24:
> > approved and applied on Development tree
> >
2006 Dec 30
3
Newpoint 200897 UPS
I got sick & tired of constant power outages with no warning, so when I
saw various UPSes at the store, I decided to get one, and the one I got
was a model 200897 from Newpoint (a.k.a. Power Sentry). A couple of days
later the power went out and I decided to use the opportunity to hook up
the UPS. I added up the wattages of the equipment I would be connecting,
and found that the only way I
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 Mar 08
1
Re: [nut-commits] svn commit r848 - branches/tl_usb_fbsd/drivers
2007/3/8, Charles Lepple <clepple-guest@alioth.debian.org>:
> Author: clepple-guest
> Date: Thu Mar 8 04:15:51 2007
> New Revision: 848
>
> Modified:
> branches/tl_usb_fbsd/drivers/Makefile.am
> branches/tl_usb_fbsd/drivers/libhid-uhid.c
> Log:
> Work-in-progress... maybe I need to look at how the SHUT subdriver works.
> ...
simply use the same interface
2015 Mar 09
2
Install problems (group permissions) with nut 2.7.2
Ok, I tried this from scratch on a fresh 2.7.2 directory. I followed the web instructions, specifically:
+ I generated the new subdriver for my UPS (rtd-hid.*) based on PATH info.
+ I put them in the drivers subdir
+ I added the include line (#include rtd-hid.h) in usbhid-ups.c (specifically in the #ifndef SHUT_MODE section)
+ I added &rtd_subdriver, to the subdriver_list in usbhid-ups.c
2005 Aug 25
3
Tr : NUT patches
Hi Peter,
I've forwarded your mail to upsdev as it will be of interest for several
people that are working on it. As I'm also on vacation (again) for a
week and 1/2 as of this evening, I don't think I'll have the time for it
before I get back....
I've not yet audited the patches, but these are queued on the
Alioth tracker:
2006 Nov 11
1
Help with newhidups subdriver for Dynex UPS
Hello everyone!
If this message was posted twice, my apologies. I'm having issues with my webmail today...
I am using the testing version of NUT from SVN at changeset 582. I have successfully created a stub for newhidups driver for my Dynex DX-800U UPS, but I am completely lost on the customization of it. I've followed the hid-subdrivers.txt instructions and I understand I need to
2005 Oct 07
0
newhidups renaming and related (was: newhidups: merged regex changes)
2005/9/25, Peter Selinger <selinger@mathstat.dal.ca>:
>
> Arnaud Quette wrote:
> >
> > Some more points while you're at it:
> > - newhidups will have to be renamed. My aimed was to let the name until
> we
> > can superceed hidups. Then remove hidups, and rename newhidups to
> usbhid-ups
> > (name proposition welcomed, but should match the fact
2006 Jul 30
8
Gentoo Ultra USB UPS
Hi All
I'm trying to get my Ultra UPS connected. It connects using a standard
USB cable
I have --with-drivers=hidups in the configure command and I have lsusb
showing
Bus 001 Device 002: ID 0d9f:0001 Powercom Co., Ltd
Bus 001 Device 001: ID 0000:0000
I have /dev/usb/hiddev0
now matter what I try I keep getting
upsdrvctl start
Network UPS Tools - UPS driver controller 2.0.3
Can't
2011 Feb 10
1
Bug/Patch for NUT 2.6.0 ; usbhid-ups (libhid.c)
Hello All-
First, my apologies if this is not the correct place/procedure for
reporting a bug.
I have a Cyberpower 850AVRLCD ups, and I'm running NUT 2.6.0 (and
also tried 2.4.1 and 2.4.3). I suspect that the problem I was having
would affect anyone using the usbhid-ups driver, but since I have only
the one UPS, I don't know for sure.
In NUT 2.4.1 the driver starts up OK, and upsc
2011 Feb 10
1
Bug/Patch for NUT 2.6.0 ; usbhid-ups (libhid.c)
Hello All-
First, my apologies if this is not the correct place/procedure for
reporting a bug.
I have a Cyberpower 850AVRLCD ups, and I'm running NUT 2.6.0 (and
also tried 2.4.1 and 2.4.3). I suspect that the problem I was having
would affect anyone using the usbhid-ups driver, but since I have only
the one UPS, I don't know for sure.
In NUT 2.4.1 the driver starts up OK, and upsc
2006 Jun 03
1
RFC: allow HID subdriver's to register ups.conf settings
Hi
I'd like to know what you guys think to the following idea.
Please be aware, C/C++ are not exactly my strongpoint (couldn't be much
further from it actually..!), so I'm not sure whether this is all legal
code.
--
SYNOPSIS:
Allow a newhidups subdriver to register that it can handle settings in
ups.conf (and via -x on the command line), as per the normal serial drivers.
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.
2005 Nov 08
1
adding libusb CFLAGS to generic-hid.c rule
Peter,
attached is a proposed patch to fix compilation of generic-hid.c when
libusb's usb.h is not in /usr/include (but the -I flag is provided by
"libusb-config --cflags"). It fixes the build under OS X, where Fink
installs libusb with --prefix=/sw.
I changed "usb.h" to <usb.h> so that 'make depend' wouldn't generate a
dependency on 'usb.h' with
2014 Mar 18
1
Developing the UPS side of the UPS-NUT equation (via usbhid)
Things are going along well, but there is one remaining area of confusion...."units". I understand exponents now...it's basically how you pass decimal values. That's easy enough.
But "units"....in other words, I have a voltage I want to put in a report. If I include in the report descriptor the fact that it is actually a voltage, with units of "volts",
2014 Mar 07
0
Developing the UPS side of the UPS-NUT equation (via usbhid)
On Mar 6, 2014, at 3:55 PM, Rob Groner wrote:
> To make this UPS as easy to use as possible for the end-user who chooses Linux, I figured I would just completely implement the official USB HID UPS spec. That way no subdriver would be needed, or at least very little.
At the moment, we use USB VID and PID to select which HID-to-NUT tables to consult (since some vendors have "custom"
2015 Mar 03
0
Install problems (group permissions) with nut 2.7.2
On Mar 2, 2015, at 12:49 PM, Rob Groner <rgroner at RTD.com> wrote:
> Well, having spent a decent amount of time trying to get my driver file added into the Makefile build system (and failing), I've decided that for now, simply adding that one line to the openups-hid.c file and recompiling is the best route to go. When I can no longer live with the limited nature of the openups-hid