Re: Creating multiple event nodes for A composite HID Device.
flat view
From: Benjamin Tissoires <hidden>
Date: 2016-01-22 22:36:11
Hi, On Fri, Jan 22, 2016 at 8:28 AM, Prabhu Chawandi [off-list ref] wrote:
Hi, Is it possible to make Linux to create a separate /dev/input/eventX node for all the device composited ? Example: if my device is supporting Mouse, KBD and Consumer if I want to create three event nodes for each, like /dev/input/event1 /dev/input/event2 /dev/input/event3. How can I do if I am using bluetooth Smart HID device ? Please share your input.
We have a quirk for that. HID_QUIRK_MULTI_INPUT is the one you are looking for. IIRC bluetooth Smart is using uhid, so there might be no facilities to set this without having to rely on a separate (new) HID driver. Check fo rhte code of hid-generic and just add a .probe function that sets the quirk. You could also check with bluez if they do not have anything to split the HID devices into three (i.e. make sure bluez does not agregate the devices by default while it should use several distinct uhid devices). Cheers, Benjamin
thanks in advance. -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html