#20935: Push or release buttons events are not logged on Asus WL500gP v1
-----------------------------+--------------------------------
Reporter: ciprian.alexan | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: base system | Version: Chaos Calmer 15.05
Resolution: | Keywords: button
-----------------------------+--------------------------------
Comment (by rmilecki):
Things to check:
1. See if device model was detected by OpenWrt (`dmesg | grep machine` or
`cat /proc/cpuinfo`)
2. Disable buttons support in kernel by removing following lines from
buttons.c:
{{{
case BCM47XX_BOARD_ASUS_WL500GPV1:
err = bcm47xx_copy_bdata(bcm47xx_buttons_asus_wl500gpv1);
break;
}}}
and then analyzing GPIO values using `/sys/class/gpio/` (export GPIOs 0
and 4, set them to input, read "value" with button pressed and released).
--
Ticket URL: <https://dev.openwrt.org/ticket/20935#comment:1>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets