platform-driver-x86.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 212985] ideapad_acpi: VPC2004:00: DYTC interface is not available. platform_profile interface is unavailable
       [not found] <bug-212985-215701@https.bugzilla.kernel.org/>
@ 2021-05-07 20:18 ` bugzilla-daemon
  2021-05-07 20:57 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2021-05-07 20:18 UTC (permalink / raw)
  To: platform-driver-x86

https://bugzilla.kernel.org/show_bug.cgi?id=212985

Borislav Petkov (bp@alien8.de) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bp@alien8.de
           Assignee|platform_x86_64@kernel-bugs |platform-driver-x86@vger.ke
                   |.osdl.org                   |rnel.org

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 212985] ideapad_acpi: VPC2004:00: DYTC interface is not available. platform_profile interface is unavailable
       [not found] <bug-212985-215701@https.bugzilla.kernel.org/>
  2021-05-07 20:18 ` [Bug 212985] ideapad_acpi: VPC2004:00: DYTC interface is not available. platform_profile interface is unavailable bugzilla-daemon
@ 2021-05-07 20:57 ` bugzilla-daemon
  2021-05-07 22:56 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2021-05-07 20:57 UTC (permalink / raw)
  To: platform-driver-x86

https://bugzilla.kernel.org/show_bug.cgi?id=212985

Barnabás Pőcze (pobrn@protonmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pobrn@protonmail.com

--- Comment #1 from Barnabás Pőcze (pobrn@protonmail.com) ---
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"?

> The conservation_mode interface 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.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 212985] ideapad_acpi: VPC2004:00: DYTC interface is not available. platform_profile interface is unavailable
       [not found] <bug-212985-215701@https.bugzilla.kernel.org/>
  2021-05-07 20:18 ` [Bug 212985] ideapad_acpi: VPC2004:00: DYTC interface is not available. platform_profile interface is unavailable bugzilla-daemon
  2021-05-07 20:57 ` bugzilla-daemon
@ 2021-05-07 22:56 ` bugzilla-daemon
  2021-05-07 22:58 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2021-05-07 22:56 UTC (permalink / raw)
  To: platform-driver-x86

https://bugzilla.kernel.org/show_bug.cgi?id=212985

--- Comment #2 from Tim S (tsweet64@protonmail.com) ---
Thanks a lot.

> 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.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 212985] ideapad_acpi: VPC2004:00: DYTC interface is not available. platform_profile interface is unavailable
       [not found] <bug-212985-215701@https.bugzilla.kernel.org/>
                   ` (2 preceding siblings ...)
  2021-05-07 22:56 ` bugzilla-daemon
@ 2021-05-07 22:58 ` bugzilla-daemon
  2021-05-08  1:09 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2021-05-07 22:58 UTC (permalink / raw)
  To: platform-driver-x86

https://bugzilla.kernel.org/show_bug.cgi?id=212985

--- Comment #3 from Tim S (tsweet64@protonmail.com) ---
Created attachment 296693
  --> https://bugzilla.kernel.org/attachment.cgi?id=296693&action=edit
ACPI: Dissassembly of dsdt.dat via iasl

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 212985] ideapad_acpi: VPC2004:00: DYTC interface is not available. platform_profile interface is unavailable
       [not found] <bug-212985-215701@https.bugzilla.kernel.org/>
                   ` (3 preceding siblings ...)
  2021-05-07 22:58 ` bugzilla-daemon
@ 2021-05-08  1:09 ` bugzilla-daemon
  2021-05-08  3:01 ` bugzilla-daemon
  2022-02-05 18:02 ` bugzilla-daemon
  6 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2021-05-08  1:09 UTC (permalink / raw)
  To: platform-driver-x86

https://bugzilla.kernel.org/show_bug.cgi?id=212985

--- Comment #4 from Barnabás Pőcze (pobrn@protonmail.com) ---
> 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.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 212985] ideapad_acpi: VPC2004:00: DYTC interface is not available. platform_profile interface is unavailable
       [not found] <bug-212985-215701@https.bugzilla.kernel.org/>
                   ` (4 preceding siblings ...)
  2021-05-08  1:09 ` bugzilla-daemon
@ 2021-05-08  3:01 ` bugzilla-daemon
  2022-02-05 18:02 ` bugzilla-daemon
  6 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2021-05-08  3:01 UTC (permalink / raw)
  To: platform-driver-x86

https://bugzilla.kernel.org/show_bug.cgi?id=212985

--- Comment #5 from Tim S (tsweet64@protonmail.com) ---
Okay, that makes sense. Thank you so much!

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 212985] ideapad_acpi: VPC2004:00: DYTC interface is not available. platform_profile interface is unavailable
       [not found] <bug-212985-215701@https.bugzilla.kernel.org/>
                   ` (5 preceding siblings ...)
  2021-05-08  3:01 ` bugzilla-daemon
@ 2022-02-05 18:02 ` bugzilla-daemon
  6 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2022-02-05 18:02 UTC (permalink / raw)
  To: platform-driver-x86

https://bugzilla.kernel.org/show_bug.cgi?id=212985

Luis O (lortegap@protonmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lortegap@protonmail.com

--- Comment #6 from Luis O (lortegap@protonmail.com) ---
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

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-02-05 18:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-212985-215701@https.bugzilla.kernel.org/>
2021-05-07 20:18 ` [Bug 212985] ideapad_acpi: VPC2004:00: DYTC interface is not available. platform_profile interface is unavailable bugzilla-daemon
2021-05-07 20:57 ` bugzilla-daemon
2021-05-07 22:56 ` bugzilla-daemon
2021-05-07 22:58 ` bugzilla-daemon
2021-05-08  1:09 ` bugzilla-daemon
2021-05-08  3:01 ` bugzilla-daemon
2022-02-05 18:02 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).