Bug 207431
Summary: | AMD-SFH detected but not working | ||
---|---|---|---|
Product: | Drivers | Reporter: | Laurence Bonat (laurence.bonat) |
Component: | I2C | Assignee: | Drivers/I2C virtual user (drivers-i2c) |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | laurence.bonat, mario.limonciello, nehal-bakulchandra.shah |
Priority: | P1 | ||
Hardware: | x86-64 | ||
OS: | Linux | ||
Kernel Version: | 5.6.6 patches[SFH-Add-Support-for-AMD-Sensor-Fusion-Hub, 0001-ACPI-platform-Add-SMB0001-HID-to-forbidden_id_list] | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
dmesg
dmesg output of laptop |
Description
Laurence Bonat
2020-04-25 09:47:49 UTC
The drivers for SFH have been merged into mainline as of 5.11, and in 5.12 there are some other fixes. Can you take a look at a more modern kernel and see if you still have problems with it? (In reply to mario.limonciello from comment #1) > The drivers for SFH have been merged into mainline as of 5.11, and in 5.12 > there are some other fixes. Can you take a look at a more modern kernel and > see if you still have problems with it? Hi Mario, I quickly tried the new kernel 5.11 and it seems to detect the accelerometer correctly, but when i try the command monitor-sensor, it doesn't detect the changes in device orientation: (monitor-sensor output) Waiting for iio-sensor-proxy to appear +++ iio-sensor-proxy appeared === Has accelerometer (orientation: undefined) === No ambient light sensor === No proximity sensor (dmesg line, no errors) [ 0.974789] pcie_mp2_amd 0000:04:00.7: enabling device (0000 -> 0002) Later I will try with the new 5.12 kernel, but from what I have seen the module seems to not have been made for the new Renoir CPU'S, so it doesn't detect the right hardware configuration. Let me know if you need more information, I will try to answer as soon as I can Hi Latest kernel has Renior support . Can you check with that ? Hi, I tried to use kernel 5.13.10 and still the issue isn't fixed. I still get the same errors, I can detect the sensor, but it cannot give me the orientation(orientation:undefined). Can you tell me if you need more specific information? Because it would be very cool to have the rotation on these laptops... monitor-sensor output: Waiting for iio-sensor-proxy to appear +++ iio-sensor-proxy appeared === Has accelerometer (orientation: undefined) === No ambient light sensor === No proximity sensor dmesg line: [ 0.969315] pcie_mp2_amd 0000:04:00.7: enabling device (0000 -> 0002) Thank you for the response, I will wait for further indications. Hi Changes specific to RN are from 5.14-rc1 onwards. Can you check with 5.14.rc3? Nehal Created attachment 298315 [details]
dmesg output of laptop
Hi,
I tried with Kernel 5.14.rc5 and still got the same issues. Some more details.
lspci -knn output:
04:00.7 Signal processing controller [1180]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/Renoir Sensor Fusion Hub [1022:15e4]
Subsystem: Hewlett-Packard Company Raven/Raven2/Renoir Sensor Fusion Hub [103c:876e]
Kernel driver in use: pcie_mp2_amd
Kernel modules: amd_sfh
I add the integral dmesg file, in hope that it will help find the problem. Relevant lines are the following:
[ 0.311473] pci 0000:04:00.7: [1022:15e4] type 00 class 0x118000
[ 0.311485] pci 0000:04:00.7: reg 0x18: [mem 0xd0000000-0xd00fffff]
[ 0.311493] pci 0000:04:00.7: reg 0x24: [mem 0xd04cc000-0xd04cdfff]
[ 0.311499] pci 0000:04:00.7: enabling Extended Tags
[ 0.627467] pci 0000:04:00.7: Adding to iommu group 5
[ 0.923943] pcie_mp2_amd 0000:04:00.7: enabling device (0000 -> 0002)
It still seems that it doesn't recognize the sensor for the Renoir Cpu's.
If you need some other detailed logs please tell me, I am more than happy to help.
Laurence
Can you please tell us the system details? - Laptop model -Bios version Hi, the system details are as following: HP x360 Envy 13-ay0285ng With AMD ryzen 7 4700u and 16GB of Ram. BIOS revision F.18 If you need to test something, I would like to help if I can. Laurence Hi Thanks for the update this seems to be duplicate of https://bugzilla.kernel.org/show_bug.cgi?id=212615 and we are looking into that. Nehal *** This bug has been marked as a duplicate of bug 212615 *** |