[Bug 239025] Re: usbhid-ups not behaving with Tripplite UPS
Roger C. Pao
rcpao1 at gmail.com
Thu Aug 7 20:10:57 BST 2008
Chuck Short:
dget http://launchpadlibrarian.net/15690206/nut_2.2.1-2.1ubuntu7.2~ppa1.dsc does not get the orig.tar.gz or diff.gz correctly. Of course, it's not really a repository, so the directory paths being different from the *.dsc file may be unavoidable.
rcpao at bun:~/pub/inet/Linux/networkupstools.org$ sh 01-dget.sh
dget: retrieving http://launchpadlibrarian.net/15690206/nut_2.2.1-2.1ubuntu7.2~ppa1.dsc
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1023 100 1023 0 0 2687 0 --:--:-- --:--:-- --:--:-- 0
dget: retrieving http://launchpadlibrarian.net/15690206/nut_2.2.1.orig.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404
dget: curl nut_2.2.1.orig.tar.gz http://launchpadlibrarian.net/15690206/nut_2.2.1.orig.tar.gz failed
rcpao at bun:~/pub/inet/Linux/networkupstools.org$
I successfully downloaded nut_2.2.1-2.1ubuntu7.2~ppa1.dsc, the
orig.tar.gz, and the diff.gz from https://launchpad.net/~zulcss/+archive
manually.
dpkg-source -x *.dsc
cd nut-2.2.1
dpkg-buildpackage -rfakeroot
cd ..
successfully built nut-2.2.1/drivers/usbhid-ups. Copying it into
/lib/nut/ and replacing the existing file from Ubuntu 8.04.1, works:
...
Path: UPS.OutletSystem.Outlet.DelayBeforeReboot, Type: Feature, ReportID: 0x17, Offset: 0, Size: 16, Value: 65535.000000
Detected a UPS: Tripp Lite /TRIPP LITE UPS
upsdrv_initinfo...
upsdrv_updateinfo...
Quick update...
upsdrv_updateinfo...
Quick update...
upsdrv_updateinfo...
...
root at bun:/etc/nut# upsc bunups at localhost ups.status
OL CHRG
root at bun:/etc/nut# upsc bunups at localhost battery.charge
100
root at bun:/etc/nut#
Installing the nut and nut-cgi*_i386.deb from my recompile also works.
Bottom line: I can say your PPA fixes the infinite loop problem on this
UPS.
--
usbhid-ups not behaving with Tripplite UPS
https://bugs.launchpad.net/bugs/239025
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nut in ubuntu.
More information about the Ubuntu-server-bugs
mailing list