1
linux/drivers/platform/x86
Henrique de Moraes Holschuh a50245af78 thinkpad-acpi: handle HKEY 0x4010, 0x4011 events
Handle events 0x4010 and 0x4011 so that we do not pester users about them.

These events report when the thinkpad is docked/undocked to a native
hotplug dock (i.e. one that does not need ACPI handling, nor is represented
in the ACPI device tree).  Such docks are based on USB 2.0/3.0, and also
work as port replicators.

We really want a proper dock class to report these, or at least new input
EV_SW events.  Since it is not clear which one to use yet, keep reporting
them as vendor-specific ThinkPad events.

WARNING: As defined by the thinkpad-acpi sysfs ABI rules of engagement, the
vendor-specific events will be REMOVED as soon as generic events are made
available (duplicate events are a big problem), with an appropriate update
to the thinkpad-acpi sysfs/event ABI versioning.  Userspace is already
prepared to provide easy backwards compatibility for such changes when
convenient to the distro (see acpi-fakekey).

* Event 0x4010: docking to hotplug dock/port replicator
* Event 0x4011: undocking from hotplug dock/port replicator

Typical usecase would be to trigger display reconfiguration.

Reports mention T410, T510, and series 3 docks/port replicators.  Special
thanks to Robert de Rooy for his extensive report and analysis of the
situation.

http://www.thinkwiki.org/wiki/ThinkPad_Port_Replicator_Series_3
http://www.thinkwiki.org/wiki/ThinkPad_Mini_Dock_Series_3
http://www.thinkwiki.org/wiki/ThinkPad_Mini_Dock_Plus_Series_3
http://www.thinkwiki.org/wiki/ThinkPad_Mini_Dock_Plus_Series_3_for_Mobile_Workstations
http://lenovoblogs.com/insidethebox/?p=290

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>
Reported-by: Claudius Hubig <claudiushubig@chubig.net>
Reported-by: Doctor Bill <docbill@gmail.com>
Reported-by: Korte Noack <gbk.noack@gmx.de>
Reported-by: Robert de Rooy <robert.de.rooy@gmail.com>
Reported-by: Sebastian Will <swill@csail.mit.edu>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
2011-07-07 10:39:05 -04:00
..
acer-wmi.c acer-wmi: fix bitwise bug when set device state 2011-07-07 10:38:58 -04:00
acerhdf.c acerhdf: Clean up includes 2011-05-27 12:36:46 -04:00
asus_acpi.c asus: Add pr_fmt and convert printks to pr_<level> 2011-05-27 12:35:46 -04:00
asus-laptop.c asus: Add pr_fmt and convert printks to pr_<level> 2011-05-27 12:35:46 -04:00
asus-nb-wmi.c asus-nb-wmi: Asus Notebooks WMI Driver 2011-03-28 06:07:23 -04:00
asus-wmi.c asus: Add pr_fmt and convert printks to pr_<level> 2011-05-27 12:35:46 -04:00
asus-wmi.h eeepc-wmi: asus generic asus-wmi.ko module 2011-03-28 06:07:20 -04:00
classmate-laptop.c backlight: add backlight type 2011-03-22 17:43:59 -07:00
compal-laptop.c drivers/platform/x86: Fix memory leak 2011-07-07 10:39:03 -04:00
dell-laptop.c dell: Convert printks to pr_<level> 2011-05-27 12:35:47 -04:00
dell-wmi-aio.c dell: Convert printks to pr_<level> 2011-05-27 12:35:47 -04:00
dell-wmi.c dell: Convert printks to pr_<level> 2011-05-27 12:35:47 -04:00
eeepc-laptop.c eeepc: Use pr_warn 2011-05-27 12:35:47 -04:00
eeepc-wmi.c eeepc: Use pr_warn 2011-05-27 12:35:47 -04:00
fujitsu-laptop.c fujitsu-laptop: Convert printks to pr_<level> 2011-05-27 12:35:47 -04:00
hdaps.c hdaps: Convert printks to pr_<level> 2011-05-27 12:35:48 -04:00
hp_accel.c hp_accel: Fix driver name 2011-03-21 17:59:36 +01:00
hp-wmi.c hp-wmi: Convert printks to pr_<level> 2011-05-27 12:35:48 -04:00
ibm_rtl.c ibm_rtl: Use pr_fmt and pr_<level> 2011-05-27 12:35:49 -04:00
ideapad-laptop.c ideapad-laptop: Add pr_fmt 2011-05-27 12:35:49 -04:00
intel_ips.c x86: remove 32-bit versions of readq()/writeq() 2011-05-25 08:39:44 -07:00
intel_ips.h drm/i915, intel_ips: When i915 loads after IPS, make IPS relink to i915. 2010-12-23 09:51:36 +00:00
intel_menlow.c intel_menlow: Add pr_fmt and use pr_<level> 2011-05-27 12:35:49 -04:00
intel_mid_powerbtn.c platform/x86: Simplify intel_mid_powerbtn 2011-05-27 12:36:46 -04:00
intel_mid_thermal.c platform-x86: intel_mid_thermal: Fix memory leak 2011-05-27 12:37:20 -04:00
intel_oaktrail.c platform/oaktrail: ACPI EC Extra driver for Oaktrail 2011-05-27 12:36:43 -04:00
intel_pmic_gpio.c intel_pmic_gpio: Convert printks to pr_<level> 2011-05-27 12:35:50 -04:00
intel_rar_register.c platform-drivers: x86: fix common misspellings 2011-03-28 06:46:10 -04:00
intel_scu_ipc.c platform-drivers: x86: fix common misspellings 2011-03-28 06:46:10 -04:00
intel_scu_ipcutil.c intel_scu_ipcutils: Fix the license tag 2011-01-26 08:57:18 +10:00
Kconfig acerhdf: Drop pointless dependency on THERMAL_HWMON 2011-05-27 12:36:45 -04:00
Makefile platform/x86: Fix Makefile for intel_mid_powerbtn 2011-05-27 12:37:19 -04:00
msi-laptop.c Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mjg59/platform-drivers-x86 2011-05-29 11:44:33 -07:00
msi-wmi.c msi-wmi: Use pr_fmt and pr_<level> 2011-05-27 12:35:51 -04:00
mxm-wmi.c mxm/wmi: add MXMX interface entry point. 2011-05-09 11:40:38 +10:00
panasonic-laptop.c backlight: add backlight type 2011-03-22 17:43:59 -07:00
samsung-laptop.c samsung-laptop: set backlight type 2011-04-12 11:27:40 -04:00
sony-laptop.c platform/x86:delete two unused variables 2011-05-27 12:38:25 -04:00
tc1100-wmi.c tc1100-wmi: Add pr_fmt, use pr_<level> 2011-05-27 12:35:51 -04:00
thinkpad_acpi.c thinkpad-acpi: handle HKEY 0x4010, 0x4011 events 2011-07-07 10:39:05 -04:00
topstar-laptop.c topstar-laptop: Convert remaining printk to pr_info 2011-05-27 12:35:52 -04:00
toshiba_acpi.c toshiba: Convert printks to pr_<level> 2011-05-27 12:35:52 -04:00
toshiba_bluetooth.c toshiba: Convert printks to pr_<level> 2011-05-27 12:35:52 -04:00
wmi.c wmi: Removed trailing whitespace from logging message. 2011-05-27 12:35:53 -04:00
xo1-rfkill.c Add OLPC XO-1 rfkill driver 2010-10-21 10:10:44 -04:00
xo15-ebook.c xo15-ebook: Use pr_<level> 2011-05-27 12:35:53 -04:00