search for: bestfortress

Displaying 20 results from an estimated 21 matches for "bestfortress".

2010 Apr 19
1
Patch for the bestfortress driver 0.02
I could not make the bestfortress driver 0.02 work for my Best Fortress LI675VA, so I have made a patch for the driver. The reason was, that all responses are preceded and terminated by CR LF, but the driver would discard everything after the first CR LF. The following patch discards everything up to the first LF. It also adds a d...
2012 Jan 17
5
bestfortress driver establishes/loses/establishes communication and so on...
[As posted as Ubuntu Question #184284 on Launchpad] Hi, I try to set up nut (2.4.3) on my Lucid (10.04.3 LTS) to make use of my old but very trusty UPS (Best Power Fortress 660 LI). Yes, this UPS is old (about 16 years), but with its third battery pack last week it is as good as new. It runs perfectly well with Windows XP, Vista and even Windows 7. But not so with Ubuntu and nut. After
2012 Oct 15
0
Systemd sequencing problem in Fedora 16,17
...ning nut in Fedora 17 (previously 16). There is a bug in startup that I think I understand well enough to explain. The symptom is that upsd refuses to start at boot time, complaining: Oct 12 22:28:22 melissa upsdrvctl[868]: Network UPS Tools - UPS driver controller 2.6.5 Oct 12 22:28:22 melissa bestfortress[937]: Startup successful Oct 12 22:28:22 melissa upsd[938]: fopen /var/run/nut/upsd.pid: No such file or directory Oct 12 22:28:22 melissa upsd[938]: not listening on 2001:470:8:809::1005 port 3493 Oct 12 22:28:22 melissa upsd[938]: listening on ::1 port 3493 Oct 12 22:28:22 melissa upsd[938]: li...
2009 Aug 14
2
Bestfortress driver, network serial patch for nut-2.0
...t bmsi.com> Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154 "Confutatis maledictis, flammis acribus addictis" - background song for a Microsoft sponsored "Where do you want to go from here?" commercial. -------------- next part -------------- /* bestfortress.c - model specific routines for (very) old Best Power Fortress Copyright (C) 2002 Russell Kroll <rkroll at exploits.org> (skeleton) (C) 2002 Holger Dietze <holger.dietze at advis.de> This program is free software; you can redistribute it and/or modify it under...
2023 Jan 15
1
logging strategy
I am looking at bestfortress and trying to figure out and fix some things, which is causing me to try to improve logging first. A few questions: 0) The developer guide doesn't seem to address any of this, or did I miss it? 1) It seems upsdebugx prints to stdout instead of syslog if in foreground. That's great but I...
2011 Oct 31
1
Thank you
I just hooked up an old Best Fortress (with new batteries). Those things are built like a tank, and it works out of the box in Fedora 14 (nut-2.6.2) thanks to the bestfortress driver still in the project. It had disappeared for 2.0, but I sent it in for 2.2, and you guys kept it going. -- Stuart D. Gathman <stuart at bmsi.com> Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154 "Confutatis maledictis, flammis acribus addictis...
2012 May 25
0
Preparing for 2.6.4
...date on blazer HCL, all this is done > - shut switch (mge-shut->mge-shut-old ; newmge-shut->mge-shut) this is still underway > - some of my local XCP patches, if possible. I'm not sure I'll be able to address this one, for budget and time constraint. The same sadly goes for bestfortress... Part of the feedback I'm waiting for: - Michail, and the "ACK" check for blazer. The remaining tests and feedback will allow us to replace bestups by blazer, - Michal and Greg still have to check for the last apcsmart changes, - Rich has reported a possible race condition in usbhi...
2023 Jan 15
1
logging strategy
...mp printer along the lines of https://gist.github.com/jimklimov/07913a3e30a7d7ec50e9c946117c994f#file-jenkins-credump-L17-L41 (that particular code is groovy, but trivial to convert elsewhere). Jim On Sun, Jan 15, 2023 at 5:12 PM Greg Troxel <gdt at lexort.com> wrote: > I am looking at bestfortress and trying to figure out and fix some > things, which is causing me to try to improve logging first. A few > questions: > > 0) The developer guide doesn't seem to address any of this, or did I > miss it? > > 1) It seems upsdebugx prints to stdout instead of syslog if in &g...
2023 Jan 15
1
logging strategy
...> given debug level (e.g. if major milestones of a routine are logged at > level N, further traces like "I saw value X here" would be N+1 or more). > De-facto verbosities fizzle out at 6, but generally it is an int value, > so... Sounds good - what I wrote down as a plan for bestfortress very much matches that, 1 to 5 where 5 is if you want to see every IO byte. > Regarding syslog/stdout/stderr, the upsdebugx*() methods are defined here > and near: > https://github.com/networkupstools/nut/blob/ad70749f243527e774c3f03a08228430143396e9/common/common.c#L1205 > and end u...
2023 Sep 16
1
Nut-upsdev Digest, Vol 206, Issue 5
...nutdrv_atcl_usb tripplite >> bcmxcp_usb everups nutdrv_qx tripplitesu >> belkin gamatronic oldmge-shut tripplite_usb >> belkinunv genericups oneac upscode2 >> bestfcom isbmex optiups upsd >> bestfortress ivtscd powercom upsmon >> bestuferrups liebert powerpanel usbhid-ups >> bestups liebert-esp2 rhino victronups >> blazer_ser masterguard richcomm_usb >> " >> >> My lsusb is showing "Bus 001 Device 008:...
2023 Sep 19
1
Nut-upsdev Digest, Vol 206, Issue 5
...tcl_usb tripplite >> bcmxcp_usb??? everups?????? nutdrv_qx tripplitesu >> belkin??????? gamatronic??? oldmge-shut tripplite_usb >> belkinunv???? genericups??? oneac upscode2 >> bestfcom????? isbmex??????? optiups????????? upsd >> bestfortress? ivtscd??????? powercom???????? upsmon >> bestuferrups? liebert?????? powerpanel usbhid-ups >> bestups?????? liebert-esp2? rhino victronups >> blazer_ser??? masterguard?? richcomm_usb >> " >> >> My lsusb is showing &qu...
2023 Jan 12
0
experience with old Best Fortress? shutdown not seeming delayed
I have several Best "Fortress LI660", manufactured ~1995, which use bestfortress(8). nut has been monitoring two of them just fine for years via a USB/serial adaptor and homemade TXD/RXD/COMMON cable. I am now trying to properly set up LB shutdown and have a few questions. 1) ups.shutdown.delay is set in the driver: dstate_setinfo("ups.delay.shutdown", &qu...
2023 Jan 09
7
How verbose should NUT be by default?
Hello all, During discussion of https://github.com/networkupstools/nut/issues/1782 me and Greg uncovered a diametral difference of opinion about the verbosity of NUT programs in general, and of `upsmon -K` (checking for POWERDOWNFLAG during shutdown integration) in particular. To me as a sysadmin type often (in the past at least) having to troubleshoot the tails and ends of systems'
2023 Jan 09
7
How verbose should NUT be by default?
Hello all, During discussion of https://github.com/networkupstools/nut/issues/1782 me and Greg uncovered a diametral difference of opinion about the verbosity of NUT programs in general, and of `upsmon -K` (checking for POWERDOWNFLAG during shutdown integration) in particular. To me as a sysadmin type often (in the past at least) having to troubleshoot the tails and ends of systems'
2011 Oct 03
2
patch: Replace many usleep and some sleep calls with nanosleep
...id upsdrv_init_nofc(void) ser_send(upsfd, "id\r"); /* prevent upsrecv from timing out */ - sleep(UPSDELAY); + struct timespec delay = {UPSDELAY, 0}; nanosleep(&delay, NULL); ser_get_line(upsfd, rstring, sizeof(rstring), '>', "", 3, 0); Index: b/drivers/bestfortress.c =================================================================== --- a/drivers/bestfortress.c 2011-05-31 13:36:49.000000000 +0300 +++ b/drivers/bestfortress.c 2011-08-17 00:40:17.000000000 +0300 @@ -23,7 +23,7 @@ #include "main.h" #include "serial.h" -#define UPSDELAY 5...
2023 Jan 09
0
How verbose should NUT be by default?
...g. upsd: Network UPS Tools upsd 2.8.0.1 fopen /var/db/nut/upsd.pid: No such file or directory Could not find PID file '/var/db/nut/upsd.pid' to see if previous upsd instance is already running! listening on 127.0.0.1 port 3493 listening on ::1 port 3493 Connected to UPS [foo]: bestfortress-foo Found 1 UPS defined in ups.conf again, all what was configured. > So here is a shout-out to other practitioners: should NUT programs print > their banner and other info (e.g. competing daemon instance was/wasn't > found and how that was determined) every time they start by de...
2023 Jan 09
0
[Nut-upsdev] How verbose should NUT be by default?
...g. upsd: Network UPS Tools upsd 2.8.0.1 fopen /var/db/nut/upsd.pid: No such file or directory Could not find PID file '/var/db/nut/upsd.pid' to see if previous upsd instance is already running! listening on 127.0.0.1 port 3493 listening on ::1 port 3493 Connected to UPS [foo]: bestfortress-foo Found 1 UPS defined in ups.conf again, all what was configured. > So here is a shout-out to other practitioners: should NUT programs print > their banner and other info (e.g. competing daemon instance was/wasn't > found and how that was determined) every time they start by de...
2023 Sep 19
1
Nut-upsdev Digest, Vol 206, Issue 5
...usb tripplite >>> bcmxcp_usb everups nutdrv_qx tripplitesu >>> belkin gamatronic oldmge-shut tripplite_usb >>> belkinunv genericups oneac upscode2 >>> bestfcom isbmex optiups upsd >>> bestfortress ivtscd powercom upsmon >>> bestuferrups liebert powerpanel usbhid-ups >>> bestups liebert-esp2 rhino victronups >>> blazer_ser masterguard richcomm_usb >>> " >>> >>> My lsusb is showing &q...
2023 Sep 23
1
Nut-upsdev Digest, Vol 206, Issue 5
...bcmxcp_usb??? everups?????? nutdrv_qx tripplitesu >>> belkin??????? gamatronic??? oldmge-shut tripplite_usb >>> belkinunv???? genericups??? oneac upscode2 >>> bestfcom????? isbmex??????? optiups upsd >>> bestfortress? ivtscd??????? powercom upsmon >>> bestuferrups? liebert?????? powerpanel usbhid-ups >>> bestups?????? liebert-esp2? rhino victronups >>> blazer_ser??? masterguard?? richcomm_usb >>> " >>> >>>...
2023 Sep 23
1
Nut-upsdev Digest, Vol 206, Issue 5
...gt;>> bcmxcp_usb everups nutdrv_qx tripplitesu >>>> belkin gamatronic oldmge-shut tripplite_usb >>>> belkinunv genericups oneac upscode2 >>>> bestfcom isbmex optiups upsd >>>> bestfortress ivtscd powercom upsmon >>>> bestuferrups liebert powerpanel usbhid-ups >>>> bestups liebert-esp2 rhino victronups >>>> blazer_ser masterguard richcomm_usb >>>> " >>>> >>>&gt...