#2184: usb-hid - Unknown symbol's
-------------------------+--------------------------------------------------
Reporter: michu | Owner: nico
Type: defect | Status: assigned
Priority: normal | Milestone:
Component: base system | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment (by fish):
I had the same problem, even after r10719. It still does not build kmod-
hid.
I'v changed usb.mk and other.mk according to itarax's patch and it works
now.
Here is a new patch against the current trunk:
{{{
Index: package/kernel/modules/usb.mk
===================================================================
--- package/kernel/modules/usb.mk (revision 10771)
+++ package/kernel/modules/usb.mk (working copy)
@@ -561,7 +561,7 @@
define KernelPackage/usb-hid
- $(call usbdep, at LINUX_2_6 +kmod-input-core +kmod-input-evdev)
+ $(call usbdep, at LINUX_2_6 +kmod-input-core +kmod-input-evdev +kmod-hid)
TITLE:=Support for USB Human Input Devices
KCONFIG:=CONFIG_HID_SUPPORT=y CONFIG_USB_HID
FILES:=$(LINUX_DIR)/drivers/$(USBHID_DIR)/usbhid.ko
Index: package/kernel/modules/other.mk
===================================================================
--- package/kernel/modules/other.mk (revision 10771)
+++ package/kernel/modules/other.mk (working copy)
@@ -497,6 +497,22 @@
$(eval $(call KernelPackage,input-evdev))
+define KernelPackage/hid
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=Input even device
+ DEPENDS:=+kmod-input-core +kmod-input-evdev
+ KCONFIG:=CONFIG_HID
+ FILES:=$(LINUX_DIR)/drivers/hid/hid.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,61,hid)
+endef
+
+define KernelPackage/hid/description
+ Kernel modules for HID devices
+endef
+
+$(eval $(call KernelPackage,hid))
+
+
define KernelPackage/input-polldev
SUBMENU:=$(OTHER_MENU)
TITLE:=Polled Input device support
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/2184#comment:8>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology