Package: nut Version: 2.2.2-6 Severity: normal The UPS (MGE Pulsar EX40) initially starts with character echo enabled, the mge-utalk driver fails to disable it with the "Z" command, and then gets confused by commands echoed by the UPS interpreted as responses. UPS model is detected as "Si", most variables are read as zero, and communication is lost often.
The UPS was running for a long time and the bug went unnoticed, because an old version of NUT (from the previous Debian stable release) disabled the echo, and the UPS has never been completely shut down since then, so it remembered the echo disabled setting and newer versions of NUT still worked. Recently it has been shut down for maintenance (battery and fan replacement, cleaning), and after that stopped working - echo was reset to enabled by disconnecting the battery. The bug was introduced somewhere between NUT 2.0.1 and 2.2.2 (mge-utalk driver 0.81.0 and 0.88) by the change in enable_ups_comm() to "only enable communication if needed!". With echo enabled, NUT interpreted the echoed back "Si" (identify) command as response, so it never sent the "Z" (disable echo) and "Ax 1" (enable communication) commands. It took quite a long time to find out what is wrong - first I suspected hardware damaged during maintenance. Workaround: send the "Z" command (terminated by LF) before starting NUT for the first time after the UPS was completely shut down (BOTH mains and the battery switch on the rear of the UPS turned off; not needed after normal "low battery" shutdown as the UPS continues to run and remember the echo disabled setting). I'd suggest to always send "Z" on startup, as the old version did. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.25-2-amd64 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages nut depends on: ii adduser 3.110 add and remove users and groups ii debconf 1.5.22 Debian configuration management sy ii libc6 2.7-13 GNU C Library: Shared libraries ii libupsclient1 2.2.2-6 Client library for the nut - Netwo ii libusb-0.1-4 2:0.1.12-12 userspace USB programming library ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip ii udev 0.125-6 /dev/ and hotplug management daemo nut recommends no packages. Versions of packages nut suggests: ii nut-cgi 2.2.2-6 A web interface sub system for the pn nut-dev <none> (no description available) pn nut-snmp <none> (no description available) pn nut-xml <none> (no description available) -- debconf-show failed -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]