Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Accelerometer sensors stopped working on ASUS TM420IA

Need help with peripherals or devices?
Post Reply
Message
Author
aario
Posts: 23
Joined: 2019-04-18 06:26

Accelerometer sensors stopped working on ASUS TM420IA

#1 Post by aario »

Hi Folks,
Cannot get the accelerometer sensor to work. Obviously the kernel module is not loaded and trying to load it manually amd_sfhtp_hid gives:

Code: Select all

modprobe: FATAL: Module amd_sfhtp_hid not found in directory  /lib/modules/5.18.0-0.deb11.4-amd64
Some information:

Code: Select all

root@TM420IA:~# modprobe amd_sfhtp_hid
modprobe: FATAL: Module amd_sfhtp_hid not found in directory /lib/modules/5.18.0-0.deb11.4-amd64

Code: Select all

root@TM420IA:~# cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Code: Select all

root@TM420IA:~# uname -a
Linux TM420IA 5.18.0-0.deb11.4-amd64 #1 SMP PREEMPT_DYNAMIC Debian 5.18.16-1~bpo11+1 (2022-08-12) x86_64 GNU/Linux

Code: Select all

root@TM420IA:~# lspci | grep -i hub
03:00.7 Signal processing controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/Renoir Sensor Fusion Hub

Code: Select all

root@TM420IA:~# udevadm info --export-db | grep -i iio
root@TM420IA:~#
nothing....

Code: Select all

root@TM420IA:~# lsmod | grep amd
edac_mce_amd           40960  0
kvm_amd               151552  0
kvm                  1085440  1 kvm_amd
ccp                   114688  1 kvm_amd
amd_pmc                28672  0
amdgpu               8167424  72
gpu_sched              53248  1 amdgpu
i2c_algo_bit           16384  1 amdgpu
drm_dp_helper         159744  1 amdgpu
drm_ttm_helper         16384  1 amdgpu
ttm                    86016  2 amdgpu,drm_ttm_helper
drm_kms_helper        196608  4 drm_dp_helper,amdgpu
drm                   622592  28 gpu_sched,drm_dp_helper,drm_kms_helper,amdgpu,drm_ttm_helper,ttm
amd_sfh                32768  0
hid                   155648  4 i2c_hid,hid_multitouch,hid_generic,amd_sfh

Code: Select all

root@TM420IA:~# cat /proc/cmdline 
BOOT_IMAGE=/vmlinuz-5.18.0-0.deb11.4-amd64 root=/dev/mapper/vg-root1 ro quiet amd_iommu=off iommu=pt resume=UUID=0fad4cd9-b977-46d9-b20f-6763d8a1ee2b
Any idea how to get the kernel module amd_sfhtp_hid is highly appreciated. Thanks in advance.
Last edited by aario on 2022-11-30 09:54, edited 2 times in total.

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: modprobe: FATAL: Module amd_sfhtp_hid not found

#2 Post by p.H »

Where did you find that you need to load this module ?
I cannot find any module with that name even in the most recent kernel (6.1). The closest one is amd_sfh and lsmod shows it is already loaded.

aario
Posts: 23
Joined: 2019-04-18 06:26

Re: modprobe: FATAL: Module amd_sfhtp_hid not found

#3 Post by aario »

Thanks for the reply @p.H
I got the idea from here https://bbs.archlinux.org/viewtopic.php?id=252815.
Actually the problem is I have this accelometer sensor:

Code: Select all

03:00.7 Signal processing controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/Renoir Sensor Fusion Hub
and in the past on the same version of debian I had these files:

Code: Select all

/sys/devices/0020:1022:0001.0001/HID-SENSOR-200073.1.auto/iio:device0/in_accel_x_raw
/sys/devices/0020:1022:0001.0001/HID-SENSOR-200073.1.auto/iio:device0/in_accel_y_raw
/sys/devices/0020:1022:0001.0001/HID-SENSOR-200073.1.auto/iio:device0/in_accel_z_raw
Now after recent updates they have disappeared. That is the problem. I want to get the sensor to work. Any idea is highly appreciated.

LE_746F6D617A7A69
Posts: 932
Joined: 2020-05-03 14:16
Has thanked: 7 times
Been thanked: 65 times

Re: modprobe: FATAL: Module amd_sfhtp_hid not found

#4 Post by LE_746F6D617A7A69 »

aario wrote: 2022-11-27 17:08 Now after recent updates they have disappeared.
Did it worked with non-backported kernel?
Try to boot with previous kernel to test for regression.
Bill Gates: "(...) In my case, I went to the garbage cans at the Computer Science Center and I fished out listings of their operating system."
The_full_story and Nothing_have_changed

aario
Posts: 23
Joined: 2019-04-18 06:26

Re: modprobe: FATAL: Module amd_sfhtp_hid not found

#5 Post by aario »

LE_746F6D617A7A69 wrote: 2022-11-27 19:44
aario wrote: 2022-11-27 17:08 Now after recent updates they have disappeared.
Did it worked with non-backported kernel?
Try to boot with previous kernel to test for regression.
Thanks for the reply. Tried:

Code: Select all

linux-headers-5.10.0-18-amd64
linux-headers-5.10.0-18-common
linux-image-5.10.0-18-amd64
linux-kbuild-5.10

linux-headers-5.18.0-0.deb11.4-amd64
linux-headers-5.18.0-0.deb11.4-common
linux-image-5.18.0-0.deb11.4-amd64
linux-kbuild-5.18

linux-headers-6.0.0-0.deb11.2-amd64
linux-headers-6.0.0-0.deb11.2-common
linux-image-6.0.0-0.deb11.2-amd64
linux-kbuild-6.0
None fixed the issue. Plus, on 5.10 I don't have suspend (That's why I use backports in the first place). Still any ideas?

aario
Posts: 23
Joined: 2019-04-18 06:26

Re: modprobe: FATAL: Module amd_sfhtp_hid not found

#6 Post by aario »

Any ideas how to get accel sensors to work on Asus TM420IA?

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: Accelerometer sensors stopped working on ASUS TM420IA

#7 Post by p.H »

aario wrote: 2022-11-27 17:08 I got the idea from here https://bbs.archlinux.org/viewtopic.php?id=252815.
IIUC this thread is about an early driver version which was not merged as is into the mainline kernel. The module name was different when it was eventually merged in Linux 5.11.

Aki
Global Moderator
Global Moderator
Posts: 2816
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 68 times
Been thanked: 382 times

Re: modprobe: FATAL: Module amd_sfhtp_hid not found

#8 Post by Aki »

aario wrote: 2022-11-30 09:53 Any ideas how to get accel sensors to work on Asus TM420IA?
See https://www.phoronix.com/news/AMD-Senso ... ub-SFH-1.1

HTH
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

aario
Posts: 23
Joined: 2019-04-18 06:26

Re: modprobe: FATAL: Module amd_sfhtp_hid not found

#9 Post by aario »

Aki wrote: 2022-12-02 19:03
aario wrote: 2022-11-30 09:53 Any ideas how to get accel sensors to work on Asus TM420IA?
See https://www.phoronix.com/news/AMD-Senso ... ub-SFH-1.1

HTH
Thanks for the reply. I see it talks about the patches being merged into 5.20. As I wrote above, I have tried:

Code: Select all

linux-headers-5.10.0-18-amd64
linux-headers-5.10.0-18-common
linux-image-5.10.0-18-amd64
linux-kbuild-5.10

linux-headers-5.18.0-0.deb11.4-amd64
linux-headers-5.18.0-0.deb11.4-common
linux-image-5.18.0-0.deb11.4-amd64
linux-kbuild-5.18

linux-headers-6.0.0-0.deb11.2-amd64
linux-headers-6.0.0-0.deb11.2-common
linux-image-6.0.0-0.deb11.2-amd64
linux-kbuild-6.0
So why is that it still does not work for me? And it used to work before on the same computer and same installation. It suddenly stopped working. I think it should be some config file somewhere disabled this?

Aki
Global Moderator
Global Moderator
Posts: 2816
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 68 times
Been thanked: 382 times

Re: modprobe: FATAL: Module amd_sfhtp_hid not found

#10 Post by Aki »

Hi
aario wrote: 2022-12-03 13:45 [..] it used to work before on the same computer and same installation. It suddenly stopped working. [..]
Can you send a system log's extract of previous booting with a kernel when the sensor has been recognized ?

Anyway, the kernel module's name should be amd_sfh.ko and it's in the following kernels from debian stable-backports: https://packages.debian.org/search?mode ... amd_sfh.ko . Try to probe the hardware using this kernel module.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

aario
Posts: 23
Joined: 2019-04-18 06:26

Re: modprobe: FATAL: Module amd_sfhtp_hid not found

#11 Post by aario »

Thanks for the reply.
Aki wrote: 2022-12-06 06:04 Hi
aario wrote: 2022-12-03 13:45 [..] it used to work before on the same computer and same installation. It suddenly stopped working. [..]
Can you send a system log's extract of previous booting with a kernel when the sensor has been recognized ?
Unfortunately it not possible. I don't have those logs anymore (/var/log is mounted as tmpfs) and I don't know which version of which package to roll back to, to make it work again.
Aki wrote: 2022-12-06 06:04 Anyway, the kernel module's name should be amd_sfh.ko and it's in the following kernels from debian stable-backports: https://packages.debian.org/search?mode ... amd_sfh.ko . Try to probe the hardware using this kernel module.
The module is already loaded. Unloading it with rmmod and then modprobe again also did not solve the problem. Any other ideas?

aario
Posts: 23
Joined: 2019-04-18 06:26

Re: Accelerometer sensors stopped working on ASUS TM420IA

#12 Post by aario »

Bump?

Post Reply