Displaying 20 results from an estimated 10000 matches similar to: "newhidups subdrivers and ups.conf"
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.
2006 Jun 04
2
RFC: allow HID subdriver's to register ups.conf
j T wrote:
> >- allow the value to be NULL if a subdriver does not require
> > initialization.
>
> Am I right in thinking that this is simply a case of doing:
>
> subdriver_t some_subdriver = {
> /* ... */
> some_format_serial,
> NULL,
> }
>
> Rather than:
>
> subdriver_t belkin_subdriver = {
> /* ... */
>
2006 Jun 09
0
Cleaned up belkinunv diff
Hi Peter
Now I can get subdrivers to have ups.conf/command-line options, I've started
looking at making the newhidups belkin-hid subdriver have the wait and
wait-on-shutdown behaviour in the same was as belkinunv, and having just
gone back and gone "yuck!" at my huge comments in my revised belkinunv
source, I decided to clear out all the extraneous commentary in my
2006 May 16
1
NUT: Belkin Universal driver - modification to -k behaviour (diff attached)
Hi
I'm sending this to you as it appears that you are the person who looks
after and/or supervises the code for NUT's Belkin drivers. I'm using the
address you use for the Nut-upsdev mailing list ( selinger at
mathstat.dal.ca ).
Anyway...
I have a Belkin Universal UPS and, having just upgraded my Fedora Core
system from 4 to 5 and had to go back through the system RC files
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
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
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
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
2005 Aug 26
1
Belkin and newhidups (was: Belkin F6C550-AVR UPS)
Zaid,
I have a Belkin F6C800-UNV which has both a serial and USB connector.
The serial connection is already working with the Belkinunv driver.
I will connect via the USB and then compare both sets of variables.
This should allow me to correlate and shed some light on the meaning
of many of Belkin's non-standard "Usage" descriptors. With this
information, it should be very easy
2006 Oct 20
0
AW: AW: Belkin F6H650 on USB port
Philipp Leusmann wrote:
>
> Ok, I tried this and my results seem to bet he same as reported. Then I
> think I=B4ll have to stick with the windows-driver at least on my main
> machine.=20
> Or is there anything I can help to fix this driver?
I don't know why we can't read anything from this device. There are
many ways in which one could make a buggy device that works with
2006 Feb 27
1
MGE Nova 1100 using newhidups on netBSD 3.0
Have recently purchased a MGE Nova 1100 UPS and am trying to get running on
netBSD.
Configuration
netBSD 3.0 amd64
libusb 0.1.10a
nut 2.0.3
Built & installed libusb
Built kernel with ugen device and uhid removed
Build & install nut-2.0.3 with usb
Chmod /dev/ugen1 etc to allow access by nut user.
Ups.conf
[MGENova]
driver = newhidups
port = auto
2006 Feb 24
1
Problems starting upsd with newhidups
Hello,
I am having trouble getting upsd to start. I am using the Debian NUT packages
version 2.0.3 (current in Debian/sid). I am using the newhidups driver with
an APC Back-UPS BR 800.
The init.d script wasn't functioning, so I backtracked to running upsd
manually and I get:
foxstar:/etc/nut# upsd -u root
Network UPS Tools upsd 2.0.3
Can't connect to UPS [foxstarups] (newhidups-auto):
2007 Mar 23
1
memory leak in newhidups 0.28 (2.0.3)
There is a memory leak in newhidups. After 23 days uptime it used 138M
memory. Apart from the memory leak, the system works ok.
Is there anything I can do to help fix this problem?
Tor.
[root@tophat init.d]# ps -unut v
PID TTY STAT TIME MAJFL TRS DRS RSS %MEM COMMAND
21122 ? Ss 1:35 0 69 137934 136800 27.0 /sbin/newhidups auto
21125 ? Ss 0:37 0
2006 Apr 04
2
newhidups crashes intermittently (double free or corruption)
Hi,
I'm running nut 2.0.3 on Gentoo connected to an MGE ProtectionCenter
675. newhidups intermittently crashes. Any ideas?
N.
# /usr/lib/nut/newhidups -a mgeups
Network UPS Tools: New USB/HID UPS driver 0.28 (2.0.3)
Detected a UPS: MGE UPS SYSTEMS/PROTECTIONCENTER
Using subdriver: MGE HID 0.8
This is the error I'm getting
*** glibc detected *** /usr/lib/nut/newhidups: double free or
2007 Apr 16
1
newhidups fails only at boot
I can start the driver successfully manually, after the machine is up
and running, but at boot time, it can't find my UPS. My init script
makes sure that the usbfs is up (by checking for the existence of
/proc/bus/usb/devices), and I can't think of what else could be
different with the boot-time failure versus the manual startup after
logging in. I'll include my configuration at the
2006 Aug 15
2
newhidups subdriver_matcher incorrectly matches USB hub
I ran into the following issue today and would like some feedback from
the group.
Setup:
I am using a MGE Pulsar Evolution 2200 UPS connected through a Belkin
(F5U218-MOB) 4-Port USB Hub.
Scenario:
The newhidups subdriver_matcher function calls
belkin_subdriver->belkin_claim. The belkin_claim function in
belkin-hid.c matches the VendorID of the hub to Belkin's VendorID
(0x050d), causing
2005 Oct 07
0
Re: delta protocol
Arnaud Quette wrote:
>
> not sure you've seen this. It might interest you:
> https://alioth.debian.org/tracker/index.php?func=detail&aid=302259&group_id=30602&atid=411544
>
> Arnaud
> --
> PS: I've not looked at it.
Hi Arnaud,
this is great! Someone posted a technical document on Alioth
describing a "Delta USB Report Descriptor Protocol". This
2006 Jul 12
1
newhidups, usb permissions and Debian
Hi all,
I've tried installing NUT from both the Debian packages and the
2.0.4-pre1 source but I'm unable to sort out the USB permissions when
using the newhidups driver and an APC XS series UPS. In each case,
I'm able to run newhidups as user root but running it as user nut
fails:
--- as 'nut'
# /lib/nut/newhidups -u nut -a apc1
Network UPS Tools: New USB/HID UPS driver 0.28
2007 Mar 12
3
upsmon keeps broadcasting on battery / on power (driver is newhidups)
Hi,
I try to install the newhidups driver for a MGE Pulsar M2200 connected to a USB
port under Linux Red Hat 4 Upd 4.
I have compiled and installed the usb driver (make usb && make install-usb). I
followed the instructions in /nut-2.0.5/scripts/hotplug-ng/README abour the
/etc/udev/rules.d/025_nut-usbups.rules.
The ups is recognized by the kernel:
Mar 12 14:52:03 serveur1 kernel: usb
2007 Mar 12
3
upsmon keeps broadcasting on battery / on power (driver is newhidups)
Hi,
I try to install the newhidups driver for a MGE Pulsar M2200 connected to a USB
port under Linux Red Hat 4 Upd 4.
I have compiled and installed the usb driver (make usb && make install-usb). I
followed the instructions in /nut-2.0.5/scripts/hotplug-ng/README abour the
/etc/udev/rules.d/025_nut-usbups.rules.
The ups is recognized by the kernel:
Mar 12 14:52:03 serveur1 kernel: usb