X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/9f0b211cb08e3a5281b70bbcce51c41734588353..e0ef07e12fbaf8c59710afddae75d57ee59f4f50:/package/kernel/modules/usb.mk diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk index b7d5cc4da..e36a52e46 100644 --- a/package/kernel/modules/usb.mk +++ b/package/kernel/modules/usb.mk @@ -331,3 +331,29 @@ define KernelPackage/usb-net-asix/2.6 endef $(eval $(call KernelPackage,usb-net-asix)) + +define KernelPackage/usb-hid + $(call usbdep,@LINUX_2_6 evdev) + 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) +endef + +define KernelPackage/usb-hid/2.6 + FILES:=$(LINUX_DIR)/drivers/usb/input/usbhid.ko +endef +$(eval $(call KernelPackage,usb-hid)) + +define KernelPackage/usb-yealink + $(call usbdep,@LINUX_2_6) + TITLE:=USB Yealink VOIP phone + DESCRIPTION:=Kernel support for Yealink VOIP phone + KCONFIG:=$(CONFIG_USB_YEALINK) + FILES:=$(LINUX_DIR)/drivers/usb/input/yealink.ko + AUTOLOAD:=$(call AutoLoad,70,yealink) + DEPENDS:=kmod-input-core kmod-input-evdev +endef +$(eval $(call KernelPackage,usb-yealink)) + +