You are not logged in.

#1 2020-04-18 18:25:52

schard
Member
From: Hannover
Registered: 2016-05-06
Posts: 752
Website

amd-sfh-hid-dkms - DKMS version of the experimental AMD SFH driver

As maybe many of you, just like me, got annoyed by having to re-build the entire kernel when testing updates on the linux-sfh package, I took the time to write a DKMS package that ships the driver:
https://aur.archlinux.org/packages/amd-sfh-hid-dkms/
I tested it successfully with the stable kernel.
Please let me know if you encounter any bugs or errors.

Note on [Firmware Bug]: No sensors marked active!
If you do not get screen rotation to work with the driver and encouter the error message

[Firmware Bug]: No sensors marked active!

in your dmesg output, your laptop manufacturer probably missed to write information about sensors connected to the sensor hub into its corresponding P2C register.
Try loading the amd_sfh_hid module with an explicitely enabled primary accelerometer:

$ cat /etc/modprobe.d/amd_sfh.conf
options amd_sfh_hid sensor_mask=1

Be sure to have the modconf hook enabled in your /etc/mkinitcpio.conf for this to take effect.

Last edited by schard (2020-05-23 13:43:51)

Offline

Board footer

Powered by FluxBB