Package: nut
Version: 2.0.5-3+b1

Running: Debian Testing
Arch: x86_64

BUG: (the battery is relatively new (6mos) and there have been no recent power outages)
Jul 28 04:29:44 p34 upsmon[2402]: UPS [EMAIL PROTECTED] battery is low
Jul 28 05:13:15 p34 upsmon[2402]: UPS [EMAIL PROTECTED] battery is low
Jul 28 05:14:05 p34 upsmon[2402]: UPS [EMAIL PROTECTED] battery is low

FIX: (go back to old version for now and enable a hold on the package)
# dpkg -l | grep -i nut
ii  nut                              2.0.5-3+b1                      The core 
system of the nut - Network UPS Too
ii  nut-cgi                          2.0.5-3+b1                      A web 
interface sub system for the nut - Net
ii  nut-usb                          2.0.5-3+b1                      USB 
Drivers subsystem for the nut - Network

# apt-get remove nut nut-cgi nut-usb
Reading package lists... Done
Building dependency tree Reading state information... Done
The following packages will be REMOVED
  nut nut-cgi nut-usb
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
Need to get 0B of archives.
After unpacking 3940kB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 86738 files and directories currently installed.)
Removing nut-usb ...
Removing nut ...
Stopping Network UPS Tools:.
Stopping Network UPS Tools:.
Removing nut-cgi ...
#

# dpkg -i nut_2.0.4-4_amd64.deb nut-usb_2.0.4-4_amd64.deb
Selecting previously deselected package nut.
(Reading database ... 86562 files and directories currently installed.)
Unpacking nut (from nut_2.0.4-4_amd64.deb) ...
Preparing to replace nut-usb 2.0.4-4 (using nut-usb_2.0.4-4_amd64.deb) ...
Unpacking replacement nut-usb ...
Setting up nut (2.0.4-4) ...
Stopping Network UPS Tools:.
Starting Network UPS Tools:.

Setting up nut-usb (2.0.4-4) ...


# /etc/init.d/nut start
Starting Network UPS Tools: upsdrvctl upsd upsmon.
# upsc [EMAIL PROTECTED]
battery.charge: 100
battery.charge.low: 30
battery.charge.warning: 50
battery.runtime: 210
battery.type: PbAc
battery.voltage: 27.1
battery.voltage.nominal: 24
driver.name: newhidups
driver.parameter.pollfreq: 5
driver.parameter.port: auto
driver.version: 2.0.4
driver.version.data: Belkin HID 0.1
driver.version.internal: 0.28
input.frequency: 59.9
input.frequency.nominal: 60
input.sensitivity: normal
input.transfer.high: 136
input.transfer.high.max: 141
input.transfer.high.min: 131
input.transfer.low: 90
input.transfer.low.max: 95
input.transfer.low.min: 85
input.voltage: 123.5
input.voltage.nominal: 120
output.frequency: 59.9
output.voltage: 123.2
ups.beeper.status: enabled
ups.delay.restart: 0
ups.delay.shutdown: 0
ups.firmware: 4
ups.load: 34
ups.load.high: 100
ups.mfr: Belkin
ups.mfr.date: 2002/03/01
ups.model: UPS
ups.power.nominal: 1200
ups.serial: D2002337105
ups.status: OL CHRG
ups.test.result: No test initiated
ups.type: offline
#

(so far NO messages concerning a lot battery with 2.0.4-4)

# echo nut hold | dpkg --set-selections
# echo nut-cgi hold | dpkg --set-selections
# echo nut-usb hold | dpkg --set-selections

I will keep version 2.0.4-4 for now as 2.0.5-3+b1 has some serious bugs.

Let me know if you need anything else from me to track down this bug.

I have attached the output from this command:

 /lib/nut/newhidups -x productid=0912 -u nut -DDDDDDDD auto \
 > /tmp/nut-2.0.4-4-debug.log 2>&1

From each version.

Hopefully this gives enough information to track down the bug.

(so far no low battery alerts with version 2.0.4-4)

1. nut-2.0.4-4-debug.log.bz2
2. nut-2.0.5-3+b1-debug.log.bz2

Thanks,

Justin.

Attachment: nut-2.0.4-4-debug.log.bz2
Description: Binary data

Attachment: nut-2.0.5-3+b1-debug.log.bz2
Description: Binary data

_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to