You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/package
Alan Swanson a46259787d button-hotplug: add KEY_POWER2 handling
For devices such as BTHOMEHUBV5A with both reset and restart buttons,
its easily accessible restart button has been assigned to KEY_POWER
power script to poweroff preventing accidental (or malicious) factory
resets by KEY_RESTART reset script. However an easily accessible button
immediately powering off the device is also undesirable.

As KEY_RESTART is already used for reset script (and there's no
KEY_REBOOT in Linux input events), use KEY_POWER2 for rebooting via new
reboot script with 5 second seen delay.

Fixes: FS#1965
Signed-off-by: Alan Swanson <reiver@improbability.net>
Signed-off-by: Petr Štetiar <ynezz@true.cz> [long line wrap]
5 years ago
..
base-files base-files: add reboot only button handler 5 years ago
boot uboot-imx6: bump to 2019.04 and refresh patches 5 years ago
devel valgrind: Add support for ARM64 architecture 5 years ago
firmware ipq40xx: Add support for Linksys EA8300 (Dallas) 5 years ago
kernel button-hotplug: add KEY_POWER2 handling 5 years ago
libs libbsd: Fix compilation under ARC 5 years ago
network netifd: fix missing ip rules after network reload (FS#2296) 5 years ago
system procd: update to latest git HEAD 5 years ago
utils busybox: fix: ip addr flush hangs when run by non-root user 5 years ago
Makefile build: add ABI_VERSION to binary package names 5 years ago