[Nut-upsuser] upsmon keeps broadcasting on battery / on power (driver is newhidups)

marc2 at rechte.fr marc2 at rechte.fr
Mon Mar 12 16:34:55 CET 2007


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 4-1: new low speed USB device using address
8
Mar 12 14:52:03 serveur1 kernel: usbhid: probe of 4-1:1.0 failed with error -5

Network UPS Tools - UPS driver controller 2.0.5
Network UPS Tools: 0.28 USB communication driver 0.28 - core 0.30 (2.0.5)

Detected a UPS: MGE UPS SYSTEMS/PULSAR M
Using subdriver: MGE HID 1.0

upsc pulsar at localhost reports:
[root at serveur1.sassine.eu rules.d]# upsc pulsar at localhost
battery.charge: 100
battery.charge.low: 20
battery.charge.restart: 0
battery.runtime: 1923
battery.type: PbAc
battery.voltage: 81.0
driver.name: newhidups
driver.parameter.offdelay: 180
driver.parameter.ondelay: 30
driver.parameter.port: auto
driver.version: 2.0.5
driver.version.data: MGE HID 1.0
driver.version.internal: 0.30
input.frequency: 50.0
input.voltage: 232.0
outlet.0.desc: Main Outlet
outlet.0.id: 0
outlet.0.switchable: yes
outlet.1.autoswitch.charge.low: 0
outlet.1.delay.shutdown: 2147483648
outlet.1.delay.start: 3
outlet.1.desc: PowerShare Outlet 1
outlet.1.id: 1
outlet.1.status: on
outlet.1.switchable: yes
outlet.2.autoswitch.charge.low: 0
outlet.2.delay.shutdown: 2147483648
outlet.2.delay.start: 6
outlet.2.desc: PowerShare Outlet 2
outlet.2.id: 2
outlet.2.status: on
outlet.2.switchable: yes
output.current: 1.90
output.frequency: 50.0
output.voltage: 231.0
output.voltage.nominal: 72.0
ups.beeper.status: enabled
ups.delay.shutdown: 0
ups.delay.start: 0
ups.load: 16
ups.mfr: MGE UPS SYSTEMS
ups.model: Pulsar M 2200
ups.power.nominal: 2200
ups.serial: AQ1G4103Y
ups.status: OL CHRG
ups.test.interval: 604800
ups.test.result: Done and passed

ups.conf is:
[root at serveur1.sassine.eu rules.d]# cat /etc/ups/ups.conf
# UPS Conf for NUT
[pulsar]
        driver=newhidups
        port=auto
        desc="Pulsar M2200 RT3U"
        # vendorid=0463
        # offdelay = 180 s
        offdelay=180
        # ondelay = 30 x 10 = 300 s
        ondelay=30


Howerver starting upsmon keeps reporting:

Mar 12 16:19:46 serveur1 upsmon[20453]: UPS pulsar at localhost on line power
Mar 12 16:19:46 serveur1 wall[20501]: wall: user ups broadcasted 1 lines (36
chars)
Mar 12 16:19:51 serveur1 upsmon[20453]: UPS pulsar at localhost on battery
Mar 12 16:19:51 serveur1 wall[20506]: wall: user ups broadcasted 1 lines (33
chars)
Mar 12 16:20:01 serveur1 upsmon[20453]: UPS pulsar at localhost on line power
Mar 12 16:20:01 serveur1 wall[20509]: wall: user ups broadcasted 1 lines (36
chars)

Thanks for your help

Marc Rechte



More information about the Nut-upsuser mailing list