Re: "asus_wmi: Unknown key code 0xcf" when plugging in charger to laptop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 30.10.24 um 22:44 schrieb Pau Espin Pedrol:

Hi,

On 10/30/24 1:06 AM, Armin Wolf wrote:

can you share the output of "acpidump"?


Find it here:
https://pespin.espeweb.net/~pespin/tmp/asus_wmi/acpidump.txt.bz2


regards,

Pau


Thank you. The event seems to be causes by this piece of AML code:

	If (ACPS ())
	{
		ACPF = One
		Local0 = 0x58
		If (ATKP)
		{
			^^^^ATKD.IANE (0xCF)
		}
	}
	Else
	{
		ACPF = Zero
		Local0 = 0x57
	}

	Notify (AC0, 0x80) // Status Change
	If (ATKP)
	{
		^^^^ATKD.IANE (Local0)
	}

	Sleep (0x64)
	PNOT ()
	Sleep (0x0A)
	NBAT (0x80)

Since the event codes 0x67/0x58 are used to signal battery/ac mode, i think that the 0xCF event
might be an alias for event 0x58. Maybe we can just map it as KEY_IGNORE to silence the warning?

Thanks,
Armin Wolf






[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux