summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/apcupsd/Makefile2
-rw-r--r--target/linux/config/Config.in.input6
2 files changed, 7 insertions, 1 deletions
diff --git a/package/apcupsd/Makefile b/package/apcupsd/Makefile
index 52b6def9a..382f33e2d 100644
--- a/package/apcupsd/Makefile
+++ b/package/apcupsd/Makefile
@@ -11,12 +11,12 @@ PKG_DESCR:= APC UPS daemon with integrated tcp/ip remote shutdown
PKG_SECTION:= sys/misc
PKG_DEPENDS:= libusb
PKG_BUILDDEP:= libusb
+PKG_KDEPENDS:= usb-hid usb-hiddev
PKG_URL:= http://www.apcupsd.org
PKG_SITES:= $(MASTER_SITE_SOURCEFORGE:=apcupsd/)
DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_CFLINE_APCUPSD:= select BUSYBOX_WALL@
-PKG_CFLINE_APCUPSD+= select ADK_LINUX_KERNEL_USB_HID@
include $(ADK_TOPDIR)/mk/package.mk
diff --git a/target/linux/config/Config.in.input b/target/linux/config/Config.in.input
index 1342ccf8b..5d2b31804 100644
--- a/target/linux/config/Config.in.input
+++ b/target/linux/config/Config.in.input
@@ -112,6 +112,12 @@ config ADK_LINUX_KERNEL_USB_HID
help
You need this driver for USB keyboard and mouse support.
+config ADK_LINUX_KERNEL_USB_HIDDEV
+ bool "support for /dev/usb/hiddevX device"
+ help
+ Enable access to HID devices that aren't strictly user interface
+ devices, like monitor controls and Uninterruptible Power Supplies.
+
config ADK_TARGET_USB_KEYBOARD
bool "enable keyboard support"
depends on ADK_LINUX_KERNEL_USB_HID