I'm having problems getting my system to detect ACPI events with newer kernels. Currently I'm running 2.6.36-tuxonice, and everything works fine. I have tried previously to upgrade to 2.6.39, 3.0.3, and just this past weekend 3.2.1, and for each of these my system no longer receives uevents for the ac adapter, battery, laptop lid, and the function keys that control brightness.

I originally configured the kernel using my working 2.6.36 config and running `make oldconfig`, and when this didn't work I built a config from scratch using pappy's kernel seeds.

When booting into these kernels and running `udevadm monitor` or `acpi_listen` I don't get any responses at all when trying to trigger any of these events. I have tried various configurations of ACPI options in the kernel (built in, modules, getting rid of the old /proc event interfaces) and nothing seems to work.

The system does seem to recognize ACPI in general (see post below with debug output), but the events themselves never seem to fire.

Does anyone have ideas what might be wrong?

Here is the ACPI section of my current (non working) 3.2.1 kernel config:

Code:

# Power management and ACPI options
#
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
CONFIG_HIBERNATE_CALLBACKS=y
CONFIG_HIBERNATION=y
CONFIG_PM_STD_PARTITION="/dev/sda2"
CONFIG_PM_SLEEP=y
CONFIG_PM_SLEEP_SMP=y
# CONFIG_PM_RUNTIME is not set
CONFIG_PM=y
# CONFIG_PM_DEBUG is not set
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_PROCFS=y
CONFIG_ACPI_PROCFS_POWER=y
# CONFIG_ACPI_EC_DEBUGFS is not set
CONFIG_ACPI_PROC_EVENT=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_DOCK=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_HOTPLUG_CPU=y
CONFIG_ACPI_PROCESSOR_AGGREGATOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_CUSTOM_DSDT is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
CONFIG_ACPI_DEBUG=y
# CONFIG_ACPI_DEBUG_FUNC_TRACE is not set
# CONFIG_ACPI_PCI_SLOT is not set
CONFIG_X86_PM_TIMER=y
CONFIG_ACPI_CONTAINER=y
CONFIG_ACPI_SBS=y
# CONFIG_ACPI_HED is not set
CONFIG_ACPI_APEI=y
# CONFIG_ACPI_APEI_GHES is not set
# CONFIG_ACPI_APEI_PCIEAER is not set
# CONFIG_ACPI_APEI_ERST_DEBUG is not set
# CONFIG_SFI is not set
# CONFIG_APM is not set

------------------------------------------------------------------------------
Original post:
------------------------------------------------------------------------------
I've been stuck at kernel 2.6.36 for quite a while, since every kernel I've tried after this doesn't respond to udev events. When running `udevadm monitor` I don't see any events for battery, ac, lid, etc, and I can't control screen brightness anymore with the function buttons.

The last kernel I installed that works well is 2.6.36-tuxonice-r4. I tried the 2.6.39-gentoo-r3 and 3.0.3-gentoo sources a while back and had this issue, and couldn't resolve, so I decided to shelf the issue for a while to see if it would resolve itself with a newer kernel version -- but it hasn't.

Today I installed the 3.2.1-gentoo-r2 kernel, configured from a `make oldconfig` and no udev events fired. I thought that maybe since I had previously used a tuxonice kernel I would start from scratch with a new config. I started with pappy's kernel seeds and configured the 3.2.1 kernel from scratch. Everything works great, except no udev events!

I recompiled the kernel with acpi debug support, but it didn't shed much light. The interesting thing is that the kernel sees all the appropriate buttons, but there are still no uevents triggered by udev/kernel.

Guys, we still did not get a clear understanding what hardware it is. Many laptops (like thinkpads, toshibas) have separate platform dependent kernel settings that need to be enabled for ACPI to be properly handled. These settings are under Device Drivers/x86 Platform Specific Device Drivers