tags -1 + patch
thanks
I believe the following patch resolves the problem. apctest -d 1000
prints, in part,
0.000 apcupsd: generic-usb.c:425 Initializing libusb
0.000 apcupsd: generic-usb.c:430 Found 1 USB busses
0.001 apcupsd: generic-usb.c:432 Found 11 USB devices
...
and apcaccess works when apcupsd is running:
$ sudo apcaccess
...
CABLE : USB Cable
DRIVER : USB UPS Driver
...
MODEL : Back-UPS ES 500
STATUS : ONLINE
LINEV : 118.0 Volts
...
diff -u apcupsd-3.14.10/debian/changelog apcupsd-3.14.10/debian/changelog
--- apcupsd-3.14.10/debian/changelog
+++ apcupsd-3.14.10/debian/changelog
@@ -1,3 +1,10 @@
+apcupsd (3.14.10-2.1) UNRELEASED; urgency=low
+
+ * Non-maintainer upload.
+ * Use libusb2 on kfreebsd so that USB UPSes work (Closes #728446)
+
+ -- Jeff Epler <[email protected]> Sat, 01 Feb 2014 10:41:06 -0600
+
apcupsd (3.14.10-2) unstable; urgency=low
* [16893a8] Support serial UPS connection on kfreebsd.
diff -u apcupsd-3.14.10/debian/control apcupsd-3.14.10/debian/control
--- apcupsd-3.14.10/debian/control
+++ apcupsd-3.14.10/debian/control
@@ -3,7 +3,7 @@
Priority: extra
Maintainer: Giuseppe Iuculano <[email protected]>
Uploaders: Stefan Ritter <[email protected]>
-Build-Depends: debhelper (>= 7), autotools-dev, quilt, mawk | awk,
libgd2-noxpm-dev, libncurses5-dev | libncurses-dev, libsnmp-dev, libssl-dev,
libwrap0-dev, po-debconf, texinfo, tcpd, rst2pdf, python-docutils, pkg-config,
libusb-dev
+Build-Depends: debhelper (>= 7), autotools-dev, quilt, mawk | awk,
libgd2-noxpm-dev, libncurses5-dev | libncurses-dev, libsnmp-dev, libssl-dev,
libwrap0-dev, po-debconf, texinfo, tcpd, rst2pdf, python-docutils, pkg-config,
libusb-dev [!kfreebsd-any], libusb2-dev [kfreebsd-any]
Standards-Version: 3.8.4
Homepage: http://www.apcupsd.com/
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]