From: tom@catboys.cloud
To: linux-input@vger.kernel.org,
Basavaraj Natikar <basavaraj.natikar@amd.com>,
Steven Presser <steve@pressers.name>
Subject: Re: amd-sfh bug: Accelerometer will not initialize on Lenovo 300e 2nd generation
Date: Sun, 19 Nov 2023 14:19:07 +0100 [thread overview]
Message-ID: <2306055.ElGaqSPkdT@toms-envy-x360> (raw)
In-Reply-To: <744f43e1-93f2-97c8-03b8-f9025386abe0@pressers.name>
Hi there,
> I have a Lenovo 300e 2nd Generation, a "2-in-1". This device uses an
> accelerometer via the AMD Sensor Fusion Hub to detect laptop and tablet
> mode. Despite being attached to the (supported) AMD SFH, this
> accelerometer does not function. When the system tries to initialize the
> accelerometer, it simply reports:
>
> [ 8.850222] pcie_mp2_amd 0000:04:00.7: sid 0x0 (accelerometer) status
> 0x5
> [ 8.850240] pcie_mp2_amd 0000:04:00.7: Failed to discover, sensors
> not enabled is 0
> [ 8.850276] pcie_mp2_amd: probe of 0000:04:00.7 failed with error -95
>
> The device works correctly under Windows, so I know this isn't broken
> hardware.
I have an "HP ENVY x360 Convertible 13-ay0xxx " and the same problem. The
sensors work on Windows, but on Linux I can't get them to work (running kernel
6.6.1).
I'm getting a similar dmesg message:
[ 3.353367] pcie_mp2_amd 0000:04:00.7: enabling device (0000 -> 0002)
[ 8.154761] pcie_mp2_amd 0000:04:00.7: Failed to discover, sensors not
enabled is 0
[ 8.154793] pcie_mp2_amd: probe of 0000:04:00.7 failed with error -95
I'd also be happy to help with debugging this.
Thank you for your time!
Tom
prev parent reply other threads:[~2023-11-19 13:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-17 20:56 amd-sfh bug: Accelerometer will not initialize on Lenovo 300e 2nd generation Steven Presser
2023-11-19 13:19 ` tom [this message]
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=2306055.ElGaqSPkdT@toms-envy-x360 \
--to=tom@catboys.cloud \
--cc=basavaraj.natikar@amd.com \
--cc=linux-input@vger.kernel.org \
--cc=steve@pressers.name \
/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