Imported Upstream version 2.6.3
This commit is contained in:
parent
45043b58d0
commit
fad6ced6f6
255 changed files with 11081 additions and 4629 deletions
371
scripts/HP-UX/nut.psf.in
Normal file
371
scripts/HP-UX/nut.psf.in
Normal file
|
@ -0,0 +1,371 @@
|
|||
# PSF file for Network UPS Tools /usr/local/ups 11/2/2011
|
||||
#
|
||||
# Useful commands:
|
||||
#
|
||||
# swpackage -p -vv -s /depot/psf_files/xxx.psf -d /depot/s700_opt
|
||||
# swmodify -p -d -vv -s /depot/psf_files/xxx.psf xxx @ /depot/s700_opt
|
||||
# swremove -p -v -d xxx,r=yyy @ /depot/s700_opt
|
||||
# swinstall -p -v -s /depot/s700_opt xxx
|
||||
#
|
||||
# References:
|
||||
# - Creating a Product Specification File (PSF)
|
||||
# http://docs.hp.com/en/B2355-90127/ch09s05.html
|
||||
# - swpackage(8) manual page
|
||||
# http://nixdoc.net/man-pages/hp-ux/man4/swpackage.4.html
|
||||
#
|
||||
# http://www.massconfusion.com/tim/notes/hpux_depot_create_howto.txt
|
||||
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
||||
#
|
||||
# This section is optional
|
||||
|
||||
# This section is optional -- delete it if you don't want it.
|
||||
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
||||
vendor
|
||||
tag NUT-Team
|
||||
title "NUT - Network UPS Tools - Team"
|
||||
description "UPS monitoring tool"
|
||||
end
|
||||
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
||||
product
|
||||
# ----------------------------------------
|
||||
tag NUT
|
||||
title "Network UPS Tools"
|
||||
|
||||
description "Network UPS Tools (NUT) is a client/server monitoring system that allows computers
|
||||
to share uninterruptible power supply (UPS) and power distribution unit (PDU) hardware.
|
||||
Clients access the hardware through the server, and are notified whenever the power status changes."
|
||||
|
||||
revision @PACKAGE_VERSION@
|
||||
|
||||
# ----------------------------------------
|
||||
architecture S700/S800_HPUX_10/HP-UX_B.11.23_IA/PA
|
||||
machine_type *
|
||||
os_name HP-UX
|
||||
#os_release ?.11.2*
|
||||
os_release ?.10.*|?.11.*
|
||||
os_version *
|
||||
# ----------------------------------------
|
||||
#Including "NUT - Server" files.
|
||||
fileset
|
||||
tag Server
|
||||
title "nut-server"
|
||||
revision @PACKAGE_VERSION@
|
||||
|
||||
#Including "conf" files under "/usr/local/ups/etc/nut".
|
||||
file -u 644 -g bin -o bin ../../conf/ups.conf.sample /usr/local/ups/etc/ups.conf
|
||||
file -u 644 -g bin -o bin ../../conf/upsd.conf.sample /usr/local/ups/etc/upsd.conf
|
||||
file -u 644 -g bin -o bin ../../conf/upsd.users.sample /usr/local/ups/etc/upsd.users
|
||||
|
||||
#Including "server" files under "/usr/local/ups/sbin".
|
||||
file -u 755 -g bin -o bin ../../server/upsd /usr/local/ups/sbin/upsd
|
||||
file -u 755 -g bin -o bin ../../drivers/upsdrvctl /usr/local/ups/sbin/upsdrvctl
|
||||
|
||||
#Including "share" files under "/usr/local/ups/share".
|
||||
file -u 644 -g bin -o bin ../../data/cmdvartab /usr/local/ups/share/cmdvartab
|
||||
file -u 644 -g bin -o bin ../../data/driver.list /usr/local/ups/share/driver.list
|
||||
|
||||
#Including required "libupsclient1" under "/usr/local/ups/lib"
|
||||
file -u 755 -g bin -o bin ../../clients/.libs/libupsclient.so.1 /usr/local/ups/lib/libupsclient.so.1
|
||||
file -u 555 -g bin -o bin ../../clients/.libs/libupsclient.so.1.0 /usr/local/ups/lib/libupsclient.so.1.0
|
||||
|
||||
#Including required UPS drivers files under "/usr/local/ups/bin/".
|
||||
#such as "nut-snmp", "nut-xml or netxml-ups"
|
||||
directory ../../drivers=/usr/local/ups/bin/
|
||||
#file_permissions -u 755 -g bin -o bin
|
||||
file *
|
||||
|
||||
# Exclude the files from "drivers" folder that are not required in the package.
|
||||
exclude Makefile
|
||||
exclude Makefile.am
|
||||
exclude Makefile.in
|
||||
exclude apc-hid.c
|
||||
exclude apc-hid.h
|
||||
exclude apc-mib.c
|
||||
exclude apc-mib.h
|
||||
exclude apcsmart.c
|
||||
exclude apcsmart.h
|
||||
exclude apcsmart.o
|
||||
exclude baytech-mib.c
|
||||
exclude baytech-mib.h
|
||||
exclude bcmxcp.c
|
||||
exclude bcmxcp.h
|
||||
exclude bcmxcp.o
|
||||
exclude bcmxcp_io.h
|
||||
exclude bcmxcp_ser.c
|
||||
exclude bcmxcp_ser.o
|
||||
exclude bcmxcp_usb.c
|
||||
exclude belkin-hid.c
|
||||
exclude belkin-hid.h
|
||||
exclude belkin.c
|
||||
exclude belkin.h
|
||||
exclude belkin.o
|
||||
exclude belkinunv.c
|
||||
exclude belkinunv.o
|
||||
exclude bestfcom.c
|
||||
exclude bestfcom.o
|
||||
exclude bestfortress.c
|
||||
exclude bestfortress.o
|
||||
exclude bestpower-mib.c
|
||||
exclude bestpower-mib.h
|
||||
exclude bestuferrups.c
|
||||
exclude bestuferrups.o
|
||||
exclude bestups.c
|
||||
exclude bestups.o
|
||||
exclude blazer.c
|
||||
exclude blazer.h
|
||||
exclude blazer.o
|
||||
exclude blazer_ser.c
|
||||
exclude blazer_ser.o
|
||||
exclude blazer_usb.c
|
||||
exclude clone-outlet.c
|
||||
exclude clone-outlet.o
|
||||
exclude clone.c
|
||||
exclude clone.o
|
||||
exclude compaq-mib.c
|
||||
exclude compaq-mib.h
|
||||
exclude cps-hid.c
|
||||
exclude cps-hid.h
|
||||
exclude dstate-hal.c
|
||||
exclude dstate-hal.h
|
||||
exclude dstate.c
|
||||
exclude dstate.h
|
||||
exclude dstate.o
|
||||
exclude dummy-ups.c
|
||||
exclude dummy-ups.h
|
||||
exclude dummy_ups-dummy-ups.o
|
||||
exclude eaton-mib.c
|
||||
exclude eaton-mib.h
|
||||
exclude etapro.c
|
||||
exclude etapro.o
|
||||
exclude everups.c
|
||||
exclude everups.o
|
||||
exclude explore-hid.c
|
||||
exclude explore-hid.h
|
||||
exclude gamatronic.c
|
||||
exclude gamatronic.h
|
||||
exclude gamatronic.o
|
||||
exclude genericups.c
|
||||
exclude genericups.h
|
||||
exclude genericups.o
|
||||
exclude hidparser.c
|
||||
exclude hidparser.h
|
||||
exclude hidparser.o
|
||||
exclude hidtypes.h
|
||||
exclude ietf-mib.c
|
||||
exclude ietf-mib.h
|
||||
exclude isbmex.c
|
||||
exclude isbmex.o
|
||||
exclude ivtscd.c
|
||||
exclude ivtscd.o
|
||||
exclude libhid.c
|
||||
exclude libhid.h
|
||||
exclude libshut.c
|
||||
exclude libshut.h
|
||||
exclude libusb.c
|
||||
exclude libusb.h
|
||||
exclude liebert-esp2.c
|
||||
exclude liebert-esp2.o
|
||||
exclude liebert-hid.c
|
||||
exclude liebert-hid.h
|
||||
exclude liebert.c
|
||||
exclude liebert.o
|
||||
exclude main-hal.c
|
||||
exclude main-hal.h
|
||||
exclude main.c
|
||||
exclude main.h
|
||||
exclude main.o
|
||||
exclude masterguard.c
|
||||
exclude masterguard.o
|
||||
exclude metasys.c
|
||||
exclude metasys.o
|
||||
exclude mge-hid.c
|
||||
exclude mge-hid.h
|
||||
exclude mge-mib.c
|
||||
exclude mge-mib.h
|
||||
exclude mge-shut.c
|
||||
exclude mge-shut.h
|
||||
exclude mge-shut.o
|
||||
exclude mge-utalk.c
|
||||
exclude mge-utalk.h
|
||||
exclude mge-utalk.o
|
||||
exclude mge-xml.c
|
||||
exclude mge-xml.h
|
||||
exclude microdowell.c
|
||||
exclude microdowell.h
|
||||
exclude microdowell.o
|
||||
exclude netvision-mib.c
|
||||
exclude netvision-mib.h
|
||||
exclude netxml-ups.c
|
||||
exclude netxml-ups.h
|
||||
exclude newmge_shut-hidparser.o
|
||||
exclude newmge_shut-libhid.o
|
||||
exclude newmge_shut-libshut.o
|
||||
exclude newmge_shut-mge-hid.o
|
||||
exclude newmge_shut-usbhid-ups.o
|
||||
exclude oneac.c
|
||||
exclude oneac.h
|
||||
exclude oneac.o
|
||||
exclude optiups
|
||||
exclude optiups.c
|
||||
exclude optiups.o
|
||||
exclude powercom-hid.c
|
||||
exclude powercom-hid.h
|
||||
exclude powercom.c
|
||||
exclude powercom.h
|
||||
exclude powercom.o
|
||||
exclude powerman-pdu.c
|
||||
exclude powerp-bin.c
|
||||
exclude powerp-bin.h
|
||||
exclude powerp-bin.o
|
||||
exclude powerp-txt.c
|
||||
exclude powerp-txt.h
|
||||
exclude powerp-txt.o
|
||||
exclude powerpanel.c
|
||||
exclude powerpanel.h
|
||||
exclude powerpanel.o
|
||||
exclude powerware-mib.c
|
||||
exclude powerware-mib.h
|
||||
exclude raritan-pdu-mib.c
|
||||
exclude raritan-pdu-mib.h
|
||||
exclude rhino.c
|
||||
exclude rhino.o
|
||||
exclude richcomm_usb.c
|
||||
exclude safenet.c
|
||||
exclude safenet.h
|
||||
exclude safenet.o
|
||||
exclude serial.c
|
||||
exclude serial.h
|
||||
exclude serial.o
|
||||
exclude skel.c
|
||||
exclude skel.o
|
||||
exclude snmp-ups.c
|
||||
exclude snmp-ups.h
|
||||
exclude solis.c
|
||||
exclude solis.h
|
||||
exclude solis.o
|
||||
exclude tripplite-hid.c
|
||||
exclude tripplite-hid.h
|
||||
exclude tripplite.c
|
||||
exclude tripplite.h
|
||||
exclude tripplite.o
|
||||
exclude tripplite_usb.c
|
||||
exclude tripplitesu.c
|
||||
exclude tripplitesu.o
|
||||
exclude upscode2.c
|
||||
exclude upscode2.o
|
||||
exclude upsdrvctl.c
|
||||
exclude upsdrvctl.o
|
||||
exclude upshandler.h
|
||||
exclude usb-common.c
|
||||
exclude usb-common.h
|
||||
exclude usbhid-ups.c
|
||||
exclude usbhid-ups.h
|
||||
exclude victronups.c
|
||||
exclude victronups.o
|
||||
|
||||
#TBD files to be added under "/usr/share/doc/nut-server/*.gz"
|
||||
#TBD files to be added under "/usr/share/man/man5/*.gz"
|
||||
#TBD files to be added under "/usr/share/man/man8/*.gz"
|
||||
|
||||
end
|
||||
# ----------------------------------------
|
||||
#Including "NUT - Client" files.
|
||||
fileset
|
||||
tag Client
|
||||
title "nut-client"
|
||||
revision @PACKAGE_VERSION@
|
||||
|
||||
file -u 755 -g bin -o bin ../../clients/upsc /usr/local/ups/bin/upsc
|
||||
file -u 755 -g bin -o bin ../../clients/upscmd /usr/local/ups/bin/upscmd
|
||||
file -u 755 -g bin -o bin ../../clients/upslog /usr/local/ups/bin/upslog
|
||||
file -u 755 -g bin -o bin ../../clients/upsrw /usr/local/ups/bin/upsrw
|
||||
file -u 755 -g bin -o bin ../../clients/upsmon /usr/local/ups/sbin/upsmon
|
||||
file -u 755 -g bin -o bin ../../clients/upssched /usr/local/ups/sbin/upssched
|
||||
|
||||
#Including "conf" files under "/usr/local/ups/etc".
|
||||
file -u 644 -g bin -o bin ../../conf/nut.conf.sample /usr/local/ups/etc/nut.conf
|
||||
file -u 644 -g bin -o bin ../../conf/upsmon.conf.sample /usr/local/ups/etc/upsmon.conf
|
||||
file -u 644 -g bin -o bin ../../conf/upssched.conf.sample /usr/local/ups/etc/upssched.conf
|
||||
|
||||
#Need to check if "libupsclient1" required for Client again.
|
||||
#file -u 755 -g bin -o bin ../../clients/.libs/libupsclient.so.1 /usr/local/ups/lib/libupsclient.so.1
|
||||
#file -u 555 -g bin -o bin ../../clients/.libs/libupsclient.so.1.0 /usr/local/ups/lib/libupsclient.so.1.0
|
||||
end
|
||||
# ----------------------------------------
|
||||
#Including "libupsclient1-dev" files.
|
||||
fileset
|
||||
tag Development
|
||||
title "libupsclient1-dev"
|
||||
revision @PACKAGE_VERSION@
|
||||
|
||||
file -u 755 -g bin -o bin ../../clients/.libs/libupsclient.a /usr/local/ups/lib/libupsclient.a
|
||||
file -u 755 -g bin -o bin ../../clients/.libs/libupsclient.la /usr/local/ups/lib/libupsclient.la
|
||||
file -u 755 -g bin -o bin ../../clients/.libs/libupsclient.so /usr/local/ups/lib/libupsclient.so
|
||||
file -u 644 -g bin -o bin ../../include/parseconf.h /usr/include/parseconf.h
|
||||
file -u 644 -g bin -o bin ../../clients/upsclient.h /usr/include/upsclient.h
|
||||
#file -u 755 -g bin -o bin ../../clients/.libs/libupsclient.so /usr/lib/libupsclient.so
|
||||
file -u 755 -g bin -o bin ../../lib/libupsclient.pc /usr/lib/pkgconfig/libupsclient.pc
|
||||
end
|
||||
# ----------------------------------------
|
||||
|
||||
#Including "nut-cgi " files.
|
||||
fileset
|
||||
tag cgi
|
||||
title "nut-cgi"
|
||||
revision @PACKAGE_VERSION@
|
||||
|
||||
file -u 644 -g bin -o bin ../../conf/hosts.conf.sample /etc/nut/hosts.conf
|
||||
file -u 644 -g bin -o bin ../../conf/upsset.conf.sample /etc/nut/upsset.conf
|
||||
#file -u 644 -g bin -o bin ../../conf/upsstats-single.html.sample /etc/nut/upsstats-single.html
|
||||
#file -u 644 -g bin -o bin ../../conf/upsstats.html.sample /etc/nut/upsstats.html
|
||||
|
||||
#file -u 644 -g bin -o bin ../../data/html/bottom.html /usr/share/nut/www/bottom.html
|
||||
#file -u 644 -g bin -o bin ../../data/html/header.html /usr/share/nut/www/header.html
|
||||
#file -u 644 -g bin -o bin ../../data/html/index.html /usr/share/nut/www/index.html
|
||||
#file -u 644 -g bin -o bin ../../data/html/nut-banner.png /usr/share/nut/www/nut-banner.png
|
||||
end
|
||||
# ----------------------------------------
|
||||
|
||||
#Including "nut-doc" files.
|
||||
#TBD
|
||||
#fileset
|
||||
# tag doc
|
||||
# title "nut-doc"
|
||||
# revision @PACKAGE_VERSION@
|
||||
|
||||
#Need to check from the following location for the required files
|
||||
# /usr/local/share/doc/libxml2-2.7.7/html/tutorial/
|
||||
#end
|
||||
# ----------------------------------------
|
||||
|
||||
#Including "libups-nut-perl" files.
|
||||
fileset
|
||||
tag libups-nut-perl
|
||||
title "libups-nut-perl"
|
||||
revision @PACKAGE_VERSION@
|
||||
|
||||
file -u 644 -g bin -o bin ../../scripts/perl/Nut.pm /usr/share/perl5/UPS/Nut.pm
|
||||
end
|
||||
# ----------------------------------------
|
||||
|
||||
#Including "nut-monitor" files
|
||||
fileset
|
||||
tag nut-monitor
|
||||
title "nut-monitor"
|
||||
revision @PACKAGE_VERSION@
|
||||
|
||||
file -u 644 -g bin -o bin ../../scripts/python/app/NUT-Monitor /usr/bin/NUT-Monitor
|
||||
file -u 644 -g bin -o bin ../../scripts/python/app/nut-monitor.desktop /usr/share/applications/nut-monitor.desktop
|
||||
file -u 644 -g bin -o bin ../../scripts/python/app/locale/fr/LC_MESSAGES/NUT-Monitor.mo /usr/share/locale/fr/LC_MESSAGES/NUT-Monitor.mo
|
||||
file -u 644 -g bin -o bin ../../scripts/python/app/gui-1.3.glade /usr/share/nut-monitor/gui-1.3.glade
|
||||
file -u 644 -g bin -o bin ../../scripts/python/app/pixmaps/on_battery.png /usr/share/nut-monitor/pixmaps/on_battery.png
|
||||
file -u 644 -g bin -o bin ../../scripts/python/app/pixmaps/on_line.png /usr/share/nut-monitor/pixmaps/on_line.png
|
||||
file -u 644 -g bin -o bin ../../scripts/python/app/pixmaps/var-ro.png /usr/share/nut-monitor/pixmaps/var-ro.png
|
||||
file -u 644 -g bin -o bin ../../scripts/python/app/pixmaps/var-rw.png /usr/share/nut-monitor/pixmaps/var-rw.png
|
||||
file -u 644 -g bin -o bin ../../scripts/python/app/pixmaps/warning.png /usr/share/nut-monitor/pixmaps/warning.png
|
||||
file -u 644 -g bin -o bin ../../scripts/python/app/nut-monitor.png /usr/share/pixmaps/nut-monitor.png
|
||||
end
|
||||
|
||||
# ----------------------------------------
|
||||
end #End product
|
||||
|
|
@ -47,6 +47,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_compare_version.m4 \
|
|||
$(top_srcdir)/m4/nut_check_libfreeipmi.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libgd.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libhal.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libltdl.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libneon.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libnetsnmp.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libpowerman.m4 \
|
||||
|
@ -127,6 +128,7 @@ CYGPATH_W = @CYGPATH_W@
|
|||
DBLATEX = @DBLATEX@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
DOC_BUILD_LIST = @DOC_BUILD_LIST@
|
||||
DRIVER_BUILD_LIST = @DRIVER_BUILD_LIST@
|
||||
DRIVER_INSTALL_TARGET = @DRIVER_INSTALL_TARGET@
|
||||
|
@ -159,6 +161,8 @@ LIBHAL_CFLAGS = @LIBHAL_CFLAGS@
|
|||
LIBHAL_LIBS = @LIBHAL_LIBS@
|
||||
LIBIPMI_CFLAGS = @LIBIPMI_CFLAGS@
|
||||
LIBIPMI_LIBS = @LIBIPMI_LIBS@
|
||||
LIBLTDL_CFLAGS = @LIBLTDL_CFLAGS@
|
||||
LIBLTDL_LIBS = @LIBLTDL_LIBS@
|
||||
LIBNEON_CFLAGS = @LIBNEON_CFLAGS@
|
||||
LIBNEON_LIBS = @LIBNEON_LIBS@
|
||||
LIBNETSNMP_CFLAGS = @LIBNETSNMP_CFLAGS@
|
||||
|
@ -179,6 +183,7 @@ LN_S = @LN_S@
|
|||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAINT = @MAINT@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
NETLIBS = @NETLIBS@
|
||||
NM = @NM@
|
||||
|
@ -210,12 +215,14 @@ SHELL = @SHELL@
|
|||
STATEPATH = @STATEPATH@
|
||||
STRIP = @STRIP@
|
||||
SUN_LIBUSB = @SUN_LIBUSB@
|
||||
TREE_VERSION = @TREE_VERSION@
|
||||
VERSION = @VERSION@
|
||||
WORDS_BIGENDIAN = @WORDS_BIGENDIAN@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_AR = @ac_ct_AR@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||
am__include = @am__include@
|
||||
|
@ -251,7 +258,6 @@ libdir = @libdir@
|
|||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
lt_ECHO = @lt_ECHO@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
|
|
|
@ -52,6 +52,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_compare_version.m4 \
|
|||
$(top_srcdir)/m4/nut_check_libfreeipmi.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libgd.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libhal.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libltdl.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libneon.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libnetsnmp.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libpowerman.m4 \
|
||||
|
@ -94,6 +95,7 @@ CYGPATH_W = @CYGPATH_W@
|
|||
DBLATEX = @DBLATEX@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
DOC_BUILD_LIST = @DOC_BUILD_LIST@
|
||||
DRIVER_BUILD_LIST = @DRIVER_BUILD_LIST@
|
||||
DRIVER_INSTALL_TARGET = @DRIVER_INSTALL_TARGET@
|
||||
|
@ -126,6 +128,8 @@ LIBHAL_CFLAGS = @LIBHAL_CFLAGS@
|
|||
LIBHAL_LIBS = @LIBHAL_LIBS@
|
||||
LIBIPMI_CFLAGS = @LIBIPMI_CFLAGS@
|
||||
LIBIPMI_LIBS = @LIBIPMI_LIBS@
|
||||
LIBLTDL_CFLAGS = @LIBLTDL_CFLAGS@
|
||||
LIBLTDL_LIBS = @LIBLTDL_LIBS@
|
||||
LIBNEON_CFLAGS = @LIBNEON_CFLAGS@
|
||||
LIBNEON_LIBS = @LIBNEON_LIBS@
|
||||
LIBNETSNMP_CFLAGS = @LIBNETSNMP_CFLAGS@
|
||||
|
@ -146,6 +150,7 @@ LN_S = @LN_S@
|
|||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAINT = @MAINT@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
NETLIBS = @NETLIBS@
|
||||
NM = @NM@
|
||||
|
@ -177,12 +182,14 @@ SHELL = @SHELL@
|
|||
STATEPATH = @STATEPATH@
|
||||
STRIP = @STRIP@
|
||||
SUN_LIBUSB = @SUN_LIBUSB@
|
||||
TREE_VERSION = @TREE_VERSION@
|
||||
VERSION = @VERSION@
|
||||
WORDS_BIGENDIAN = @WORDS_BIGENDIAN@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_AR = @ac_ct_AR@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||
am__include = @am__include@
|
||||
|
@ -218,7 +225,6 @@ libdir = @libdir@
|
|||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
lt_ECHO = @lt_ECHO@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
|
|
|
@ -78,6 +78,7 @@ let ups_fields = "driver"
|
|||
| "houron"
|
||||
| "idleload"
|
||||
| "input_timeout"
|
||||
| "langid_fix"
|
||||
| "linevoltage"
|
||||
| "load.off"
|
||||
| "load.on"
|
||||
|
|
|
@ -49,6 +49,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_compare_version.m4 \
|
|||
$(top_srcdir)/m4/nut_check_libfreeipmi.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libgd.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libhal.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libltdl.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libneon.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libnetsnmp.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libpowerman.m4 \
|
||||
|
@ -112,6 +113,7 @@ CYGPATH_W = @CYGPATH_W@
|
|||
DBLATEX = @DBLATEX@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
DOC_BUILD_LIST = @DOC_BUILD_LIST@
|
||||
DRIVER_BUILD_LIST = @DRIVER_BUILD_LIST@
|
||||
DRIVER_INSTALL_TARGET = @DRIVER_INSTALL_TARGET@
|
||||
|
@ -144,6 +146,8 @@ LIBHAL_CFLAGS = @LIBHAL_CFLAGS@
|
|||
LIBHAL_LIBS = @LIBHAL_LIBS@
|
||||
LIBIPMI_CFLAGS = @LIBIPMI_CFLAGS@
|
||||
LIBIPMI_LIBS = @LIBIPMI_LIBS@
|
||||
LIBLTDL_CFLAGS = @LIBLTDL_CFLAGS@
|
||||
LIBLTDL_LIBS = @LIBLTDL_LIBS@
|
||||
LIBNEON_CFLAGS = @LIBNEON_CFLAGS@
|
||||
LIBNEON_LIBS = @LIBNEON_LIBS@
|
||||
LIBNETSNMP_CFLAGS = @LIBNETSNMP_CFLAGS@
|
||||
|
@ -164,6 +168,7 @@ LN_S = @LN_S@
|
|||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAINT = @MAINT@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
NETLIBS = @NETLIBS@
|
||||
NM = @NM@
|
||||
|
@ -195,12 +200,14 @@ SHELL = @SHELL@
|
|||
STATEPATH = @STATEPATH@
|
||||
STRIP = @STRIP@
|
||||
SUN_LIBUSB = @SUN_LIBUSB@
|
||||
TREE_VERSION = @TREE_VERSION@
|
||||
VERSION = @VERSION@
|
||||
WORDS_BIGENDIAN = @WORDS_BIGENDIAN@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_AR = @ac_ct_AR@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||
am__include = @am__include@
|
||||
|
@ -236,7 +243,6 @@ libdir = @libdir@
|
|||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
lt_ECHO = @lt_ECHO@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
|
|
|
@ -2,6 +2,15 @@
|
|||
<deviceinfo version="0.2">
|
||||
<device>
|
||||
<match key="@HAL_DEVICE_MATCH_KEY@" string="usb_device">
|
||||
<match key="usb_device.vendor_id" int="0x0001">
|
||||
<!-- Krauler UP-M500VA -->
|
||||
<match key="usb_device.product_id" int="0x0000">
|
||||
<append key="info.category" type="string">battery</append>
|
||||
<merge key="info.capabilities" type="strlist">battery</merge>
|
||||
<merge key="info.addons" type="strlist">hald-addon-blazer_usb</merge>
|
||||
<merge key="battery.type" type="string">ups</merge>
|
||||
</match>
|
||||
</match>
|
||||
|
||||
<!-- Hewlett Packard -->
|
||||
<match key="usb_device.vendor_id" int="0x03f0">
|
||||
|
@ -506,6 +515,13 @@
|
|||
|
||||
<!-- PowerCOM -->
|
||||
<match key="usb_device.vendor_id" int="0x0d9f">
|
||||
<!-- PowerCOM BNT-xxxAP -->
|
||||
<match key="usb_device.product_id" int="0x0004">
|
||||
<append key="info.category" type="string">battery</append>
|
||||
<merge key="info.capabilities" type="strlist">battery</merge>
|
||||
<merge key="info.addons" type="strlist">hald-addon-usbhid-ups</merge>
|
||||
<merge key="battery.type" type="string">ups</merge>
|
||||
</match>
|
||||
<!-- PowerCOM IMP - IMPERIAL Series -->
|
||||
<match key="usb_device.product_id" int="0x00a2">
|
||||
<append key="info.category" type="string">battery</append>
|
||||
|
@ -571,6 +587,15 @@
|
|||
<merge key="battery.type" type="string">ups</merge>
|
||||
</match>
|
||||
</match>
|
||||
<match key="usb_device.vendor_id" int="0xffff">
|
||||
<!-- Ablerex 625L USB -->
|
||||
<match key="usb_device.product_id" int="0x0000">
|
||||
<append key="info.category" type="string">battery</append>
|
||||
<merge key="info.capabilities" type="strlist">battery</merge>
|
||||
<merge key="info.addons" type="strlist">hald-addon-blazer_usb</merge>
|
||||
<merge key="battery.type" type="string">ups</merge>
|
||||
</match>
|
||||
</match>
|
||||
</match>
|
||||
</device>
|
||||
</deviceinfo>
|
||||
|
|
|
@ -51,6 +51,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_compare_version.m4 \
|
|||
$(top_srcdir)/m4/nut_check_libfreeipmi.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libgd.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libhal.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libltdl.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libneon.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libnetsnmp.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libpowerman.m4 \
|
||||
|
@ -117,6 +118,7 @@ CYGPATH_W = @CYGPATH_W@
|
|||
DBLATEX = @DBLATEX@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
DOC_BUILD_LIST = @DOC_BUILD_LIST@
|
||||
DRIVER_BUILD_LIST = @DRIVER_BUILD_LIST@
|
||||
DRIVER_INSTALL_TARGET = @DRIVER_INSTALL_TARGET@
|
||||
|
@ -149,6 +151,8 @@ LIBHAL_CFLAGS = @LIBHAL_CFLAGS@
|
|||
LIBHAL_LIBS = @LIBHAL_LIBS@
|
||||
LIBIPMI_CFLAGS = @LIBIPMI_CFLAGS@
|
||||
LIBIPMI_LIBS = @LIBIPMI_LIBS@
|
||||
LIBLTDL_CFLAGS = @LIBLTDL_CFLAGS@
|
||||
LIBLTDL_LIBS = @LIBLTDL_LIBS@
|
||||
LIBNEON_CFLAGS = @LIBNEON_CFLAGS@
|
||||
LIBNEON_LIBS = @LIBNEON_LIBS@
|
||||
LIBNETSNMP_CFLAGS = @LIBNETSNMP_CFLAGS@
|
||||
|
@ -169,6 +173,7 @@ LN_S = @LN_S@
|
|||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAINT = @MAINT@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
NETLIBS = @NETLIBS@
|
||||
NM = @NM@
|
||||
|
@ -200,12 +205,14 @@ SHELL = @SHELL@
|
|||
STATEPATH = @STATEPATH@
|
||||
STRIP = @STRIP@
|
||||
SUN_LIBUSB = @SUN_LIBUSB@
|
||||
TREE_VERSION = @TREE_VERSION@
|
||||
VERSION = @VERSION@
|
||||
WORDS_BIGENDIAN = @WORDS_BIGENDIAN@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_AR = @ac_ct_AR@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||
am__include = @am__include@
|
||||
|
@ -241,7 +248,6 @@ libdir = @libdir@
|
|||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
lt_ECHO = @lt_ECHO@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
# libhidups 0x0003 0xVVVV 0xPPPP 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
|
||||
#
|
||||
# usb module match_flags idVendor idProduct bcdDevice_lo bcdDevice_hi bDeviceClass bDeviceSubClass bDeviceProtocol bInterfaceClass bInterfaceSubClass bInterfaceProtocol driver_info
|
||||
# Krauler UP-M500VA
|
||||
libhidups 0x0003 0x0001 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
|
||||
|
||||
# Hewlett Packard
|
||||
# T500
|
||||
|
@ -156,6 +158,8 @@ libhidups 0x0003 0x09ae 0x4007 0x0000 0x0000 0x00
|
|||
libhidups 0x0003 0x09ae 0x4008 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
|
||||
|
||||
# PowerCOM
|
||||
# PowerCOM BNT-xxxAP
|
||||
libhidups 0x0003 0x0d9f 0x0004 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
|
||||
# PowerCOM IMP - IMPERIAL Series
|
||||
libhidups 0x0003 0x0d9f 0x00a2 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
|
||||
# PowerCOM SKP - Smart KING Pro (all Smart series)
|
||||
|
@ -174,3 +178,5 @@ libhidups 0x0003 0x0f03 0x0001 0x0000 0x0000 0x00
|
|||
libhidups 0x0003 0x10af 0x0001 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
|
||||
# GE EP series
|
||||
libhidups 0x0003 0x14f0 0x00c9 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
|
||||
# Ablerex 625L USB
|
||||
libhidups 0x0003 0xffff 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
|
||||
|
|
|
@ -49,6 +49,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_compare_version.m4 \
|
|||
$(top_srcdir)/m4/nut_check_libfreeipmi.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libgd.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libhal.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libltdl.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libneon.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libnetsnmp.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libpowerman.m4 \
|
||||
|
@ -89,6 +90,7 @@ CYGPATH_W = @CYGPATH_W@
|
|||
DBLATEX = @DBLATEX@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
DOC_BUILD_LIST = @DOC_BUILD_LIST@
|
||||
DRIVER_BUILD_LIST = @DRIVER_BUILD_LIST@
|
||||
DRIVER_INSTALL_TARGET = @DRIVER_INSTALL_TARGET@
|
||||
|
@ -121,6 +123,8 @@ LIBHAL_CFLAGS = @LIBHAL_CFLAGS@
|
|||
LIBHAL_LIBS = @LIBHAL_LIBS@
|
||||
LIBIPMI_CFLAGS = @LIBIPMI_CFLAGS@
|
||||
LIBIPMI_LIBS = @LIBIPMI_LIBS@
|
||||
LIBLTDL_CFLAGS = @LIBLTDL_CFLAGS@
|
||||
LIBLTDL_LIBS = @LIBLTDL_LIBS@
|
||||
LIBNEON_CFLAGS = @LIBNEON_CFLAGS@
|
||||
LIBNEON_LIBS = @LIBNEON_LIBS@
|
||||
LIBNETSNMP_CFLAGS = @LIBNETSNMP_CFLAGS@
|
||||
|
@ -141,6 +145,7 @@ LN_S = @LN_S@
|
|||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAINT = @MAINT@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
NETLIBS = @NETLIBS@
|
||||
NM = @NM@
|
||||
|
@ -172,12 +177,14 @@ SHELL = @SHELL@
|
|||
STATEPATH = @STATEPATH@
|
||||
STRIP = @STRIP@
|
||||
SUN_LIBUSB = @SUN_LIBUSB@
|
||||
TREE_VERSION = @TREE_VERSION@
|
||||
VERSION = @VERSION@
|
||||
WORDS_BIGENDIAN = @WORDS_BIGENDIAN@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_AR = @ac_ct_AR@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||
am__include = @am__include@
|
||||
|
@ -213,7 +220,6 @@ libdir = @libdir@
|
|||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
lt_ECHO = @lt_ECHO@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
|
|
|
@ -12,3 +12,8 @@ way, without having to know the NUT protocol.
|
|||
* "jNutList": this directory contains maven project and source files for
|
||||
jNutList, a simple Java example program using jNut which connect to an UPSD,
|
||||
lists its ups and their variables and commands.
|
||||
|
||||
* "jNutWebAPI": this directory contains maven project and source files for
|
||||
jNutWebAPI, a simple Java web archive to access nut informations via REST
|
||||
web services.
|
||||
|
||||
|
|
|
@ -69,3 +69,9 @@ ping-pong mecanism itself.
|
|||
|
||||
At present time, jNut do not support SSL connection. It is planned for near
|
||||
future.
|
||||
|
||||
Changelog
|
||||
^^^^^^^^^
|
||||
* "0.2": Add nut-scanner.
|
||||
* "0.1": Initial version with basic dialog with UPSD.
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
<groupId>org.networkupstools</groupId>
|
||||
<artifactId>jNut</artifactId>
|
||||
<version>0.1-SNAPSHOT</version>
|
||||
<version>0.2-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>jNut</name>
|
||||
|
|
|
@ -1,3 +1,21 @@
|
|||
/* ClientTest.java
|
||||
|
||||
Copyright (C) 2011 Eaton
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
package org.networkupstools.jnut;
|
||||
|
||||
import junit.framework.Test;
|
||||
|
|
|
@ -49,6 +49,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_compare_version.m4 \
|
|||
$(top_srcdir)/m4/nut_check_libfreeipmi.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libgd.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libhal.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libltdl.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libneon.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libnetsnmp.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libpowerman.m4 \
|
||||
|
@ -89,6 +90,7 @@ CYGPATH_W = @CYGPATH_W@
|
|||
DBLATEX = @DBLATEX@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
DOC_BUILD_LIST = @DOC_BUILD_LIST@
|
||||
DRIVER_BUILD_LIST = @DRIVER_BUILD_LIST@
|
||||
DRIVER_INSTALL_TARGET = @DRIVER_INSTALL_TARGET@
|
||||
|
@ -121,6 +123,8 @@ LIBHAL_CFLAGS = @LIBHAL_CFLAGS@
|
|||
LIBHAL_LIBS = @LIBHAL_LIBS@
|
||||
LIBIPMI_CFLAGS = @LIBIPMI_CFLAGS@
|
||||
LIBIPMI_LIBS = @LIBIPMI_LIBS@
|
||||
LIBLTDL_CFLAGS = @LIBLTDL_CFLAGS@
|
||||
LIBLTDL_LIBS = @LIBLTDL_LIBS@
|
||||
LIBNEON_CFLAGS = @LIBNEON_CFLAGS@
|
||||
LIBNEON_LIBS = @LIBNEON_LIBS@
|
||||
LIBNETSNMP_CFLAGS = @LIBNETSNMP_CFLAGS@
|
||||
|
@ -141,6 +145,7 @@ LN_S = @LN_S@
|
|||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAINT = @MAINT@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
NETLIBS = @NETLIBS@
|
||||
NM = @NM@
|
||||
|
@ -172,12 +177,14 @@ SHELL = @SHELL@
|
|||
STATEPATH = @STATEPATH@
|
||||
STRIP = @STRIP@
|
||||
SUN_LIBUSB = @SUN_LIBUSB@
|
||||
TREE_VERSION = @TREE_VERSION@
|
||||
VERSION = @VERSION@
|
||||
WORDS_BIGENDIAN = @WORDS_BIGENDIAN@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_AR = @ac_ct_AR@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||
am__include = @am__include@
|
||||
|
@ -213,7 +220,6 @@ libdir = @libdir@
|
|||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
lt_ECHO = @lt_ECHO@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
|
|
|
@ -52,6 +52,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_compare_version.m4 \
|
|||
$(top_srcdir)/m4/nut_check_libfreeipmi.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libgd.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libhal.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libltdl.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libneon.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libnetsnmp.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libpowerman.m4 \
|
||||
|
@ -117,6 +118,7 @@ CYGPATH_W = @CYGPATH_W@
|
|||
DBLATEX = @DBLATEX@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
DOC_BUILD_LIST = @DOC_BUILD_LIST@
|
||||
DRIVER_BUILD_LIST = @DRIVER_BUILD_LIST@
|
||||
DRIVER_INSTALL_TARGET = @DRIVER_INSTALL_TARGET@
|
||||
|
@ -149,6 +151,8 @@ LIBHAL_CFLAGS = @LIBHAL_CFLAGS@
|
|||
LIBHAL_LIBS = @LIBHAL_LIBS@
|
||||
LIBIPMI_CFLAGS = @LIBIPMI_CFLAGS@
|
||||
LIBIPMI_LIBS = @LIBIPMI_LIBS@
|
||||
LIBLTDL_CFLAGS = @LIBLTDL_CFLAGS@
|
||||
LIBLTDL_LIBS = @LIBLTDL_LIBS@
|
||||
LIBNEON_CFLAGS = @LIBNEON_CFLAGS@
|
||||
LIBNEON_LIBS = @LIBNEON_LIBS@
|
||||
LIBNETSNMP_CFLAGS = @LIBNETSNMP_CFLAGS@
|
||||
|
@ -169,6 +173,7 @@ LN_S = @LN_S@
|
|||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAINT = @MAINT@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
NETLIBS = @NETLIBS@
|
||||
NM = @NM@
|
||||
|
@ -200,12 +205,14 @@ SHELL = @SHELL@
|
|||
STATEPATH = @STATEPATH@
|
||||
STRIP = @STRIP@
|
||||
SUN_LIBUSB = @SUN_LIBUSB@
|
||||
TREE_VERSION = @TREE_VERSION@
|
||||
VERSION = @VERSION@
|
||||
WORDS_BIGENDIAN = @WORDS_BIGENDIAN@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_AR = @ac_ct_AR@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||
am__include = @am__include@
|
||||
|
@ -241,7 +248,6 @@ libdir = @libdir@
|
|||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
lt_ECHO = @lt_ECHO@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
|
|
|
@ -51,6 +51,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_compare_version.m4 \
|
|||
$(top_srcdir)/m4/nut_check_libfreeipmi.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libgd.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libhal.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libltdl.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libneon.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libnetsnmp.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libpowerman.m4 \
|
||||
|
@ -114,6 +115,7 @@ CYGPATH_W = @CYGPATH_W@
|
|||
DBLATEX = @DBLATEX@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
DOC_BUILD_LIST = @DOC_BUILD_LIST@
|
||||
DRIVER_BUILD_LIST = @DRIVER_BUILD_LIST@
|
||||
DRIVER_INSTALL_TARGET = @DRIVER_INSTALL_TARGET@
|
||||
|
@ -146,6 +148,8 @@ LIBHAL_CFLAGS = @LIBHAL_CFLAGS@
|
|||
LIBHAL_LIBS = @LIBHAL_LIBS@
|
||||
LIBIPMI_CFLAGS = @LIBIPMI_CFLAGS@
|
||||
LIBIPMI_LIBS = @LIBIPMI_LIBS@
|
||||
LIBLTDL_CFLAGS = @LIBLTDL_CFLAGS@
|
||||
LIBLTDL_LIBS = @LIBLTDL_LIBS@
|
||||
LIBNEON_CFLAGS = @LIBNEON_CFLAGS@
|
||||
LIBNEON_LIBS = @LIBNEON_LIBS@
|
||||
LIBNETSNMP_CFLAGS = @LIBNETSNMP_CFLAGS@
|
||||
|
@ -166,6 +170,7 @@ LN_S = @LN_S@
|
|||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAINT = @MAINT@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
NETLIBS = @NETLIBS@
|
||||
NM = @NM@
|
||||
|
@ -197,12 +202,14 @@ SHELL = @SHELL@
|
|||
STATEPATH = @STATEPATH@
|
||||
STRIP = @STRIP@
|
||||
SUN_LIBUSB = @SUN_LIBUSB@
|
||||
TREE_VERSION = @TREE_VERSION@
|
||||
VERSION = @VERSION@
|
||||
WORDS_BIGENDIAN = @WORDS_BIGENDIAN@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_AR = @ac_ct_AR@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||
am__include = @am__include@
|
||||
|
@ -238,7 +245,6 @@ libdir = @libdir@
|
|||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
lt_ECHO = @lt_ECHO@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
|
|
|
@ -6,6 +6,8 @@ SUBSYSTEM=="usb", GOTO="nut-usbups_rules_real"
|
|||
SUBSYSTEM!="usb", GOTO="nut-usbups_rules_end"
|
||||
|
||||
LABEL="nut-usbups_rules_real"
|
||||
# Krauler UP-M500VA - blazer_usb
|
||||
ATTR{idVendor}=="0001", ATTR{idProduct}=="0000", MODE="664", GROUP="@RUN_AS_GROUP@"
|
||||
|
||||
# Hewlett Packard
|
||||
# T500 - bcmxcp_usb
|
||||
|
@ -158,6 +160,8 @@ ATTR{idVendor}=="09ae", ATTR{idProduct}=="4007", MODE="664", GROUP="@RUN_AS_GROU
|
|||
ATTR{idVendor}=="09ae", ATTR{idProduct}=="4008", MODE="664", GROUP="@RUN_AS_GROUP@"
|
||||
|
||||
# PowerCOM
|
||||
# PowerCOM BNT-xxxAP - usbhid-ups
|
||||
ATTR{idVendor}=="0d9f", ATTR{idProduct}=="0004", MODE="664", GROUP="@RUN_AS_GROUP@"
|
||||
# PowerCOM IMP - IMPERIAL Series - usbhid-ups
|
||||
ATTR{idVendor}=="0d9f", ATTR{idProduct}=="00a2", MODE="664", GROUP="@RUN_AS_GROUP@"
|
||||
# PowerCOM SKP - Smart KING Pro (all Smart series) - usbhid-ups
|
||||
|
@ -176,5 +180,7 @@ ATTR{idVendor}=="0f03", ATTR{idProduct}=="0001", MODE="664", GROUP="@RUN_AS_GROU
|
|||
ATTR{idVendor}=="10af", ATTR{idProduct}=="0001", MODE="664", GROUP="@RUN_AS_GROUP@"
|
||||
# GE EP series - blazer_usb
|
||||
ATTR{idVendor}=="14f0", ATTR{idProduct}=="00c9", MODE="664", GROUP="@RUN_AS_GROUP@"
|
||||
# Ablerex 625L USB - blazer_usb
|
||||
ATTR{idVendor}=="ffff", ATTR{idProduct}=="0000", MODE="664", GROUP="@RUN_AS_GROUP@"
|
||||
|
||||
LABEL="nut-usbups_rules_end"
|
||||
|
|
|
@ -102,6 +102,7 @@ ATTRS{idVendor}=="09ae", ATTRS{idProduct}=="4007", ENV{UPOWER_BATTERY_TYPE}="ups
|
|||
ATTRS{idVendor}=="09ae", ATTRS{idProduct}=="4008", ENV{UPOWER_BATTERY_TYPE}="ups"
|
||||
|
||||
# PowerCOM
|
||||
ATTRS{idVendor}=="0d9f", ATTRS{idProduct}=="0004", ENV{UPOWER_BATTERY_TYPE}="ups"
|
||||
ATTRS{idVendor}=="0d9f", ATTRS{idProduct}=="00a2", ENV{UPOWER_BATTERY_TYPE}="ups"
|
||||
ATTRS{idVendor}=="0d9f", ATTRS{idProduct}=="00a3", ENV{UPOWER_BATTERY_TYPE}="ups"
|
||||
ATTRS{idVendor}=="0d9f", ATTRS{idProduct}=="00a4", ENV{UPOWER_BATTERY_TYPE}="ups"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue