Imported Upstream version 2.4.3
This commit is contained in:
commit
26fb71b504
446 changed files with 148951 additions and 0 deletions
16
scripts/hal/Makefile.am
Normal file
16
scripts/hal/Makefile.am
Normal file
|
@ -0,0 +1,16 @@
|
|||
|
||||
if WITH_HAL
|
||||
halfdidir = $(HAL_FDI_PATH)
|
||||
halfdi_DATA = 20-ups-nut-device.fdi
|
||||
endif
|
||||
|
||||
# FIXME: should be able to use $< here.
|
||||
20-ups-nut-device.fdi: ups-nut-device.fdi
|
||||
cp ups-nut-device.fdi $@
|
||||
|
||||
EXTRA_DIST = ups-nut-device.fdi.in
|
||||
|
||||
DISTCLEANFILES = ups-nut-device.fdi
|
||||
# we should never remove this one, apart from a distclean-check
|
||||
#MAINTAINERCLEANFILES = ups-nut-device.fdi.in
|
||||
CLEANFILES = 20-ups-nut-device.fdi
|
473
scripts/hal/Makefile.in
Normal file
473
scripts/hal/Makefile.in
Normal file
|
@ -0,0 +1,473 @@
|
|||
# Makefile.in generated by automake 1.11 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
||||
# Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
VPATH = @srcdir@
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
target_triplet = @target@
|
||||
subdir = scripts/hal
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
|
||||
$(srcdir)/ups-nut-device.fdi.in
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_create_stdint_h.m4 \
|
||||
$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
|
||||
$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
|
||||
$(top_srcdir)/m4/lt~obsolete.m4 \
|
||||
$(top_srcdir)/m4/nut_arg_with.m4 \
|
||||
$(top_srcdir)/m4/nut_check_ipv6.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libgd.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libhal.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libneon.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libnetsnmp.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libpowerman.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libssl.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libusb.m4 \
|
||||
$(top_srcdir)/m4/nut_check_libwrap.m4 \
|
||||
$(top_srcdir)/m4/nut_check_os.m4 \
|
||||
$(top_srcdir)/m4/nut_report_feature.m4 \
|
||||
$(top_srcdir)/m4/nut_type_socklen_t.m4 \
|
||||
$(top_srcdir)/configure.in
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = $(top_builddir)/include/config.h
|
||||
CONFIG_CLEAN_FILES = ups-nut-device.fdi
|
||||
CONFIG_CLEAN_VPATH_FILES =
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
||||
am__vpath_adj = case $$p in \
|
||||
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
*) f=$$p;; \
|
||||
esac;
|
||||
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
|
||||
am__install_max = 40
|
||||
am__nobase_strip_setup = \
|
||||
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
|
||||
am__nobase_strip = \
|
||||
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
|
||||
am__nobase_list = $(am__nobase_strip_setup); \
|
||||
for p in $$list; do echo "$$p $$p"; done | \
|
||||
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
|
||||
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
|
||||
if (++n[$$2] == $(am__install_max)) \
|
||||
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
|
||||
END { for (dir in files) print dir, files[dir] }'
|
||||
am__base_list = \
|
||||
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
|
||||
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
||||
am__installdirs = "$(DESTDIR)$(halfdidir)"
|
||||
DATA = $(halfdi_DATA)
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AMTAR = @AMTAR@
|
||||
AR = @AR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
BINDIR = @BINDIR@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CONFPATH = @CONFPATH@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DRIVER_BUILD_LIST = @DRIVER_BUILD_LIST@
|
||||
DRIVER_INSTALL_TARGET = @DRIVER_INSTALL_TARGET@
|
||||
DRIVER_MAN_LIST = @DRIVER_MAN_LIST@
|
||||
DSYMUTIL = @DSYMUTIL@
|
||||
DUMPBIN = @DUMPBIN@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
FGREP = @FGREP@
|
||||
GREP = @GREP@
|
||||
HAL_CALLOUTS_PATH = @HAL_CALLOUTS_PATH@
|
||||
HAL_DEVICE_MATCH_KEY = @HAL_DEVICE_MATCH_KEY@
|
||||
HAL_FDI_PATH = @HAL_FDI_PATH@
|
||||
HAL_USER = @HAL_USER@
|
||||
HAVE_GLIB_2_14 = @HAVE_GLIB_2_14@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LD = @LD@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBGD_CFLAGS = @LIBGD_CFLAGS@
|
||||
LIBGD_LDFLAGS = @LIBGD_LDFLAGS@
|
||||
LIBHAL_CFLAGS = @LIBHAL_CFLAGS@
|
||||
LIBHAL_LDFLAGS = @LIBHAL_LDFLAGS@
|
||||
LIBNEON_CFLAGS = @LIBNEON_CFLAGS@
|
||||
LIBNEON_LDFLAGS = @LIBNEON_LDFLAGS@
|
||||
LIBNETSNMP_CFLAGS = @LIBNETSNMP_CFLAGS@
|
||||
LIBNETSNMP_LDFLAGS = @LIBNETSNMP_LDFLAGS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBPOWERMAN_CFLAGS = @LIBPOWERMAN_CFLAGS@
|
||||
LIBPOWERMAN_LDFLAGS = @LIBPOWERMAN_LDFLAGS@
|
||||
LIBS = @LIBS@
|
||||
LIBSSL_CFLAGS = @LIBSSL_CFLAGS@
|
||||
LIBSSL_LDFLAGS = @LIBSSL_LDFLAGS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIBUSB_CFLAGS = @LIBUSB_CFLAGS@
|
||||
LIBUSB_LDFLAGS = @LIBUSB_LDFLAGS@
|
||||
LIBWRAP_CFLAGS = @LIBWRAP_CFLAGS@
|
||||
LIBWRAP_LDFLAGS = @LIBWRAP_LDFLAGS@
|
||||
LIPO = @LIPO@
|
||||
LN_S = @LN_S@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAINT = @MAINT@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
NETLIBS = @NETLIBS@
|
||||
NM = @NM@
|
||||
NMEDIT = @NMEDIT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
OBJEXT = @OBJEXT@
|
||||
OS_NAME = @OS_NAME@
|
||||
OTOOL = @OTOOL@
|
||||
OTOOL64 = @OTOOL64@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_URL = @PACKAGE_URL@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
RANLIB = @RANLIB@
|
||||
RUN_AS_GROUP = @RUN_AS_GROUP@
|
||||
RUN_AS_USER = @RUN_AS_USER@
|
||||
SED = @SED@
|
||||
SERLIBS = @SERLIBS@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
STATEPATH = @STATEPATH@
|
||||
STRIP = @STRIP@
|
||||
SUN_LIBUSB = @SUN_LIBUSB@
|
||||
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_CC = @ac_ct_CC@
|
||||
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
builddir = @builddir@
|
||||
cgiexecdir = @cgiexecdir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
driverexecdir = @driverexecdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
hotplugdir = @hotplugdir@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
lt_ECHO = @lt_ECHO@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
pkgconfigdir = @pkgconfigdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
srcdir = @srcdir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target = @target@
|
||||
target_alias = @target_alias@
|
||||
target_cpu = @target_cpu@
|
||||
target_os = @target_os@
|
||||
target_vendor = @target_vendor@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
udevdir = @udevdir@
|
||||
@WITH_HAL_TRUE@halfdidir = $(HAL_FDI_PATH)
|
||||
@WITH_HAL_TRUE@halfdi_DATA = 20-ups-nut-device.fdi
|
||||
EXTRA_DIST = ups-nut-device.fdi.in
|
||||
DISTCLEANFILES = ups-nut-device.fdi
|
||||
# we should never remove this one, apart from a distclean-check
|
||||
#MAINTAINERCLEANFILES = ups-nut-device.fdi.in
|
||||
CLEANFILES = 20-ups-nut-device.fdi
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
||||
&& { if test -f $@; then exit 0; else break; fi; }; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu scripts/hal/Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu scripts/hal/Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(am__aclocal_m4_deps):
|
||||
ups-nut-device.fdi: $(top_builddir)/config.status $(srcdir)/ups-nut-device.fdi.in
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
install-halfdiDATA: $(halfdi_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(halfdidir)" || $(MKDIR_P) "$(DESTDIR)$(halfdidir)"
|
||||
@list='$(halfdi_DATA)'; test -n "$(halfdidir)" || list=; \
|
||||
for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
echo "$$d$$p"; \
|
||||
done | $(am__base_list) | \
|
||||
while read files; do \
|
||||
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(halfdidir)'"; \
|
||||
$(INSTALL_DATA) $$files "$(DESTDIR)$(halfdidir)" || exit $$?; \
|
||||
done
|
||||
|
||||
uninstall-halfdiDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(halfdi_DATA)'; test -n "$(halfdidir)" || list=; \
|
||||
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
|
||||
test -n "$$files" || exit 0; \
|
||||
echo " ( cd '$(DESTDIR)$(halfdidir)' && rm -f" $$files ")"; \
|
||||
cd "$(DESTDIR)$(halfdidir)" && rm -f $$files
|
||||
tags: TAGS
|
||||
TAGS:
|
||||
|
||||
ctags: CTAGS
|
||||
CTAGS:
|
||||
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d "$(distdir)/$$file"; then \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
||||
else \
|
||||
test -f "$(distdir)/$$file" \
|
||||
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
all-am: Makefile $(DATA)
|
||||
installdirs:
|
||||
for dir in "$(DESTDIR)$(halfdidir)"; do \
|
||||
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
||||
done
|
||||
install: install-am
|
||||
install-exec: install-exec-am
|
||||
install-data: install-data-am
|
||||
uninstall: uninstall-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic
|
||||
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-am
|
||||
|
||||
html-am:
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am: install-halfdiDATA
|
||||
|
||||
install-dvi: install-dvi-am
|
||||
|
||||
install-dvi-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-html: install-html-am
|
||||
|
||||
install-html-am:
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
install-info-am:
|
||||
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-am
|
||||
|
||||
install-pdf-am:
|
||||
|
||||
install-ps: install-ps-am
|
||||
|
||||
install-ps-am:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||
|
||||
pdf: pdf-am
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-am
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-halfdiDATA
|
||||
|
||||
.MAKE: install-am install-strip
|
||||
|
||||
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
|
||||
distclean distclean-generic distclean-libtool distdir dvi \
|
||||
dvi-am html html-am info info-am install install-am \
|
||||
install-data install-data-am install-dvi install-dvi-am \
|
||||
install-exec install-exec-am install-halfdiDATA install-html \
|
||||
install-html-am install-info install-info-am install-man \
|
||||
install-pdf install-pdf-am install-ps install-ps-am \
|
||||
install-strip installcheck installcheck-am installdirs \
|
||||
maintainer-clean maintainer-clean-generic mostlyclean \
|
||||
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
||||
uninstall uninstall-am uninstall-halfdiDATA
|
||||
|
||||
|
||||
# FIXME: should be able to use $< here.
|
||||
20-ups-nut-device.fdi: ups-nut-device.fdi
|
||||
cp ups-nut-device.fdi $@
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
392
scripts/hal/ups-nut-device.fdi.in
Normal file
392
scripts/hal/ups-nut-device.fdi.in
Normal file
|
@ -0,0 +1,392 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
|
||||
<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">
|
||||
<!-- T500 -->
|
||||
<match key="usb_device.product_id" int="0x1f01">
|
||||
<append key="info.category" type="string">battery</append>
|
||||
<merge key="info.capabilities" type="strlist">battery</merge>
|
||||
<merge key="info.addons" type="strlist">hald-addon-bcmxcp_usb</merge>
|
||||
<merge key="battery.type" type="string">ups</merge>
|
||||
</match>
|
||||
<!-- T750 -->
|
||||
<match key="usb_device.product_id" int="0x1f02">
|
||||
<append key="info.category" type="string">battery</append>
|
||||
<merge key="info.capabilities" type="strlist">battery</merge>
|
||||
<merge key="info.addons" type="strlist">hald-addon-bcmxcp_usb</merge>
|
||||
<merge key="battery.type" type="string">ups</merge>
|
||||
</match>
|
||||
<!-- HP T750 INTL -->
|
||||
<match key="usb_device.product_id" int="0x1f06">
|
||||
<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>
|
||||
<!-- HP R/T 2200 INTL (like SMART2200RMXL2U) -->
|
||||
<match key="usb_device.product_id" int="0x1f0a">
|
||||
<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>
|
||||
</match>
|
||||
|
||||
<!-- Eaton -->
|
||||
<match key="usb_device.vendor_id" int="0x0463">
|
||||
<!-- various models -->
|
||||
<match key="usb_device.product_id" int="0x0001">
|
||||
<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>
|
||||
<!-- various models -->
|
||||
<match key="usb_device.product_id" int="0xffff">
|
||||
<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>
|
||||
</match>
|
||||
|
||||
<!-- Dell -->
|
||||
<match key="usb_device.vendor_id" int="0x047c">
|
||||
<!-- various models -->
|
||||
<match key="usb_device.product_id" int="0xffff">
|
||||
<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>
|
||||
</match>
|
||||
|
||||
<!-- Belkin -->
|
||||
<match key="usb_device.vendor_id" int="0x050d">
|
||||
<!-- F6H375-USB -->
|
||||
<match key="usb_device.product_id" int="0x0375">
|
||||
<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>
|
||||
<!-- F6C550-AVR -->
|
||||
<match key="usb_device.product_id" int="0x0551">
|
||||
<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>
|
||||
<!-- F6C1250-TW-RK -->
|
||||
<match key="usb_device.product_id" int="0x0750">
|
||||
<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>
|
||||
<!-- F6C1500-TW-RK -->
|
||||
<match key="usb_device.product_id" int="0x0751">
|
||||
<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>
|
||||
<!-- F6C900-UNV -->
|
||||
<match key="usb_device.product_id" int="0x0900">
|
||||
<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>
|
||||
<!-- F6C100-UNV -->
|
||||
<match key="usb_device.product_id" int="0x0910">
|
||||
<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>
|
||||
<!-- F6C120-UNV -->
|
||||
<match key="usb_device.product_id" int="0x0912">
|
||||
<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>
|
||||
<!-- F6C800-UNV -->
|
||||
<match key="usb_device.product_id" int="0x0980">
|
||||
<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>
|
||||
<!-- F6C1100-UNV, F6C1200-UNV -->
|
||||
<match key="usb_device.product_id" int="0x1100">
|
||||
<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>
|
||||
</match>
|
||||
|
||||
<!-- APC -->
|
||||
<match key="usb_device.vendor_id" int="0x051d">
|
||||
<!-- various models -->
|
||||
<match key="usb_device.product_id" int="0x0002">
|
||||
<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>
|
||||
</match>
|
||||
|
||||
<!-- Powerware -->
|
||||
<match key="usb_device.vendor_id" int="0x0592">
|
||||
<!-- various models -->
|
||||
<match key="usb_device.product_id" int="0x0002">
|
||||
<append key="info.category" type="string">battery</append>
|
||||
<merge key="info.capabilities" type="strlist">battery</merge>
|
||||
<merge key="info.addons" type="strlist">hald-addon-bcmxcp_usb</merge>
|
||||
<merge key="battery.type" type="string">ups</merge>
|
||||
</match>
|
||||
</match>
|
||||
<match key="usb_device.vendor_id" int="0x05b8">
|
||||
<!-- Agiler UPS -->
|
||||
<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 key="usb_device.vendor_id" int="0x0665">
|
||||
<!-- Belkin F6C1200-UNV -->
|
||||
<match key="usb_device.product_id" int="0x5161">
|
||||
<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>
|
||||
|
||||
<!-- Liebert -->
|
||||
<match key="usb_device.vendor_id" int="0x06da">
|
||||
<!-- various models -->
|
||||
<match key="usb_device.product_id" int="0x0002">
|
||||
<append key="info.category" type="string">battery</append>
|
||||
<merge key="info.capabilities" type="strlist">battery</merge>
|
||||
<merge key="info.addons" type="strlist">hald-addon-bcmxcp_usb</merge>
|
||||
<merge key="battery.type" type="string">ups</merge>
|
||||
</match>
|
||||
<!-- Mustek Powermust -->
|
||||
<match key="usb_device.product_id" int="0x0003">
|
||||
<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>
|
||||
<!-- various models -->
|
||||
<match key="usb_device.product_id" int="0xffff">
|
||||
<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>
|
||||
</match>
|
||||
|
||||
<!-- Cyber Power Systems -->
|
||||
<match key="usb_device.vendor_id" int="0x0764">
|
||||
<!-- 900AVR/BC900D, CP1200AVR/BC1200D -->
|
||||
<match key="usb_device.product_id" int="0x0005">
|
||||
<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>
|
||||
<!-- Dynex DX-800U? -->
|
||||
<match key="usb_device.product_id" int="0x0501">
|
||||
<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>
|
||||
<!-- OR2200LCDRM2U -->
|
||||
<match key="usb_device.product_id" int="0x0601">
|
||||
<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>
|
||||
</match>
|
||||
<match key="usb_device.vendor_id" int="0x0925">
|
||||
<!-- Sweex 1000VA -->
|
||||
<match key="usb_device.product_id" int="0x1234">
|
||||
<append key="info.category" type="string">battery</append>
|
||||
<merge key="info.capabilities" type="strlist">battery</merge>
|
||||
<merge key="info.addons" type="strlist">hald-addon-richcomm_usb</merge>
|
||||
<merge key="battery.type" type="string">ups</merge>
|
||||
</match>
|
||||
</match>
|
||||
|
||||
<!-- TrippLite -->
|
||||
<match key="usb_device.vendor_id" int="0x09ae">
|
||||
<!-- e.g. OMNIVS1000, SMART550USB, ... -->
|
||||
<match key="usb_device.product_id" int="0x0001">
|
||||
<append key="info.category" type="string">battery</append>
|
||||
<merge key="info.capabilities" type="strlist">battery</merge>
|
||||
<merge key="info.addons" type="strlist">hald-addon-tripplite_usb</merge>
|
||||
<merge key="battery.type" type="string">ups</merge>
|
||||
</match>
|
||||
<!-- e.g. TrippLite AVR550U -->
|
||||
<match key="usb_device.product_id" int="0x1003">
|
||||
<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>
|
||||
<!-- e.g. TrippLite AVR750U -->
|
||||
<match key="usb_device.product_id" int="0x1007">
|
||||
<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>
|
||||
<!-- e.g. TrippLite ECO550UPS -->
|
||||
<match key="usb_device.product_id" int="0x1008">
|
||||
<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>
|
||||
<!-- e.g. TrippLite OMNI1000LCD -->
|
||||
<match key="usb_device.product_id" int="0x2005">
|
||||
<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>
|
||||
<!-- e.g. TrippLite OMNI900LCD -->
|
||||
<match key="usb_device.product_id" int="0x2007">
|
||||
<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>
|
||||
<!-- e.g. TrippLite smart2200RMXL2U -->
|
||||
<match key="usb_device.product_id" int="0x3012">
|
||||
<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>
|
||||
<!-- e.g. ? -->
|
||||
<match key="usb_device.product_id" int="0x3014">
|
||||
<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>
|
||||
<!-- e.g. TrippLite SmartOnline SU1500RTXL2UA (older unit?) -->
|
||||
<match key="usb_device.product_id" int="0x4001">
|
||||
<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>
|
||||
<!-- e.g. TrippLite SmartOnline SU6000RT4U? -->
|
||||
<match key="usb_device.product_id" int="0x4002">
|
||||
<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>
|
||||
<!-- e.g. TrippLite SmartOnline SU1500RTXL2ua -->
|
||||
<match key="usb_device.product_id" int="0x4003">
|
||||
<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>
|
||||
</match>
|
||||
|
||||
<!-- PowerCOM -->
|
||||
<match key="usb_device.vendor_id" int="0x0d9f">
|
||||
<!-- PowerCOM IMP - IMPERIAL Series -->
|
||||
<match key="usb_device.product_id" int="0x00a2">
|
||||
<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 SKP - Smart KING Pro (all Smart series) -->
|
||||
<match key="usb_device.product_id" int="0x00a3">
|
||||
<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 WOW -->
|
||||
<match key="usb_device.product_id" int="0x00a4">
|
||||
<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 VGD - Vanguard -->
|
||||
<match key="usb_device.product_id" int="0x00a5">
|
||||
<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 BNT - Black Knight Pro -->
|
||||
<match key="usb_device.product_id" int="0x00a6">
|
||||
<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>
|
||||
</match>
|
||||
<match key="usb_device.vendor_id" int="0x0f03">
|
||||
<!-- Unitek Alpha 1200Sx -->
|
||||
<match key="usb_device.product_id" int="0x0001">
|
||||
<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>
|
||||
|
||||
<!-- Liebert -->
|
||||
<match key="usb_device.vendor_id" int="0x10af">
|
||||
<!-- Liebert PowerSure PSA UPS -->
|
||||
<match key="usb_device.product_id" int="0x0001">
|
||||
<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>
|
||||
</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>
|
Loading…
Add table
Add a link
Reference in a new issue