[Nut-upsuser] About your driver NUTDRV_ATCL_USB(8) for install

Charles Lepple
2014-07-17T12:40:58Z

On Jul 13, 2014, at 9:46 AM, pere at riusnebot.com wrote:

> Dear Charles Lepple,
> Sorry for my email intrusion.

for next time:

http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

> I have an UPS called Ovislink 1000VA and it use a UPSMART2000R (with ?ATCL
FOR UPS?).
> I?m a beginner Linux user and I ?will install your new driver
<nutdrv_atcl_usb > to work with networkupstools.org, but  I can?t.
>
> We have a raspberry pi with debian, and  I only installed a ?nut? with
version:
>
> ii  nut            2.6.4-2.3+de all          network UPS tools -
metapackage
> ii  nut-client     2.6.4-2.3+de armhf        network UPS tools - clients
> ii  nut-server     2.6.4-2.3+de armhf        network UPS tools - core
system
>
> ? But it not contain your NUTDRV_ATCL_USB to put in my ups.conf file
configuration
>
> Could you help me how we can use your new driver ATCL FOR UPS? I don?t know
how install unstable 2.7.2-1 version in RaspBerry that I think that contents
this new driver.

There are a few options, depending on whether you prefer packages, or if you
need to install this quickly.

One way might be to request a backport. I have no experience with this
particular group, but you could try requesting here:
http://sourceforge.net/p/raspbian-backports/suggestions/

Another way is to download the Debian source files for 2.7.2-1 from
https://packages.debian.org/sid/nut (three links under "Download Source
Package" in the right sidebar) and use 'debuild -us -uc' from the
devscripts package.

Since I needed to build from the latest code, I used 'apt-src' to
install the build dependencies. Note that this will require a fair amount of
free space on your SD card (I am using a 4GB card with Raspbian). In
/etc/apt/sources.list, copy the first line, and change 'deb' to
'deb-src' like so:

deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free
rpi
deb-src http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib
non-free rpi

Then run 'sudo apt-src install nut'. This downloads the packages needed
to build NUT 2.6.4, but then you would want to grab the newer NUT 2.7.2 package.
You may also want to remove the nut* .deb binary packages to avoid confusion.

Unpack nut-2.7.2.tar.gz, and follow the installation instructions here:
http://www.networkupstools.org/docs/user-manual.chunked/ar01s05.html

If you need help, please subscribe to the nut-upsuser list and describe the
problem there.