Re: Creating multiple event nodes for A composite HID Device.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Fri, Jan 22, 2016 at 8:28 AM, Prabhu Chawandi <foss.chaws@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux