amd-sfh bug: Accelerometer will not initialize on Lenovo 300e 2nd generation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Basavaraj, dear list,

Per the maintainers file, I believe this is the best way to contact you about this issue. If that's not true, I'm happy to move this conversation somewhere else.

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've captured a dmesg (with debug enabled in the kernel module), lspci, and dmidecide. All of them are available here: https://gist.github.com/spresse1/4739eeec0becf6110d605d5f567b7a69. These were captured using git revision b84acc11b1c9552c9ca3a099b1610a6018619332 of the main branch. I'm aware there's a patchset currently in progress for the SFH. I'm happy to retest with that, but it doesn't look to me as if it would affect this issue.

I am happy to assist in debugging this however I can, including giving remote access to the system. At this point, I have debugged this issue as far as I am able without documentation (that I believe is only available with an AMD NDA).

How can I move this forward and how can we get this sensor working?

Thank you in advance for your help!
Steve



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux