kernel: Enable kmod-hid-generic driver when selecting usb-hid
authorJohn Crispin <john@openwrt.org>
Mon, 2 Jun 2014 12:44:33 +0000 (12:44 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 2 Jun 2014 12:44:33 +0000 (12:44 +0000)
kmod-hid-generic needs to be selected when enabling usb-hid in order to get generic devices working.

This fixes keyboards support in linux 3.3+ kernels.
https://dev.openwrt.org/ticket/12631
https://dev.openwrt.org/ticket/12686

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 40932

package/kernel/linux/modules/usb.mk

index 9226f222a8d092f22e241754fc85aa9cf207ca21..10b89da715861f44a3503442514eadc12bfe997c 100644 (file)
@@ -1260,7 +1260,7 @@ define KernelPackage/usb-hid
   FILES:=$(LINUX_DIR)/drivers/$(USBHID_DIR)/usbhid.ko
   AUTOLOAD:=$(call AutoProbe,usbhid)
   $(call AddDepends/usb)
-  $(call AddDepends/hid)
+  $(call AddDepends/hid,+kmod-hid-generic)
   $(call AddDepends/input,+kmod-input-evdev)
 endef