Commit Graph

13 Commits (4a6795409d1520fd3da3e909a8bcf9d7fd0927bb)

Author SHA1 Message Date
Tomasz Maciej Nowak 9c6b6abdcd kernel: replace SUBDIRS with M in package recipes
The SUBDIRS variable has been removed in kernel 5.4, and was deprecated
since the beginnig of kernel git history in favour of M or KBUILD_EXTMOD.

Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
4 years ago
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
Karl Vogel 76378c6b9f build: use KERNEL_MAKE_FLAGS for kernel file compilations
The build system already defines KERNEL_CROSS which defaults to TARGET_CROSS.
Make use of this variable for kernel makefiles.

Signed-off-by: Karl Vogel <karl.vogel@gmail.com>
7 years ago
Florian Eckert 4482063c34 treewide: add license tags
Add licence tags where missing.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
7 years ago
Alexandru Ardelean 4f9c6c5235 kernel/button-hotplug: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
8 years ago
Felix Fietkau 7eeb254cc4 treewide: replace nbd@openwrt.org with nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau d9bbeff7c8 button-hotplug: remove #ifdef CONFIG_HOTPLUG, it is gone in newer kernels
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40839
10 years ago
Hauke Mehrtens ebd4f65380 button-hotplug: describe module a bit better & mention gpio-button-hotplug
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 40764
10 years ago
Hauke Mehrtens 45e3898a11 gpio-button-hotplug: add wwan button
The wimax key will be used as a generic wwan key starting with Linux
3.13. The brcm47xx target uses this key for the 3g buttons. Also remove
the ifdef around KEY_WPS_BUTTON, this is in the kernel for a long time
now.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39290
10 years ago
John Crispin 8965a29bb0 button-hotplug: sync list of supported keys with gpio-button-hotplug
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38676
11 years ago
Felix Fietkau 1b5aa23ca2 button-hotplug: add missing dependency on kmod-input-core
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37429
11 years ago
John Crispin e15a16bfd7 button-hotplug: Add KEY_POWER handling
When running OpenWrt within KVM KEY_POWER is generated from the ACPI
button driver when restarting or powering down the VM.

Extend button-hotplug to allow user space handlers for these events.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Patchwork: http://patchwork.openwrt.org/patch/3799/

SVN-Revision: 37160
11 years ago
John Crispin 4ebf19b48f packages: clean up the package folder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37007
11 years ago