Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

reverse CONFIG_ACPI_PROC_EVENT default

Sigh. Again an ACPI assault on the Thinkpad's Fn+F4 to suspend to RAM.
The default and text for CONFIG_THINKPAD_ACPI_INPUT_ENABLED were fixed
in -rc3, but now commit 14e04fb34ffa82ee61ae69f98d8fca12d2e8e31c ("ACPI:
Schedule /proc/acpi/event for removal") introduces the ACPI_PROC_EVENT
config entry, and defaults it to 'n' to disable it again.

Change default to y, and add comment to make it clearer that n is for
future distros.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Len Brown <len.brown@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Hugh Dickins and committed by
Linus Torvalds
721ebe00 81340977

+5 -1
+5 -1
drivers/acpi/Kconfig
··· 71 71 config ACPI_PROC_EVENT 72 72 bool "Deprecated /proc/acpi/event support" 73 73 depends on PROC_FS 74 + default y 74 75 ---help--- 75 76 A user-space daemon, acpi, typically read /proc/acpi/event 76 77 and handled all ACPI sub-system generated events. ··· 79 78 These events are now delivered to user-space via 80 79 either the input layer, or as netlink events. 81 80 82 - This build option enables the old code for for legacy 81 + This build option enables the old code for legacy 83 82 user-space implementation. After some time, this will 84 83 be moved under CONFIG_ACPI_PROCFS, and then deleted. 84 + 85 + Say Y here to retain the old behaviour. Say N if your 86 + user-space is newer than kernel 2.6.23 (September 2007). 85 87 86 88 config ACPI_AC 87 89 tristate "AC Adapter"