You are not logged in.

#1 2017-12-04 00:59:20

xtian
Member
Registered: 2013-08-25
Posts: 179

Why doesn't 'thinkpad_acpi' show as loaded following ACPI page instruc

The ACPI Modules page lists 'thinkpad_acpi' among available modules.

Further down it gives the instruction to generate "complete list of your running kernel"

$ ls -l /usr/lib/modules/$(uname -r)/kernel/drivers/acpi 
total 112K
drwxr-xr-x 2 root root 4.0K Dec  1 14:08 apei/
drwxr-xr-x 2 root root 4.0K Dec  1 14:08 dptf/
drwxr-xr-x 2 root root 4.0K Dec  1 14:08 nfit/
-rw-r--r-- 1 root root 3.0K Nov 30 10:45 ac.ko.gz
-rw-r--r-- 1 root root 2.8K Nov 30 10:45 acpi_configfs.ko.gz
-rw-r--r-- 1 root root 4.1K Nov 30 10:45 acpi_extlog.ko.gz
-rw-r--r-- 1 root root 4.9K Nov 30 10:45 acpi_ipmi.ko.gz
-rw-r--r-- 1 root root 5.5K Nov 30 10:45 acpi_pad.ko.gz
-rw-r--r-- 1 root root 7.0K Nov 30 10:45 battery.ko.gz
-rw-r--r-- 1 root root 5.6K Nov 30 10:45 button.ko.gz
-rw-r--r-- 1 root root 1.8K Nov 30 10:45 custom_method.ko.gz
-rw-r--r-- 1 root root 2.3K Nov 30 10:45 ec_sys.ko.gz
-rw-r--r-- 1 root root 4.1K Nov 30 10:45 fan.ko.gz
-rw-r--r-- 1 root root 3.7K Nov 30 10:45 sbshc.ko.gz
-rw-r--r-- 1 root root 6.0K Nov 30 10:45 sbs.ko.gz
-rw-r--r-- 1 root root 7.9K Nov 30 10:45 thermal.ko.gz
-rw-r--r-- 1 root root  15K Nov 30 10:45 video.ko.gz

In the context of the page, I take this to mean these are the currently loaded ACPI modules.
But the 'thinkpad_acpi' module isn't listed here, but it is shown as loaded in `/proc/modules`

$ cat /proc/modules | egrep 'thinkpad*' 
thinkpad_acpi 77824 1 - Live 0xffffffffa053b000
nvram 16384 1 thinkpad_acpi, Live 0xffffffffa03f8000
snd 69632 9 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,thinkpad_acpi,snd_hwdep,snd_pcm,snd_timer, Live 0xffffffffa0425000
rfkill 20480 4 bluetooth,thinkpad_acpi,cfg80211, Live 0xffffffffa032f000
video 36864 2 i915,thinkpad_acpi, Live 0xffffffffa019f000
led_class 16384 4 iwlmvm,input_leds,thinkpad_acpi,sdhci, Live 0xffffffffa0153000

What am I missing? Are some of these listed items somehow owned by the loaded 'thinkpad_acpi' module? Or something else?

Last edited by xtian (2017-12-04 01:00:56)

Offline

#2 2017-12-04 01:29:33

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,131

Re: Why doesn't 'thinkpad_acpi' show as loaded following ACPI page instruc

You're looking in the wrong place. It is in kernel/drivers/platform/x86 because, I assume, it is platform-specific.

I have no idea why the wiki claims that command gives a 'complete list of your running kernel'. It isn't even clear what that is supposed to mean, since it clearly contradicts the lines right before.

Last edited by cfr (2017-12-04 01:32:01)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB