diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-05-27 18:57:02 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-05-27 18:57:02 +0000 |
commit | 563eca4897b9b886cd8dd2b284aa56a37602639b (patch) | |
tree | 74b974946088d99b793e1af34ecd9b02640990d0 | |
parent | d5e7b4e245e1fa4ea99ad2986231c5ae96b4ff4e (diff) | |
download | upstream-563eca4897b9b886cd8dd2b284aa56a37602639b.tar.gz upstream-563eca4897b9b886cd8dd2b284aa56a37602639b.tar.bz2 upstream-563eca4897b9b886cd8dd2b284aa56a37602639b.zip |
Add support for USB HID (#1322)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7360 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/kernel/modules/usb.mk | 14 | ||||
-rw-r--r-- | target/linux/generic-2.6/config-template | 5 |
2 files changed, 18 insertions, 1 deletions
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk index 4f41294330..ad037d6196 100644 --- a/package/kernel/modules/usb.mk +++ b/package/kernel/modules/usb.mk @@ -332,6 +332,20 @@ endef $(eval $(call KernelPackage,usb-net-asix)) +define KernelPackage/usb-hid + $(call usbdep,@LINUX_2_6) + TITLE:=Support for USB Human Input Devices + DESCRIPTION:=Kernel support for USB HID devices such as keyboards and mice + KCONFIG:=$(CONFIG_USB_HID) + AUTOLOAD:=$(call AutoLoad,70,usbhid evdev) +endef + +define KernelPackage/usb-hid/2.6 + FILES:= \ + $(LINUX_DIR)/drivers/usb/input/usbhid.ko \ + $(LINUX_DIR)/drivers/input/evdev.ko +endef +$(eval $(call KernelPackage,usb-hid)) define KernelPackage/usb-yealink $(call usbdep,@LINUX_2_6) diff --git a/target/linux/generic-2.6/config-template b/target/linux/generic-2.6/config-template index 751f96d149..d1d8402b50 100644 --- a/target/linux/generic-2.6/config-template +++ b/target/linux/generic-2.6/config-template @@ -1356,7 +1356,10 @@ CONFIG_USB_DEVICEFS=y CONFIG_USB_EZUSB=y # CONFIG_USB_FTDI_ELAN is not set # CONFIG_USB_GADGET is not set -# CONFIG_USB_HID is not set +CONFIG_USB_HID=m +# CONFIG_USB_HIDDEV is not set +CONFIG_USB_HIDINPUT=y +# CONFIG_USB_HIDINPUT_POWERBOOK is not set # CONFIG_USB_IDMOUSE is not set # CONFIG_USB_IOWARRIOR is not set # CONFIG_USB_ISP116X_HCD is not set |