Package: nut
Version: 2.2.2-6.2
Followup-For: Bug #498655

About the ESV bug: see mge-utalk(8) under "KNOWN ISSUES" - isn't the 
"pollinterval=20" workaround sufficient to avoid crashing this UPS?

If "Z" turns out to be safe (only "Ax 1" can crash the UPS), then just 
move the two

        mge_command(NULL, 0, "Z");

lines to the top of enable_ups_comm(), before the "Si" test.

Might also be a good idea to check the "Si" response for correct format 
(so the echoed "Si" command would fail the test).

Just wondering if the echo could actually be enabled, and used to avoid 
flooding/crashing the buggy firmware - instead of sending the command at 
once, send it one character at a time, waiting for echo (with a timeout) 
before sending the next character.  Or could this cause trouble on some 
old/quirky UPS models that don't support echo - are there any?

Marek

-- 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=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
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-15      GNU C Library: Shared libraries
ii  libupsclient1                2.2.2-6.2   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-7     /dev/ and hotplug management daemo

nut recommends no packages.

Versions of packages nut suggests:
ii  nut-cgi                       2.2.2-6.2  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]

Reply via email to