kernel-hacking-2024-linux-s.../drivers/misc
Zhang Rui 962ce8ca06 ACPI: don't duplicate input events on netlink
The previous events patch added a netlink event for every
user of the legacy /proc/acpi/event interface.

However, some users of /proc/acpi/event are really input events,
and they already report their events via the input layer.

Introduce a new interface, acpi_bus_generate_netlink_event(),
which is explicitly called by devices that want to repoprt
events via netlink.  This allows the input-like events
to opt-out of generating netlink events.  In summary:

events that are sent via netlink:
	ac/battery/sbs
	thermal
	processor
	thinkpad_acpi dock/bay

events that are sent via input layer:
	button
	video hotkey
	thinkpad_acpi hotkey
	asus_acpi/asus-laptop hotkey
	sonypi/sonylaptop

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2007-08-23 14:27:23 -04:00
..
hdpuftrs
ibmasm
asus-laptop.c Pull auto-load-modules into release branch 2007-07-25 01:36:53 -04:00
eeprom_93cx6.c
ioc4.c
Kconfig Add some help texts to recently-introduced kconfig items 2007-08-18 09:52:50 -07:00
lkdtm.c
Makefile
msi-laptop.c
phantom.c
sony-laptop.c sony-laptop: sony_nc_ids[] can become static. 2007-08-03 15:25:44 -04:00
thinkpad_acpi.c ACPI: don't duplicate input events on netlink 2007-08-23 14:27:23 -04:00
thinkpad_acpi.h ACPI: thinkpad-acpi: fix the module init failure path 2007-08-03 15:32:58 -04:00
tifm_7xx1.c
tifm_core.c