Remove extraneous comment start

git-svn-id: svn://svn.debian.org/nut/trunk@3493 72a954d1-e00c-0410-aa02-d9c7bb700a61
HP USB UPS completion #1

Address HP USB/HID devices, that use the TrippLite HID definitions.
This includes new ProductIDs, and few more variables and commands

git-svn-id: svn://svn.debian.org/nut/trunk@3494 72a954d1-e00c-0410-aa02-d9c7bb700a61
Emphasize special characters

git-svn-id: svn://svn.debian.org/nut/trunk@3495 72a954d1-e00c-0410-aa02-d9c7bb700a61
Fix shut notification mask

git-svn-id: svn://svn.debian.org/nut/trunk@3498 72a954d1-e00c-0410-aa02-d9c7bb700a61
Deactivate UPS notification

Currently this driver is ignoring notification by automatically
sending NACK when they are received.
Nevertheless,this behavior creates communication
errors with some UPS (M2200). So this patch completly
disable the sending of notification from the UPS.
Ideally we should correclty implement notifications
managment for optimal performance, but with this patch,
at least, communiaton works.

git-svn-id: svn://svn.debian.org/nut/trunk@3499 72a954d1-e00c-0410-aa02-d9c7bb700a61
Change timeout for PW9120

Current timeout (1 sec) is too short for PW9120:
numerous frames are lost.
Setting this to 2 seconds fix this.

git-svn-id: svn://svn.debian.org/nut/trunk@3500 72a954d1-e00c-0410-aa02-d9c7bb700a61
Fix SHUT variables read (from Arnaud Quette)

git-svn-id: svn://svn.debian.org/nut/trunk@3501 72a954d1-e00c-0410-aa02-d9c7bb700a61
Avoid stack corruption on invalid frame

In the protocol, the frame size can be 8 bytes max. That is why the
frame buffer is only 8 bytes long.
If the frame is corrupted, the size read may be up to 15, which may
corrupt the stack while writing into the frame buffer.
This patch add a simple sanity check on the size to avoid a crash
and enforce protocol limitation.

git-svn-id: svn://svn.debian.org/nut/trunk@3503 72a954d1-e00c-0410-aa02-d9c7bb700a61
Detect duplicate instances of upsd / upsmon

Fix a long standing issue, that is the lack of detection of duplicate
upsd / upsmon instances when starting another one of these daemons.
This previously resulted in inconsistencies, such as being unable to
stop the daemon, due to its .pid file being removed by the newly
started instance (last reported by Andrew Min Chang)


git-svn-id: svn://svn.debian.org/nut/trunk@3506 72a954d1-e00c-0410-aa02-d9c7bb700a61
Fix nut.conf documentation and sample file

Since nut.conf is intended to be sourced by shell scripts, spaces must
not be added around the equal sign. Fix documentation and sample file
to conform to this purpose, and add bold warning
(reported by Tim Rice, Alioth bug #312452)

git-svn-id: svn://svn.debian.org/nut/trunk@3507 72a954d1-e00c-0410-aa02-d9c7bb700a61
Uncomplicated Firewall (UFW) support

Provide an Uncomplicated Firewall (UFW) profile (nut.ufw.profile) to
tightly integrate NUT, along with some documentation completion for
the Security chapter of the user manual

git-svn-id: svn://svn.debian.org/nut/trunk@3508 72a954d1-e00c-0410-aa02-d9c7bb700a61
Add support Innova online UPS family

Add Innova T (0x06da:0x0201), Innova RT (0x06da:0x0005) and Innova
3/1 T (0x06da:0x0004) to the list of of blazer_usb and blazer_ser
supported models. Innova series are online UPS supporting Q1 for
compatibility, and many more commands. Better support, either
through blazer_* rewrite or through a new driver, is considered
as a future possibility

git-svn-id: svn://svn.debian.org/nut/trunk@3511 72a954d1-e00c-0410-aa02-d9c7bb700a61
Improve support functions for trimming strings

Enforce verifications in rtrim, and add an ltrim function

git-svn-id: svn://svn.debian.org/nut/trunk@3512 72a954d1-e00c-0410-aa02-d9c7bb700a61
Add debug traces for read / write commands

git-svn-id: svn://svn.debian.org/nut/trunk@3514 72a954d1-e00c-0410-aa02-d9c7bb700a61
Add support for AEG Power Solutions PROTECT HOME

Add AEG Power Solutions PROTECT HOME (USB ID 0x0665:0x5161) to the list
of blazer_ser and blazer_usb supported models (reported by Joachim
Schiele)

git-svn-id: svn://svn.debian.org/nut/trunk@3516 72a954d1-e00c-0410-aa02-d9c7bb700a61