Hi, I need to get a USB based UPS for a system which is running NUT 2.0.4 (a Debian Etch system). Does anyone know of a UPS that I can buy today that is supported by 2.0.4? Unfortunately upgrading the OS (and NUT) isn't an option. Previously, we used the Powerware 5110 (which used the bcmxcp_usb driver) and that worked fine, however that UPS has been discontinued and is no longer available, and I am having trouble finding a suitable replacement. So far I've tried the Eaton 5S UPS using various NUT 2.0.4 USB drivers to no avail. Regards, Julian -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20140328/bf15e8fd/attachment.html>
On Mar 27, 2014, at 7:47 PM, Julian Nguyen wrote:> I need to get a USB based UPS for a system which is running NUT 2.0.4 (a Debian Etch system). Does anyone know of a UPS that I can buy today that is supported by 2.0.4? Unfortunately upgrading the OS (and NUT) isn?t an option. Previously, we used the Powerware 5110 (which used the bcmxcp_usb driver) and that worked fine, however that UPS has been discontinued and is no longer available, and I am having trouble finding a suitable replacement. So far I?ve tried the Eaton 5S UPS using various NUT 2.0.4 USB drivers to no avail.Even though you mentioned that upgrading NUT isn't an option, I have to put in a plug for upgrading-- there are a lot more devices supported in newer versions of NUT. In particular, the newhidups driver in 2.0.4 only supports a handful of models by MGE, APC and Belkin, and the only other USB drivers are bcmxcp_usb and tripplite_usb. The latter only supports Tripp Lite's early USB models with a sketchy built-in USB-to-serial adapter, and even though I wrote that driver, I can't recommend using it on a production system. (Tripp Lite's newer HID PDC-complaint UPSes are much better, and the company provided an extensive test report running those models against NUT 2.6.x.) Building a new .deb package shouldn't be too difficult, or you could build from source. Feel free to ask here if that turns out to be the most promising way forward. Another option is to look for a used UPS online. If you are considering APC, this is probably the way to go, since their newest models use a proprietary MicroLink protocol, and the USB HID PDC support is somewhat crippled. There are a few APC-specific workarounds in later versions of NUT, which I think means that the older versions of NUT won't talk to newer APC hardware. Unfortunately, I don't know how far back you would have to go to find a non-MicroLink UPS. If you find a used UPS online, you may be able to save on shipping by asking the seller not to include the batteries, and buy replacements locally. Another option is to find a serial UPS and a decent USB-to-serial adapter. I have had some luck with Keyspan PDA adapters (USA-19, I think) but you will need to play around with the firmware files in Debian. -- Charles Lepple clepple at gmail
On Mar 30, 2014, at 6:23 PM, Julian Nguyen wrote:> I downloaded the source, and got it building easily enough. What's the best > way to get it in to a .deb that use to distribute for an etch system? > I build a few custom deb files for our own system, so I am somewhat > familiar with the procedure.Unfortunately, I don't have an etch buildroot set up to try this, but it would be something like downloading the .diff.gz corresponding to your Debian release's latest NUT package, extracting nut-2.7.1, then applying the .diff.gz to that, and updating the debian/changelog to match the NUT version. It may complain if you don't have a GPG key; I vaguely remember passing "-us -uc" to debuild in order to silence that warning. The debian/control and debian/rules files should point to the dependencies present in your Debian release, and NUT should be able to build against those. There might be some discrepancies between the ./configure parameters (it's been a while since 2.0.4). http://archive.debian.org/debian/pool/main/n/nut/ Another way is to use the build directory from your successful build, and use the "checkinstall" package to reproduce the 'make install' process. It monitors what the install process writes, then creates a .deb file from those files. I don't recall exactly how it handles dependencies, but I think you can manually list them as part of the checkinstall process. https://wiki.debian.org/CheckInstall [Please remember to keep the list CC'd. I manually added a reply-to header, but people have expressed displeasure with that being done by the mailing list software, so it isn't done by default.] -- Charles Lepple clepple at gmail
Hi Julian, We are facing the same requirements. Our system runs a 2.0.3 version of NUT with MGE / Eaton UPSes from Ellipse model with the newhidups driver. Up to now, they work without problem. Regards, Patrick Agrain Le 28/03/2014 00:47, Julian Nguyen a ?crit :> > Hi, > > I need to get a USB based UPS for a system which is running NUT 2.0.4 > (a Debian Etch system). Does anyone know of a UPS that I can buy > today that is supported by 2.0.4? Unfortunately upgrading the OS (and > NUT) isn't an option. Previously, we used the Powerware 5110 (which > used the bcmxcp_usb driver) and that worked fine, however that UPS has > been discontinued and is no longer available, and I am having trouble > finding a suitable replacement. So far I've tried the Eaton 5S UPS > using various NUT 2.0.4 USB drivers to no avail. > > Regards, > > Julian > > > > _______________________________________________ > Nut-upsuser mailing list > Nut-upsuser at lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser-------------- section suivante -------------- Une pi?ce jointe HTML a ?t? nettoy?e... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20140401/d1bc35c4/attachment.html>