From: Andrew Kallmeyer <kallmeyeras@gmail.com>
To: Armin Wolf <W_Armin@gmx.de>
Cc: Maximilian Luz <luzmaximilian@gmail.com>,
platform-driver-x86@vger.kernel.org
Subject: Re: ideapad_laptop tablet mode toggle detection
Date: Sun, 5 Mar 2023 14:59:21 -0800 [thread overview]
Message-ID: <CAG4kvq9QzoXcwTxTFzoQeQDnMEHfWCG4JmLgQ-sMn_WjX-mVJw@mail.gmail.com> (raw)
In-Reply-To: <e95a38c0-15e0-92e2-97c0-4d09219158f5@gmx.de>
On Sun, Mar 5, 2023 at 1:40 PM Armin Wolf <W_Armin@gmx.de> wrote:
>
> Hi,
>
> could it be that bit 5 is set to disable the touchpad when the device switches
> to tablet mode? I suspect that the query handler does the following:
> 1. Notify VPC0 to disable the touchpad.
> 2. Notify ACPI WMI, which does submit the necessary scancode for switching to tablet mode.
I think you're right about this notification being for the touchpad,
although at least on my machine
there is no other touchpad switch. So this is identical for my machine
specifically. In this function
from the decompiled ACPI dump you can see VCP0 and WM00 notified:
Method (_Q44, 0, NotSerialized) // _Qxx: EC Query, xx=0x00-0xFF
{
P80B = 0x44
Notify (VPC0, 0x80) // Status Change
WEID = 0xF4
Notify (WM00, 0x80) // Status Change
}
This WM00 device sounds like the WMI you're talking about, however I'm
getting those errors
about this device not existing in journalctl still. I was asking
before about how to create this
missing device but it's not clear to me if that is possible.
kernel: ACPI BIOS Error (bug): Could not resolve symbol
[\_SB.PC00.LPCB.EC0._Q44.WM00], AE_NOT_FOUND
I searched in my .dsl files from the acpidump and wasn't able to find
any of the 3 ideapad_wmi_ids
listed in the driver. Maybe you have an idea of how to interface with
this missing WM00 object though.
>
> Could you provide the output of "acpidump"? Because i suspect that the virtual key handling
> is done using ACPI WMI, as many modern devices are using this approach. In this case, you
> could experiment with ideapad_wmi_notify(), and maybe take a look at ideapad_wmi_ids[].
>
> Armin Wolf
Here is the raw acpidump output: https://la.ask.systems/temp/acpidump.out
- Andrew
next prev parent reply other threads:[~2023-03-05 22:59 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-01 4:45 ideapad_laptop tablet mode toggle detection Andrew Kallmeyer
2023-03-04 5:46 ` Andrew Kallmeyer
2023-03-04 20:14 ` Maximilian Luz
2023-03-04 21:37 ` Armin Wolf
2023-03-05 5:42 ` Andrew Kallmeyer
2023-03-05 21:40 ` Armin Wolf
2023-03-05 22:59 ` Andrew Kallmeyer [this message]
2023-03-06 1:26 ` Armin Wolf
2023-03-06 1:41 ` Andrew Kallmeyer
2023-03-06 1:58 ` Armin Wolf
2023-03-06 1:41 ` Armin Wolf
2023-03-06 8:38 ` Hans de Goede
2023-03-08 5:14 ` Andrew Kallmeyer
2023-03-08 5:21 ` Andrew Kallmeyer
2023-03-08 10:13 ` Hans de Goede
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAG4kvq9QzoXcwTxTFzoQeQDnMEHfWCG4JmLgQ-sMn_WjX-mVJw@mail.gmail.com \
--to=kallmeyeras@gmail.com \
--cc=W_Armin@gmx.de \
--cc=luzmaximilian@gmail.com \
--cc=platform-driver-x86@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.