ideapad_acpi: VPC2004:00: DYTC interface is not available. platform_profile interface is unavailable
https://bugzilla.kernel.org/show_bug.cgi?id=212985
Borislav Petkov ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected] Assignee|platform_x86_64@kernel-bugs |[email protected] |.osdl.org |rnel.org
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=212985
Barnabás Pőcze ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #1 from Barnabás Pőcze ([email protected]) --- That message is not necessarily a bug. That interface is not available on all devices. Can you check if the VPC2004 ACPI device has a method named "DYTC"?
Quoted 1 line
The
conservation_modeinterface is available but cannot be used.
Sorry, that's on me. There is a glaring typo in the driver, I'll send a patch to fix it shortly.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=212985
--- Comment #2 from Tim S ([email protected]) --- Thanks a lot.
Quoted 1 line
Can you check if the VPC2004 ACPI device has a method named "DYTC"?
If I'm understanding correctly, you're saying to check the disassembled ACPI tables, right? The disassembled dsdt.dsl does appear to contain a DYTC method:
Device (VPC0)
{
Name (_HID, "VPC2004") // _HID: Hardware ID
Name (_UID, Zero) // _UID: Unique ID
Name (_VPC, Zero)
Name (VPCD, Zero)
Method (_STA, 0, NotSerialized) // _STA: Status
{
Return (0x0F)
}
Method (DYTC, 1, Serialized)
{
ITSV = Zero
ITSM = Zero
Local0 = Zero
Local1 = (Arg0 & 0x01FF)
Local2 = (Arg0 & 0xFFFFFE00)
Switch (Local1)
{
Case (Zero)
....I'll attach the full file, in case it is needed.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=212985
--- Comment #3 from Tim S ([email protected]) --- Created attachment 296693
--> https://bugzilla.kernel.org/attachment.cgi?id=296693&action=edit
ACPI: Dissassembly of dsdt.dat via iasl
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=212985
--- Comment #4 from Barnabás Pőcze ([email protected]) ---
Quoted 2 lines
If I'm understanding correctly, you're saying to check the disassembled ACPI tables, right?
Yes, exactly.
From this part:
Method (DYTC, 1, Serialized)
{
ITSV = Zero
ITSM = Zero
Local0 = Zero
Local1 = (Arg0 & 0x01FF)
Local2 = (Arg0 & 0xFFFFFE00)
Switch (Local1)
{
Case (Zero)
{
If (!Local2)
{
Local0 |= One
Local0 |= 0x0100
Local0 |= Zero
Local0 |= 0x40000000
}
Else
{
Local0 |= Zero
Local0 |= 0x04
}
}it **seems to me** that only DYTC v4 is supported on that model - although I'm not sure. The ideapad_acpi driver will only expose the platform_profile functionality if it finds DYTC v5 or newer. The code was adapted from the thinkpad_acpi driver, and the platform_profile support was contributed to that driver by Lenovo employee Mark Pearson. I cannot remember the exact reason why earlier versions are not supported, you could possibly write to the PDx86 mailing list (platform-driver-x86 at vger.kernel.org) and CC him if you want to know more; or search back on lore.kernel.org.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=212985
--- Comment #5 from Tim S ([email protected]) --- Okay, that makes sense. Thank you so much!
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=212985
Luis O ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #6 from Luis O ([email protected]) ---
Sorry for bothering, but I noticed than in kernel 5.16.5 there's a new message:
[ 8.069951] ideapad_acpi VPC2004:00: DYTC_VERSION is less than 4 or is not allowed: 4 [ 8.069953] ideapad_acpi VPC2004:00: DYTC interface is not available
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are the assignee for the bug.