Modify

Opened 6 years ago

Closed 5 years ago

#11145 closed enhancement (fixed)

Support special HID devices (hidraw support)

Reported by: dannybaumann@… Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: Cc:

Description

I want to connect a weather station to my router and forward its data into the network. This station provides a HID interface, but isn't a real HID device. In order to read it, I use the hidraw interface. Unfortunately, kmod-hid is compiled without hidraw support. Can you please enable hidraw support in kmod-hid? Doing so increases the ipk file size only slightly (34931 bytes -> 38135 bytes).

For your convenience, here's the patch ;)

Index: package/kernel/modules/other.mk
===================================================================
--- package/kernel/modules/other.mk     (Revision 30954)
+++ package/kernel/modules/other.mk     (Arbeitskopie)
@@ -257,7 +257,7 @@
 define KernelPackage/hid
   SUBMENU:=$(OTHER_MENU)
   TITLE:=HID Devices
-  KCONFIG:=CONFIG_HID
+  KCONFIG:=CONFIG_HID CONFIG_HIDRAW=y
   FILES:=$(LINUX_DIR)/drivers/hid/hid.ko
   AUTOLOAD:=$(call AutoLoad,61,hid)
   $(call AddDepends/input,+kmod-input-evdev)

Thanks.

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by jogo

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker (trunk)
  • Resolution set to fixed
  • Status changed from new to closed

Patch was applied in r36415.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.