forked from luck/tmp_suning_uos_patched
ACPI: thinkpad-acpi: handle HKEY event 6030
HKEY event 0x6030 is a helper for Lenovo's Advanced Thermal Management Windows driver, which is, of course, completely undocumented. Silence any warnings about it being an unknown alarm, and report it unmodified for userspace. Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
1c2ece758a
commit
54926ce8d2
@ -2702,6 +2702,12 @@ static bool hotkey_notify_thermal(const u32 hkey,
|
|||||||
"a sensor reports something is extremely hot!\n");
|
"a sensor reports something is extremely hot!\n");
|
||||||
/* recommended action: immediate sleep/hibernate */
|
/* recommended action: immediate sleep/hibernate */
|
||||||
return true;
|
return true;
|
||||||
|
case 0x6030:
|
||||||
|
printk(TPACPI_INFO
|
||||||
|
"EC reports that Thermal Table has changed\n");
|
||||||
|
/* recommended action: do nothing, we don't have
|
||||||
|
* Lenovo ATM information */
|
||||||
|
return true;
|
||||||
default:
|
default:
|
||||||
printk(TPACPI_ALERT
|
printk(TPACPI_ALERT
|
||||||
"THERMAL ALERT: unknown thermal alarm received\n");
|
"THERMAL ALERT: unknown thermal alarm received\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user