From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ADA30C4708F for ; Tue, 1 Jun 2021 19:45:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8944E613BD for ; Tue, 1 Jun 2021 19:45:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233853AbhFATqq (ORCPT ); Tue, 1 Jun 2021 15:46:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:37220 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233397AbhFATqq (ORCPT ); Tue, 1 Jun 2021 15:46:46 -0400 Received: by mail.kernel.org (Postfix) with ESMTPS id 65C89613BD for ; Tue, 1 Jun 2021 19:45:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1622576704; bh=UEgZNKZbqRLWPtXiSl9Xyx+94jcVC3WwynvfDvasLNc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=hjQyw/O2BY9q1zxYdWU0/qm1tYFfPGRg9I63qgc/mNUSsYEGRLiWRK8zT2q85xN+D a9Qd2BNlUvRJam2lbjtmaIyg1pLMrdlAQyLnMpjV+HRepOb6oJR7SZgMavNLuQomy6 VCsOwXu0GWwpVsp1I66iKnM/vf10Ezh8Y9x1LuBvi9THedL03+B8KhlIRt7hKbkSYg kruq9QhA6tm26BQHqnIiBExozZIwsUuQyDGV6ft1/t4ZVCVghViTMpqqxQjjSNriWY bJ034yP8eh8K/p2mkH7h/XPq/Y2ZR7e+UKWkfNWE2dw7KXxGDK0b9epZnVt+M9a7Ut n84IVQAXfb/Ig== From: bugzilla-daemon@bugzilla.kernel.org To: platform-driver-x86@vger.kernel.org Subject: [Bug 213297] ideapad-laptop: DYTC interface not found, several functionalities missing Date: Tue, 01 Jun 2021 19:45:04 +0000 X-Bugzilla-Reason: None X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: AssignedTo drivers_platform_x86@kernel-bugs.osdl.org X-Bugzilla-Product: Drivers X-Bugzilla-Component: Platform_x86 X-Bugzilla-Version: 2.5 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: johannes.penssel@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: drivers_platform_x86@kernel-bugs.osdl.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugzilla.kernel.org/ Auto-Submitted: auto-generated MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: platform-driver-x86@vger.kernel.org https://bugzilla.kernel.org/show_bug.cgi?id=3D213297 --- Comment #6 from Johannes P (johannes.penssel@gmail.com) --- (In reply to Barnab=C3=A1s P=C5=91cze from comment #5) > The DSDT contains the following: >=20 > Method (DYTC, 1, Serialized) > { > Local0 =3D Arg0 > DYTP =3D Local0 > Local1 =3D Zero > Switch (ToInteger ((Local0 & 0x01FF))) > { > Case (Zero) > { > Local1 =3D 0x0100 > Local1 |=3D 0x40000000 > Local1 |=3D Zero > Local1 |=3D One > } > ... >=20 >=20 > and you can also see that the DYTC method returns "Local1", which is set = to > 0x40000101 (I think - but the important part is the 0x40...). And you can > also determine from the driver that the version is in bits 28-31 of the > return value of the DYTC method when called with 0 as its first argument. > And those bits are exactly 4. Finally, I understand! Thank you very much! --=20 You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.=