kernel-hacking-2024-linux-s.../drivers
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
..
acorn/char
acpi ACPI: don't duplicate input events on netlink 2007-08-23 14:27:23 -04:00
amba
ata
atm Add some help texts to recently-introduced kconfig items 2007-08-18 09:52:50 -07:00
auxdisplay cfag12864b fix 2007-08-22 19:52:46 -07:00
base
block Introduce CONFIG_CHECK_SIGNATURE 2007-08-22 19:52:45 -07:00
bluetooth
cdrom
char synclink_gt fix module reference 2007-08-22 19:52:46 -07:00
clocksource
connector
cpufreq
crypto Add some help texts to recently-introduced kconfig items 2007-08-18 09:52:50 -07:00
dio
dma
edac
eisa
fc4
firewire
firmware
hid Add some help texts to recently-introduced kconfig items 2007-08-18 09:52:50 -07:00
hwmon
i2c
ide ide-disk: workaround for buggy HPA support on ST340823A (take 3) 2007-08-20 22:42:57 +02:00
ieee1394
infiniband
input Introduce CONFIG_CHECK_SIGNATURE 2007-08-22 19:52:45 -07:00
isdn hisax: update hfc_usb driver 2007-08-21 10:14:28 -07:00
kvm KVM: Avoid calling smp_call_function_single() with interrupts disabled 2007-08-19 10:13:49 -07:00
leds
lguest
macintosh m68k/mac: Make mac_hid_mouse_emulate_buttons() declaration visible 2007-08-22 19:52:45 -07:00
mca
md md: correctly update sysfs when a raid1 is reshaped 2007-08-22 19:52:46 -07:00
media V4L/DVB (6028): Turn an unnecessary mdelay() into msleep(). 2007-08-20 12:18:05 -03:00
message
mfd
misc ACPI: don't duplicate input events on netlink 2007-08-23 14:27:23 -04:00
mmc
mtd
net [PPP]: Fix output buffer size in ppp_decompress_frame(). 2007-08-21 20:59:35 -07:00
nubus
of
oprofile
parisc
parport
pci ACPI: don't duplicate input events on netlink 2007-08-23 14:27:23 -04:00
pcmcia
pnp
power
ps3
rapidio
rtc rtc-max6902 minor fixes 2007-08-22 19:52:47 -07:00
s390 [S390] vmur: fix reference counting for vmur device structure 2007-08-22 13:51:48 +02:00
sbus
scsi Introduce CONFIG_CHECK_SIGNATURE 2007-08-22 19:52:45 -07:00
serial serial: add pci ids for PA Semi PWRficient onchip uarts 2007-08-22 19:52:46 -07:00
sh
sn
spi
tc
telephony
uio
usb Revert "USB: EHCI cpufreq fix" 2007-08-20 23:38:44 -07:00
video au1100fb: move au1100fb_fb_blank() beforce au1100fb_setmode() 2007-08-22 19:52:47 -07:00
w1 w1: fix w1_remove_master_device() searching 2007-08-22 19:52:46 -07:00
xen
zorro zorro: Make sysfs config attribute read-only 2007-08-22 19:52:45 -07:00
Kconfig
Makefile