X86 platform drivers
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: platform-driver-x86@vger.kernel.org
Subject: [Bug 220670] New: Accelerometer missing on cold boot (Lenovo Yoga 7 16AKP10, Ryzen AI 7 350)
Date: Thu, 16 Oct 2025 08:10:08 +0000	[thread overview]
Message-ID: <bug-220670-215701@https.bugzilla.kernel.org/> (raw)

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

            Bug ID: 220670
           Summary: Accelerometer missing on cold boot (Lenovo Yoga 7
                    16AKP10, Ryzen AI 7 350)
           Product: Drivers
           Version: 2.5
          Hardware: AMD
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Platform_x86
          Assignee: drivers_platform_x86@kernel-bugs.osdl.org
          Reporter: novatitas366@gmail.com
        Regression: No

Created attachment 308813
  --> https://bugzilla.kernel.org/attachment.cgi?id=308813&action=edit
dmesg output after cold boot

Laptop: Lenovo Yoga 7 2-in-1 16AKP10
CPU: AMD Ryzen AI 7 350
BIOS version: QXCN19WW
OS: CachyOS but issue persists in other linux distros like fedora
Kernel tested: <6.18.0-rc1-1-cachyos-rc, 6.17.0-rc5-2-cachyos-rc, 6.16.6-3>
Desktop: KDE

The built-in accelerometer is not detected on a cold boot into Linux.
If I boot into Windows 11 once and then shut down (not restart) and boot into
Linux, the accelerometer works normally — it appears under
/sys/bus/iio/devices/iio:device3 and monitor-sensor reports data.
After a full power-off or Linux reboot, it disappears again until I boot
Windows again.

Steps to reproduce:


1.Power off laptop completely.
2.Boot directly into Linux.
3.Run:
   ls /sys/bus/iio/devices
   monitor-sensor

  no accelerometer device, monitor-sensor also shows no accelerometer

4.Boot into Windows 11, let it load fully, then Shut down (not restart).
5.Boot Linux again → accelerometer now present and monitor auto rotation works.
6.Reboot Linux → accelerometer disappears again.


Expected behavior:
the accelerometer should initialize on a cold boot, without needing a prior
Windows session.

Actual behavior:
No IIO devices appear on cold boot; accelerometer is only initialized after
Windows has run once.

Please let me know if you need any additional outputs.

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

You are receiving this mail because:
You are watching the assignee of the bug.

             reply	other threads:[~2025-10-16  8:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-16  8:10 bugzilla-daemon [this message]
2025-10-16  8:14 ` [Bug 220670] Accelerometer missing on cold boot (Lenovo Yoga 7 16AKP10, Ryzen AI 7 350) bugzilla-daemon
2025-10-16 13:31 ` bugzilla-daemon

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=bug-220670-215701@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox