#15477: second button doesn't work - missing gpio link
-----------------------+----------------------------------
Reporter: kadanss | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Chaos Calmer (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords:
-----------------------+----------------------------------
Comment (by rlindeman@…):
The root cause of the problem might be related to a recent change to the
gpio_button_hotplug.c file in the package/kernel/gpio-button-hotplug/src
directory. Specifically there was a #ifdef CONFIG_HOTPLUG added to the
file along with an #else clause that defines a button_hotplug_event method
that does nothing on GPIO button events. I believe what happened is the
Makefile didn't pass along a CONFIG_HOTPLUG define to the src file during
the compile step. The solution should be to either modify the Makefile to
include the CONFIG_HOTPLUG definition or remove the #ifdef that was added
to the file.
--
Ticket URL: <https://dev.openwrt.org/ticket/15477#comment:3>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets