[Nut-upsuser] NUT not recognising Mini-box OpenUPS 2
clepple at gmail.com
Wed Aug 2 02:02:09 UTC 2017
On Aug 1, 2017, at 12:01 PM, Song Teck <songteck at gmail.com> wrote:
> Hi Charles,
> Ok, I missed the absence from the backports as well. Again, some unfamiliarity here, so
> 1) I presume I cannot use a metapackage meant for jessie or stretch on wheezy? Or if I can, is there a way to deploy it from console?
The "nut" metapackage just depends on "nut-client" and "nut-server". The drivers are in the server package - you'd need to find a way to install a newer nut-server package, and I don't know if I would want to try and mix .deb versions like that (if it is even possible).
> 2) If not and I use the 2.7.4 tar found at http://networkupstools.org/download.html, do i just run the classical process? i.e.
> sudo make install
You could, but the paths would be slightly different from the .deb version, and it won't necessarily integrate with the system shutdown. However, the driver-to-upsd interface hasn't changed between 2.6.5 and 2.7.4, as long as you use the same paths for ./configure that the 2.6.5 Debian package used.
> ./configure has a no under "install USB drivers" and when I add that handle (--with-usb) in, it prompts for libusb.
> Does that mean I actually have to do the process referenced in your link? Or is it fine to go ahead with that as USB drivers as a no?
The OpenUPS2 is connected via USB, so you'll need the libusb dependencies.
> here is some info on that process: http://lists.alioth.debian.org/pipermail/nut-upsuser/2016-October/010389.html
> In your case, you probably don't need the libusb-1.0 branch snapshot, so you could just use a NUT tarball from the downloads page: http://networkupstools.org/download.html#_stable_tree_2_7
To clarify: that thread was talking about a snapshot of a NUT branch that uses libusb-1.0, versus the original libusb-0.1 support. If you set things up to do "apt-get build-dep nut", it will pull in the libusb-dev package (which would cause the ./configure output to say yes for building USB drivers).
More information about the Nut-upsuser