How to get a button to show up in /dev/input/event?


I have read and my button, which is defined in the dts file, triggers the script /etc/hotplug.d/button/buttons. So the hardware and the kernel "works".

But I would prefer to have the button to appear as an usual /dev/input/event... My c application can read from a standard /dev/input.

I have installed hid and hid-generic and they are loaded in the kernel.

How can I tell OpenWrt to not hotplug the button and have the generic HID to handle it? (or to have both but I doubt that would be possible).

Thank you in advance and sorry if I missed some documentation.

1 Like