Hi Jayson, I forward your request to the right place. Carlos (or some other) will have an answer, or at least some questions for you. -- Arnaud 2008/6/27 Jayson Anderson <jayson.anderson at gmail.com>:> Greetings Arnaud, > > I wrote you some time ago about whether NUT would support the Belkin > F6H550-UPS device in the future. > > You had replied and mentioned to send you info if I had any success; I did > dig in further with version 2.2.2 (i was using 2.2.1 when I wrote the > initial email in mid-March 2008) > > I managed to get the device sort-of working, but i'm getting the > "unsupported combination of battery voltage..." error when attempting to > bring upsdrvctl online. > > I am sending you some output to see if it will be of any help to you. I am > not certain of the configuration of the UPS battery quantity/voltage. If you > wish, I can take it apart to try and glean some more info. The > package/instructions do not contain and solid data on this matter. > > Here is some output; if you need anymore or have any suggestions to bring > the batteries into spec with NUT, let me know. > > Thanks graciously for your time. > > Kind Regards, > Jayson > > PS: check out the voltage reading on "present voltage". strange! > > ------stuff------- > > [root at halcion bin]# /usr/local/ups/bin/megatec_usb -DDD -a ups1 > Network UPS Tools 2.2.2 - Megatec protocol driver 1.5.14 [megatec_usb] > Carlos Rodrigues (c) 2003-2008 > > Serial-over-USB transport layer for Megatec protocol driver [megatec_usb] > Andrey Lelikov (c) 2006, Alexander Gordeev (c) 2006-2007, Jon Gough (c) 2007 > > debug level is '3' > Checking device (0000/0000) (005/001) > - VendorID: 0000 > - ProductID: 0000 > - Manufacturer: unknown > - Product: unknown > - Serial Number: unknown > - Bus: 005 > Trying to match device > Device does not match - skipping > Checking device (0000/0000) (004/001) > - VendorID: 0000 > - ProductID: 0000 > - Manufacturer: unknown > - Product: unknown > - Serial Number: unknown > - Bus: 004 > Trying to match device > Device does not match - skipping > Checking device (0665/5161) (003/004) > - VendorID: 0665 > - ProductID: 5161 > - Manufacturer: Cypress Semiconductor > - Product: USB to Serial > - Serial Number: unknown > - Bus: 003 > Trying to match device > Device matches > Starting UPS detection process... > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 121.6 NNN 60.2 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.9 119.9 121.6 NNN 60.2 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 121.6 NNN 60.2 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 121.0 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 121.0 NNN 60.2 13.6 N/.A 00001001] > 0 out of 5 detection attempts failed (minimum failures: 2). > Cancelling any pending shutdown or battery test. > Asking for UPS information [I]... > I => FAILED [short read] > I detail: (0 bytes) => > Megatec protocol UPS detected. > Parameter [ignoreoff]: [false] > Asking for UPS power ratings [F]... > F => OK [#120.0 005 12.00 60.0] > 12.0V battery, present voltage (8549026304.0V) outside of supported > intervals. > This UPS has an unsupported combination of battery voltage/number of > batteries. > Cannot calculate charge percentage for this UPS. > Done setting up the UPS. > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 121.2 NNN 60.2 13.6 N/.A 00001001] > dstate_init: sock /var/state/ups/megatec_usb-ups1 open on fd 5 > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 121.5 NNN 60.2 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 121.6 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 121.5 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 121.5 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 121.4 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 121.4 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 121.4 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 121.4 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 121.5 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 121.6 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 121.6 NNN 60.2 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 121.6 NNN 60.2 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 121.6 NNN 60.2 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 121.4 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 120.9 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 120.7 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 120.6 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 120.6 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 120.6 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 120.6 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 120.6 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 120.6 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 120.6 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 120.6 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 120.6 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 120.6 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 120.6 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 120.6 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 120.6 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 120.6 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 120.6 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 120.6 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 120.6 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 121.4 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 121.6 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 121.6 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 121.6 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 121.6 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 121.6 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 121.6 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 121.6 NNN 60.1 13.6 N/.A 00001001] > Asking for UPS status [Q1]... > Q1 => OK [(119.8 119.8 121.6 NNN 60.1 13.6 N/.A 00001001] > > [root at halcion etc]# /usr/local/ups/bin/upsc ups1 at localhost > battery.voltage: 0.00 > battery.voltage.nominal: 12.0 > driver.name: megatec_usb > driver.parameter.pollinterval: 2 > driver.parameter.port: /dev/usbdev3.4 > driver.version: 2.2.2 > driver.version.internal: 1.5.14 > input.frequency: 0.0 > input.frequency.nominal: 60.0 > input.voltage: 119.8 > input.voltage.fault: 119.8 > input.voltage.maximum: 119.8 > input.voltage.minimum: 119.8 > input.voltage.nominal: 120.0 > output.voltage: 120.8 > ups.beeper.status: disabled > ups.delay.shutdown: 0 > ups.delay.start: 2 > ups.load: 0.0 > ups.mfr: unknown > ups.model: unknown > ups.serial: unknown > ups.status: OL > ups.type: online > >
> 2008/6/27 Jayson Anderson <jayson.anderson at gmail.com>: >> Greetings Arnaud, >> >> I wrote you some time ago about whether NUT would support the Belkin >> F6H550-UPS device in the future. >>[snip]>> >> I managed to get the device sort-of working, but i'm getting the >> "unsupported combination of battery voltage..." error when attempting to >> bring upsdrvctl online.That's not really an error, but a warning. The way to get rid of it is by using the "battvolts" option in upsd.conf. Just check the manpage for more details ("man 8 megatec"). To get the values required, just let the UPS charge completely. Then, run "megatec -DDD -a yourups > somefile.txt", unplug the UPS from mains and let it discharge until it shuts itself down (it must be powering something, but probably not your computer...). Then, from the file, you can obtain the battery voltage when the UPS was fully charged (from the first line in the file) and the battery voltage when the UPS was fully discharged (from the last line in the file). Finally, send those values to me, so that I can add them to that model's entry in the compatibility list. -- Carlos Rodrigues
Please keep the mailinglist posted. Many developers won't reply to questions unless they are (also) directed to the mailinglist.> In addition to Q1, it also looks like "[I]" isn't being parsed correctly, > or the unit did not understand the query..... no model information, > serial #, etc. > > --excerpt-- >> Asking for UPS information [I]... >> I => FAILED [short read] >> I detail: (0 bytes) => > -- >> Asking for UPS information [I]... >> I => FAILED [short read] >> I detail: (0 bytes) => > --excerpt--The UPS is not reporting anything (0 bytes) here, so it's not a problem in the parsing. Unfortunately, it is all too common that UPS vendors only partially implement the Megatec protocol and (sadly) yours is one of them. It just means that if the defaults used by the megatec(_ups) driver for the battery voltage (empty / fully charged) are off, there is no way we can make the driver autodetect this (and you must override these from the command line or the ups.conf file). Complain to the vendor, there is nothing we can do about this.> Let me know if you still would like a full -DDD output for a full > discharge (or anything else).We don't need this, since there would be no way to autodetect this UPS anyway. Best regards, Arjen