Closed zorun closed 3 years ago
This is a known issue, as you most likely have a Renoir device. Unfortunately there's nothing I can do about that. AMD needs to provide us with an appropriate report descriptor for the accelerometer used on Renoir devices. Until they do so, users with Renoir devices are SOL.
Ah right, thanks, I had missed that part. Too bad :/
Hi,
I tried your driver on a Asus Vivobook Flip 14 laptop (TM420IA-EC172T) that also has an AMD SFH.
The module loads fine and an accelerometer device appears, but it does not return any value:
I built your driver as an out-of-tree module, and I tried with and without the
amd_iommu=off
boot option. By default, only an accelerometer device is created. I tried to force the other sensors withsensor_mask
: it creates new devices for gyroscope and magnetometer, but they also don't return any value.I also tried to backport the upstream driver that was merged in linux 5.11 (see https://github.com/zorun/amd-sfh-hid-backport) and it gives the same result (accelerometer device, but no value).
This is on Ubuntu 20.04 with a 5.8 kernel:
Linux axoloto 5.8.0-41-generic #46~20.04.1-Ubuntu SMP Mon Jan 18 17:52:23 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Any idea on how to further debug this? Thanks!