Open tubiakou opened 1 year ago
Interestingly it fails in the step Creating platform profile failed
. It is a step that should be independent of the model. I added more debug output to the code. Please get the new code, compile it, and try to force-load it again and give the end of the dmesg output again (like above).
Also check if there is another module that provides platform profile support, e.g. get the output of
sudo dmesg | grep platform
sudo dmesg | grep profile
Extremely quick response - thank you very much.
$ cd /var/data/src/LenovoLegionLinux/
$ git pull
remote: Enumerating objects: 62, done.
remote: Counting objects: 100% (62/62), done.
remote: Compressing objects: 100% (26/26), done.
remote: Total 54 (delta 39), reused 40 (delta 25), pack-reused 0
Unpacking objects: 100% (54/54), 5.36 KiB | 152.00 KiB/s, done.
From https://github.com/johnfanv2/LenovoLegionLinux
4f8b030..9d91706 main -> origin/main
Updating 4f8b030..9d91706
Fast-forward
kernel_module/legion-laptop.c | 182 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------
python/legion_linux/legion_linux/legion.py | 58 +++++++++++++++++++++++++++++++++++++--------------------
python/legion_linux/legion_linux/legion_gui.py | 69 +++++++++++++++++++++++++++++++++++++-------------------------------
3 files changed, 227 insertions(+), 82 deletions(-)
$ cd kernel_module/
$ make clean
make -C /lib/modules/6.4.4-0.rc1.250.vanilla.fc38.x86_64/build M=/var/data/src/LenovoLegionLinux/kernel_module clean
make[1]: Entering directory '/usr/src/kernels/6.4.4-0.rc1.250.vanilla.fc38.x86_64'
CLEAN /var/data/src/LenovoLegionLinux/kernel_module/Module.symvers
make[1]: Leaving directory '/usr/src/kernels/6.4.4-0.rc1.250.vanilla.fc38.x86_64'
$ make
make -C /lib/modules/6.4.4-0.rc1.250.vanilla.fc38.x86_64/build M=/var/data/src/LenovoLegionLinux/kernel_module modules
make[1]: Entering directory '/usr/src/kernels/6.4.4-0.rc1.250.vanilla.fc38.x86_64'
CC [M] /var/data/src/LenovoLegionLinux/kernel_module/legion-laptop.o
MODPOST /var/data/src/LenovoLegionLinux/kernel_module/Module.symvers
CC [M] /var/data/src/LenovoLegionLinux/kernel_module/legion-laptop.mod.o
LD [M] /var/data/src/LenovoLegionLinux/kernel_module/legion-laptop.ko
BTF [M] /var/data/src/LenovoLegionLinux/kernel_module/legion-laptop.ko
Skipping BTF generation for /var/data/src/LenovoLegionLinux/kernel_module/legion-laptop.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/src/kernels/6.4.4-0.rc1.250.vanilla.fc38.x86_64'
$ sudo make forcereloadmodule
rmmod legion-laptop.ko || true
insmod legion-laptop.ko force=1
dmesg --ctime
(bunch of prior info)
[Mon Jul 17 17:41:35 2023] legion_laptop: legion_laptop exit
[Mon Jul 17 17:41:35 2023] legion_laptop: legion_laptop starts loading
[Mon Jul 17 17:41:35 2023] legion PNP0C09:00: legion_laptop platform driver probing
[Mon Jul 17 17:41:35 2023] legion PNP0C09:00: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82UF; DMI_BIOS_VERSION:J1CN38WW
[Mon Jul 17 17:41:35 2023] legion_laptop: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82UF; DMI_BIOS_VERSION:J1CN38WW
[Mon Jul 17 17:41:35 2023] legion PNP0C09:00: is_denied: 0; is_allowed: 0; do_load_by_list: 0; do_load: 1
[Mon Jul 17 17:41:35 2023] legion PNP0C09:00: legion_laptop is forced to load.
[Mon Jul 17 17:41:35 2023] legion PNP0C09:00: legion_laptop is forced to load and would otherwise be not loaded
[Mon Jul 17 17:41:35 2023] legion PNP0C09:00: Using configuration for system: GKCN
[Mon Jul 17 17:41:35 2023] legion PNP0C09:00: ACPI CFG: 2081284372
[Mon Jul 17 17:41:35 2023] legion_laptop: Creating RAM access to embedded controller
[Mon Jul 17 17:41:35 2023] legion_laptop: Succeffuly mapped embedded controller: 0xfe00d400 (in RAM)/0x0 (in EC) to virtual 0x0000000043cff4c9
[Mon Jul 17 17:41:35 2023] legion PNP0C09:00: Read embedded controller ID 0x8227
[Mon Jul 17 17:41:35 2023] legion PNP0C09:00: Creating debugfs inteface
[Mon Jul 17 17:41:35 2023] legion_laptop: Creating sysfs inteface
[Mon Jul 17 17:41:35 2023] legion_laptop: Creating hwmon interface
[Mon Jul 17 17:41:35 2023] legion_laptop: Creating platform profile support
[Mon Jul 17 17:41:35 2023] legion PNP0C09:00: Creating platform profile failed: -17
[Mon Jul 17 17:41:35 2023] legion_laptop: Unloading legion hwon
[Mon Jul 17 17:41:35 2023] legion_laptop: Unloading legion hwon done
[Mon Jul 17 17:41:35 2023] legion_laptop: Unloading legion sysfs
[Mon Jul 17 17:41:35 2023] legion_laptop: Unloading legion sysfs done
[Mon Jul 17 17:41:35 2023] legion_laptop: Unloading legion dubugfs
[Mon Jul 17 17:41:35 2023] legion_laptop: Unloading legion dubugfs done
[Mon Jul 17 17:41:35 2023] legion_laptop: Unloading legion ecram
[Mon Jul 17 17:41:35 2023] legion_laptop: Unloading legion ecram done
[Mon Jul 17 17:41:35 2023] legion_laptop: Unmapping embedded controller memory at 0xfe00d400 (in RAM)/0x0 (in EC) at virtual 0x0000000043cff4c9
[Mon Jul 17 17:41:35 2023] legion_laptop: Unloading legion shared
[Mon Jul 17 17:41:35 2023] legion_laptop: Unloading legion shared done
[Mon Jul 17 17:41:35 2023] legion PNP0C09:00: legion_laptop not loaded for this device
[Mon Jul 17 17:41:35 2023] legion: probe of PNP0C09:00 failed with error -17
bash -c "./issue-warning.sh"
If you have a 2022 or 2023 model, please help testing the new features 'here'
If you have a light in the lid (Y-logo) or at the IO-ports (all Legion 7), please help testing controlling it 'here'
$
sudo dmesg | grep platform
$ sudo dmesg | grep platform
[ 0.633741] acpi PNP0A08:00: _OSC: platform does not support [AER]
[ 1.108172] DMAR: Intel-IOMMU force enabled due to platform opt in
[ 1.108901] platform rtc_cmos: registered platform RTC device (no PNP device found)
[ 1.484899] atomic64_test: passed for x86-64 platform with CX8 and with SSE
[ 1.614224] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2
[ 2.602768] nvme 0000:01:00.0: platform quirk: setting simple suspend
[ 5.783044] input: PC Speaker as /devices/platform/pcspkr/input/input30
[ 5.831583] input: Lenovo Yoga Tablet Mode Control switch as /devices/platform/PNP0C14:01/wmi_bus/wmi_bus-PNP0C14:01/06129D99-6083-4164-81AD-F092F9D773A6/input/input31
[ 5.956367] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 6.090353] sof-audio-pci-intel-tgl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[15563.130967] legion PNP0C09:00: legion_laptop platform driver probing
[15563.131591] legion_laptop: Creating platform profile support
[15563.131592] legion PNP0C09:00: Creating platform profile failed
[15760.566008] legion PNP0C09:00: legion_laptop platform driver probing
[15760.566650] legion_laptop: Creating platform profile support
[15760.566651] legion PNP0C09:00: Creating platform profile failed: -17
$
sudo dmesg | grep profile
$ sudo dmesg | grep profile
[15563.131591] legion_laptop: Creating platform profile support
[15563.131592] legion PNP0C09:00: Creating platform profile failed
[15760.566650] legion_laptop: Creating platform profile support
[15760.566651] legion PNP0C09:00: Creating platform profile failed: -17
$
The above-mentioned failures continue to occur with the latest commit, 2e47eaf. Can you please suggest any troubleshooting ideas or tricks that might reveal what is going on here?
We have to find out why there is already a platform profile support loaded. In the meantime, get the newest code and load it with
sudo make reloadmodule_disableplatformprofile
or set the kernel parameter legion_laptop.enable_platformprofile=0. This skips loading the platform profile but loads all other features. So you can do everything except reading and writing the power mode from software.
What is the output of ?
cat /sys/firmware/acpi/platform_profile_choices
cat /sys/firmware/acpi/platform_profile
Can you find out by what module or kernel feature /sys/firmware/acpi/platform_profile
is created?
Grabbed commit 2412105 and rebuilt against it. Found that doing sudo make reloadmodule_disableplatformprofile
had similar errors to before, e.g. _"Module not useable for this laptop because it is not in allowlist. ... legion_laptop not loaded for this device._
So I hacked the makefile to include a new target forcereloadmodule_disableplatformprofile
that simply included the force=1
option. With that, my make process looked like the following:
make
[srcrw@maxime:/var/data/src/LenovoLegionLinux/kernel_module] $ make
make -C /lib/modules/6.4.8-250.vanilla.fc38.x86_64/build M=/var/data/src/LenovoLegionLinux/kernel_module modules
make[1]: Entering directory '/usr/src/kernels/6.4.8-250.vanilla.fc38.x86_64'
CC [M] /var/data/src/LenovoLegionLinux/kernel_module/legion-laptop.o
MODPOST /var/data/src/LenovoLegionLinux/kernel_module/Module.symvers
CC [M] /var/data/src/LenovoLegionLinux/kernel_module/legion-laptop.mod.o
LD [M] /var/data/src/LenovoLegionLinux/kernel_module/legion-laptop.ko
BTF [M] /var/data/src/LenovoLegionLinux/kernel_module/legion-laptop.ko
Skipping BTF generation for /var/data/src/LenovoLegionLinux/kernel_module/legion-laptop.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/src/kernels/6.4.8-250.vanilla.fc38.x86_64'
[srcrw@maxime:/var/data/src/LenovoLegionLinux/kernel_module] $
sudo make forcereloadmodule_disableplatformprofile
[srcrw@maxime:/var/data/src/LenovoLegionLinux/kernel_module] $ sudo make forcereloadmodule_disableplatformprofile rmmod legion-laptop.ko || true insmod legion-laptop.ko enable_platformprofile=0 force=1 dmesg --ctime
... bunch of pre-compilation stuff...
[Sun Aug 6 19:22:34 2023] legion_laptop: legion_laptop exit [Sun Aug 6 19:22:34 2023] legion_laptop: legion_laptop starts loading [Sun Aug 6 19:22:34 2023] legion PNP0C09:00: legion_laptop platform driver probing [Sun Aug 6 19:22:34 2023] legion PNP0C09:00: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82UF; DMI_BIOS_VERSION:J1CN38WW [Sun Aug 6 19:22:34 2023] legion_laptop: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82UF; DMI_BIOS_VERSION:J1CN38WW [Sun Aug 6 19:22:34 2023] legion PNP0C09:00: is_denied: 0; is_allowed: 0; do_load_by_list: 0; do_load: 1 [Sun Aug 6 19:22:34 2023] legion PNP0C09:00: legion_laptop is forced to load. [Sun Aug 6 19:22:34 2023] legion PNP0C09:00: legion_laptop is forced to load and would otherwise be not loaded [Sun Aug 6 19:22:34 2023] legion PNP0C09:00: Using configuration for system: GKCN [Sun Aug 6 19:22:34 2023] legion PNP0C09:00: ACPI CFG: 2081284372 [Sun Aug 6 19:22:34 2023] legion_laptop: Creating RAM access to embedded controller [Sun Aug 6 19:22:34 2023] legion_laptop: Succeffuly mapped embedded controller: 0xfe00d400 (in RAM)/0x0 (in EC) to virtual 0x00000000bb4358ed [Sun Aug 6 19:22:34 2023] legion PNP0C09:00: Read embedded controller ID 0x8227 [Sun Aug 6 19:22:34 2023] legion PNP0C09:00: Creating debugfs inteface [Sun Aug 6 19:22:34 2023] legion_laptop: Creating sysfs inteface [Sun Aug 6 19:22:34 2023] legion_laptop: Creating hwmon interface [Sun Aug 6 19:22:34 2023] legion_laptop: Creating platform profile support [Sun Aug 6 19:22:34 2023] legion_laptop: Skipping creating platform profile support because enable_platformprofile is false [Sun Aug 6 19:22:34 2023] legion_laptop: Init WMI driver support [Sun Aug 6 19:22:34 2023] legion_laptop: Init keyboard backlight LED driver [Sun Aug 6 19:22:34 2023] legion_laptop: ACPI evaluation error for: 8C5B9127-ECD4-4657-980F-851019F99CA5:1 [Sun Aug 6 19:22:34 2023] legion_laptop: Error for WMI method call to get brightness [Sun Aug 6 19:22:34 2023] legion_laptop: Error reading keyboard brighntess [Sun Aug 6 19:22:34 2023] legion PNP0C09:00: Init keyboard backlight LED driver failed. Skipping ... [Sun Aug 6 19:22:34 2023] legion_laptop: Init Y-Logo LED driver [Sun Aug 6 19:22:34 2023] legion_laptop: ACPI evaluation error for: 8C5B9127-ECD4-4657-980F-851019F99CA5:1 [Sun Aug 6 19:22:34 2023] legion_laptop: Error for WMI method call to get brightness [Sun Aug 6 19:22:34 2023] legion_laptop: Error reading brighntess for light: 3 [Sun Aug 6 19:22:34 2023] legion PNP0C09:00: Init Y-Logo LED driver failed. Skipping ... [Sun Aug 6 19:22:34 2023] legion_laptop: Init IO-Port LED driver [Sun Aug 6 19:22:34 2023] legion_laptop: ACPI evaluation error for: 8C5B9127-ECD4-4657-980F-851019F99CA5:1 [Sun Aug 6 19:22:34 2023] legion_laptop: Error for WMI method call to get brightness [Sun Aug 6 19:22:34 2023] legion_laptop: Error reading brighntess for light: 5 [Sun Aug 6 19:22:34 2023] legion PNP0C09:00: Init IO-Port LED driver failed. Skipping ... [Sun Aug 6 19:22:34 2023] legion PNP0C09:00: legion_laptop loaded for this device bash -c "./issue-warning.sh" If you have a 2022 or 2023 model, please help testing the new features 'here' If you have a light in the lid (Y-logo) or at the IO-ports (all Legion 7), please help testing controlling it 'here' [srcrw@maxime:/var/data/src/LenovoLegionLinux/kernel_module] $
cat/sys/firmware/acpi/...
[srcrw@maxime:~] $ cat /sys/firmware/acpi/platform_profile_choices
low-power balanced performance
[srcrw@maxime:~] $ cat /sys/firmware/acpi/platform_profile
balanced
[srcrw@maxime:~] $
I'm unsure how to track down which kernel module/feature is creating the platform_profile that I'm seeing. If you have any suggested steps, I'll implement. I did review other related packages I've tried before hitting upon LenovoLeginLinux, to ensure things like zcfan and thinkfan were no longer present.
I have started in on the Initial Usage Testing section of the readme. I do seem to be able to get current fanspeeds etc. from /sys/kernel/debug/legion/fancurve
so that's a huge improvement. I also seem able to adjust current fan-speeds with things like echo 1500 > /sys/module/legion_laptop/drivers/platform:legion/PNP0C09:00/hwmon/hwmon*/pwm2_auto_point2_pwm
- again a very welcome improvement.
Could you give the output of lsmod
? You could try temporarily unloading the module ideapad_laptop
for testing. You will lose some features like setting conservation mode of the battery but it will be just for testing. It might enable the platform_profile on some models and with some kernel parameters (allow_v4_dytc).
Please see below the output of lsmod
before unloading ideapad_laptop
. At this point, I can confirm the presence of /sys/firmware/acpi/platform_profile*
.
After unloading the module with sudo modprobe -r ideapad_laptop
, it no longer appears in lsmod
. Also, /sys/firmware/acpi/platform_profile*
are now missing.
lsmod
Module Size Used by
legion_laptop 147456 0
uinput 20480 1
rfcomm 102400 4
snd_seq_dummy 12288 0
snd_hrtimer 12288 1
tun 69632 2
nf_tables 356352 0
nfnetlink 20480 1 nf_tables
qrtr 57344 4
bnep 36864 2
sunrpc 827392 1
binfmt_misc 28672 1
snd_ctl_led 24576 0
snd_soc_skl_hda_dsp 24576 5
snd_soc_intel_hda_dsp_common 16384 1 snd_soc_skl_hda_dsp
snd_soc_hdac_hdmi 45056 1 snd_soc_skl_hda_dsp
snd_sof_probes 24576 0
snd_hda_codec_hdmi 94208 1
snd_hda_codec_realtek 192512 1
snd_hda_codec_generic 110592 1 snd_hda_codec_realtek
ledtrig_audio 12288 2 snd_ctl_led,snd_hda_codec_generic
snd_soc_dmic 12288 1
snd_sof_pci_intel_tgl 12288 0
iwlmvm 688128 0
snd_sof_intel_hda_common 229376 1 snd_sof_pci_intel_tgl
soundwire_intel 61440 1 snd_sof_intel_hda_common
soundwire_cadence 45056 1 soundwire_intel
snd_sof_intel_hda_mlink 36864 1 snd_sof_intel_hda_common
snd_sof_intel_hda 20480 1 snd_sof_intel_hda_common
snd_sof_pci 24576 2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
snd_sof_xtensa_dsp 16384 1 snd_sof_intel_hda_common
snd_sof 409600 4 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_probes,snd_sof_intel_hda
mac80211 1527808 1 iwlmvm
snd_sof_utils 16384 1 snd_sof
snd_soc_hdac_hda 28672 1 snd_sof_intel_hda_common
intel_uncore_frequency 12288 0
snd_hda_ext_core 36864 5 snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_sof_intel_hda_mlink,snd_sof_intel_hda
intel_uncore_frequency_common 12288 1 intel_uncore_frequency
intel_tcc_cooling 12288 0
snd_soc_acpi_intel_match 81920 2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
x86_pkg_temp_thermal 16384 0
intel_powerclamp 20480 0
snd_soc_acpi 12288 2 snd_soc_acpi_intel_match,snd_sof_intel_hda_common
soundwire_generic_allocation 12288 1 soundwire_intel
soundwire_bus 135168 3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
snd_soc_core 438272 8 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_sof_probes,snd_soc_dmic,snd_soc_skl_hda_dsp
coretemp 16384 0
kvm_intel 454656 0
snd_compress 28672 2 snd_soc_core,snd_sof_probes
libarc4 12288 1 mac80211
ac97_bus 12288 1 snd_soc_core
snd_pcm_dmaengine 16384 1 snd_soc_core
snd_hda_intel 61440 0
vfat 20480 1
fat 102400 1 vfat
snd_intel_dspcfg 32768 3 snd_hda_intel,snd_sof,snd_sof_intel_hda_common
snd_intel_sdw_acpi 16384 2 snd_sof_intel_hda_common,snd_intel_dspcfg
snd_hda_codec 212992 8 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_intel_hda_dsp_common,snd_soc_hdac_hda,snd_sof_intel_hda,snd_soc_skl_hda_dsp
kvm 1318912 1 kvm_intel
snd_hda_core 139264 11 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_intel_hda_dsp_common,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_sof_intel_hda
snd_hwdep 20480 1 snd_hda_codec
snd_seq 106496 7 snd_seq_dummy
snd_seq_device 16384 1 snd_seq
iwlwifi 466944 1 iwlmvm
btusb 81920 0
snd_pcm 180224 12 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_compress,snd_soc_core,snd_sof_utils,snd_hda_core,snd_pcm_dmaengine
irqbypass 12288 1 kvm
rapl 20480 0
btrtl 28672 1 btusb
uvcvideo 176128 0
btbcm 24576 1 btusb
processor_thermal_device_pci 12288 0
iTCO_wdt 16384 0
intel_cstate 20480 0
btintel 53248 1 btusb
hid_sensor_accel_3d 16384 1
processor_thermal_device 20480 1 processor_thermal_device_pci
intel_pmc_bxt 16384 1 iTCO_wdt
pmt_telemetry 12288 0
uvc 12288 1 uvcvideo
videobuf2_vmalloc 20480 1 uvcvideo
btmtk 12288 1 btusb
hid_sensor_trigger 20480 2 hid_sensor_accel_3d
mei_hdcp 28672 0
mei_pxp 16384 0
iTCO_vendor_support 12288 1 iTCO_wdt
pmt_class 12288 1 pmt_telemetry
intel_rapl_msr 20480 0
snd_timer 53248 3 snd_seq,snd_hrtimer,snd_pcm
processor_thermal_rfim 28672 1 processor_thermal_device
mei_gsc 12288 2
videobuf2_memops 16384 1 videobuf2_vmalloc
intel_uncore 258048 0
cfg80211 1282048 3 iwlmvm,iwlwifi,mac80211
lenovo_ymc 16384 0
wmi_bmof 12288 0
bluetooth 1040384 34 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
pcspkr 12288 0
snd 143360 27 snd_ctl_led,snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_soc_hdac_hdmi,snd_compress,snd_soc_core,snd_pcm
hid_sensor_iio_common 20480 2 hid_sensor_trigger,hid_sensor_accel_3d
processor_thermal_mbox 12288 2 processor_thermal_rfim,processor_thermal_device
videobuf2_v4l2 40960 1 uvcvideo
industrialio_triggered_buffer 12288 1 hid_sensor_trigger
i2c_i801 36864 0
mei_me 57344 3 mei_gsc
kfifo_buf 12288 1 industrialio_triggered_buffer
processor_thermal_rapl 16384 1 processor_thermal_device
soundcore 16384 2 snd_ctl_led,snd
thunderbolt 495616 0
industrialio 126976 5 industrialio_triggered_buffer,hid_sensor_trigger,kfifo_buf,hid_sensor_accel_3d
videobuf2_common 86016 4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
mei 192512 8 mei_gsc,mei_hdcp,mei_pxp,mei_me
i2c_smbus 20480 1 i2c_i801
idma64 20480 0
igen6_edac 32768 0
ideapad_laptop 57344 0
intel_vsec 20480 0
intel_rapl_common 36864 2 intel_rapl_msr,processor_thermal_rapl
sparse_keymap 12288 2 ideapad_laptop,lenovo_ymc
platform_profile 12288 2 legion_laptop,ideapad_laptop
rfkill 40960 11 iwlmvm,bluetooth,ideapad_laptop,cfg80211
int3403_thermal 16384 0
int3400_thermal 20480 0
int340x_thermal_zone 16384 2 int3403_thermal,processor_thermal_device
acpi_thermal_rel 16384 1 int3400_thermal
acpi_pad 184320 0
acpi_tad 20480 0
joydev 24576 0
v4l2loopback 77824 0
videodev 372736 3 videobuf2_v4l2,v4l2loopback,uvcvideo
mc 86016 4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
loop 40960 0
zram 32768 2
xfs 2588672 2
hid_logitech_hidpp 77824 0
hid_sensor_hub 28672 3 hid_sensor_trigger,hid_sensor_iio_common,hid_sensor_accel_3d
intel_ishtp_hid 28672 0
wacom 151552 0
hid_logitech_dj 40960 0
i915 3907584 50
nvme 65536 3
i2c_algo_bit 20480 1 i915
drm_buddy 20480 1 i915
sdhci_pci 94208 0
nvme_core 225280 4 nvme
drm_display_helper 208896 1 i915
cqhci 36864 1 sdhci_pci
sdhci 98304 1 sdhci_pci
intel_ish_ipc 32768 0
ucsi_acpi 12288 0
hid_multitouch 32768 0
crct10dif_pclmul 12288 1
cec 86016 2 drm_display_helper,i915
crc32_pclmul 12288 0
crc32c_intel 16384 0
polyval_clmulni 12288 0
polyval_generic 12288 1 polyval_clmulni
mmc_core 262144 3 sdhci,cqhci,sdhci_pci
ghash_clmulni_intel 16384 0
sha512_ssse3 45056 0
typec_ucsi 61440 1 ucsi_acpi
ttm 98304 1 i915
intel_ishtp 77824 2 intel_ishtp_hid,intel_ish_ipc
typec 106496 1 typec_ucsi
nvme_common 20480 1 nvme_core
i2c_hid_acpi 12288 0
video 73728 2 ideapad_laptop,i915
i2c_hid 40960 1 i2c_hid_acpi
wmi 45056 5 video,wmi_bmof,legion_laptop,ideapad_laptop,lenovo_ymc
pinctrl_tigerlake 28672 1
serio_raw 16384 0
scsi_dh_rdac 16384 0
scsi_dh_emc 12288 0
scsi_dh_alua 24576 0
fuse 204800 3
dm_multipath 45056 0
Following the rmmod above, I reattempted to clean and make the module again, Different output - unknown symbol in module:
[srcrw@maxime:/var/data/src/LenovoLegionLinux/kernel_module] $ make
make -C /lib/modules/6.4.8-250.vanilla.fc38.x86_64/build M=/var/data/src/LenovoLegionLinux/kernel_module modules
make[1]: Entering directory '/usr/src/kernels/6.4.8-250.vanilla.fc38.x86_64'
CC [M] /var/data/src/LenovoLegionLinux/kernel_module/legion-laptop.o
MODPOST /var/data/src/LenovoLegionLinux/kernel_module/Module.symvers
CC [M] /var/data/src/LenovoLegionLinux/kernel_module/legion-laptop.mod.o
LD [M] /var/data/src/LenovoLegionLinux/kernel_module/legion-laptop.ko
BTF [M] /var/data/src/LenovoLegionLinux/kernel_module/legion-laptop.ko
Skipping BTF generation for /var/data/src/LenovoLegionLinux/kernel_module/legion-laptop.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/src/kernels/6.4.8-250.vanilla.fc38.x86_64'
[srcrw@maxime:/var/data/src/LenovoLegionLinux/kernel_module] $ sudo make forcereloadmodule
rmmod legion-laptop.ko || true
rmmod: ERROR: Module legion_laptop is not currently loaded
insmod legion-laptop.ko force=1
insmod: ERROR: could not insert module legion-laptop.ko: Unknown symbol in module
make: *** [Makefile:47: forcereloadmodule] Error 1
[srcrw@maxime:/var/data/src/LenovoLegionLinux/kernel_module] $
Noticed the release of commit caf8ae9174dcdc60d88c4697ba96a63e6bbaaf09, containing "Add testing conf for BIOS J2CN/model 16IAH7H"
.
While not exactly my modem (my bios is J1CN
), I gave it a shot at compilation/installation. Unfortunately, no joy, as shown below:
make / make forcereloadmodule
$ make
make -C /lib/modules/6.4.11-0.rc1.250.vanilla.fc38.x86_64/build M=/var/data/src/LenovoLegionLinux/kernel_module modules
make[1]: Entering directory '/usr/src/kernels/6.4.11-0.rc1.250.vanilla.fc38.x86_64'
CC [M] /var/data/src/LenovoLegionLinux/kernel_module/legion-laptop.o
MODPOST /var/data/src/LenovoLegionLinux/kernel_module/Module.symvers
LD [M] /var/data/src/LenovoLegionLinux/kernel_module/legion-laptop.ko
BTF [M] /var/data/src/LenovoLegionLinux/kernel_module/legion-laptop.ko
Skipping BTF generation for /var/data/src/LenovoLegionLinux/kernel_module/legion-laptop.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/src/kernels/6.4.11-0.rc1.250.vanilla.fc38.x86_64'
$ sudo make forcereloadmodule
rmmod legion-laptop.ko || true
insmod legion-laptop.ko force=1
dmesg --ctime
[Tue Aug 15 11:49:40 2023] legion_laptop: legion_laptop exit
[Tue Aug 15 11:49:40 2023] legion_laptop: legion_laptop starts loading
[Tue Aug 15 11:49:40 2023] legion PNP0C09:00: legion_laptop platform driver probing
[Tue Aug 15 11:49:40 2023] legion PNP0C09:00: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82UF; DMI_BIOS_VERSION:J1CN38WW
[Tue Aug 15 11:49:40 2023] legion_laptop: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82UF; DMI_BIOS_VERSION:J1CN38WW
[Tue Aug 15 11:49:40 2023] legion PNP0C09:00: is_denied: 0; is_allowed: 0; do_load_by_list: 0; do_load: 1
[Tue Aug 15 11:49:40 2023] legion PNP0C09:00: legion_laptop is forced to load.
[Tue Aug 15 11:49:40 2023] legion PNP0C09:00: legion_laptop is forced to load and would otherwise be not loaded
[Tue Aug 15 11:49:40 2023] legion PNP0C09:00: Using configuration for system: GKCN
[Tue Aug 15 11:49:40 2023] legion PNP0C09:00: ACPI CFG: 2081284372
[Tue Aug 15 11:49:40 2023] legion_laptop: Creating RAM access to embedded controller
[Tue Aug 15 11:49:40 2023] legion_laptop: Succeffuly mapped embedded controller: 0xfe00d400 (in RAM)/0x0 (in EC) to virtual 0x00000000bcf1c8a4
[Tue Aug 15 11:49:40 2023] legion PNP0C09:00: Read embedded controller ID 0x8227
[Tue Aug 15 11:49:40 2023] legion PNP0C09:00: Creating debugfs inteface
[Tue Aug 15 11:49:40 2023] legion_laptop: Creating sysfs inteface
[Tue Aug 15 11:49:40 2023] legion_laptop: Creating hwmon interface
[Tue Aug 15 11:49:40 2023] legion_laptop: Creating platform profile support
[Tue Aug 15 11:49:40 2023] legion PNP0C09:00: Creating platform profile failed: -17
[Tue Aug 15 11:49:40 2023] legion_laptop: Unloading legion hwon
[Tue Aug 15 11:49:40 2023] legion_laptop: Unloading legion hwon done
[Tue Aug 15 11:49:40 2023] legion_laptop: Unloading legion sysfs
[Tue Aug 15 11:49:40 2023] legion_laptop: Unloading legion sysfs done
[Tue Aug 15 11:49:40 2023] legion_laptop: Unloading legion dubugfs
[Tue Aug 15 11:49:40 2023] legion_laptop: Unloading legion dubugfs done
[Tue Aug 15 11:49:40 2023] legion_laptop: Unloading legion ecram
[Tue Aug 15 11:49:40 2023] legion_laptop: Unloading legion ecram done
[Tue Aug 15 11:49:40 2023] legion_laptop: Unmapping embedded controller memory at 0xfe00d400 (in RAM)/0x0 (in EC) at virtual 0x00000000bcf1c8a4
[Tue Aug 15 11:49:40 2023] legion_laptop: Unloading legion shared
[Tue Aug 15 11:49:40 2023] legion_laptop: Unloading legion shared done
[Tue Aug 15 11:49:40 2023] legion PNP0C09:00: legion_laptop not loaded for this device
[Tue Aug 15 11:49:40 2023] legion: probe of PNP0C09:00 failed with error -17
bash -c "./issue-warning.sh"
If you have a 2022 or 2023 model, please help testing the new features 'here'
If you have a light in the lid (Y-logo) or at the IO-ports (all Legion 7), please help testing controlling it 'here'
$
Yes, you should now be able to load the module without forcing it but still with disabling platform profile, i.e. with make reloadmodule_disableplatformprofile
. I have not tried yet replicating the symbol error you get when you disable ideapad_laptop.
I guess that the best solution would be to manage powermode/platform_profile with legion_laptop and disable it ideapad_laptop. You can maybe try to disable it by setting the kernel parameter allow_v4_dytc in the ideapad_laptop: https://github.com/torvalds/linux/blob/91aa6c412d7f85e48aead7b00a7d9e91f5cf5863/drivers/platform/x86/ideapad-laptop.c#L135
If this does not work, I could export the power mode as another sysfs attribute that is used be the GUI.
If you just use ideapad_laptop without legion_laptop, does the platform_profile file changes if you change it with Fn+Q?
I tried to troubleshoot the "Unknown symbol in module" error. I made all functions static. Please try to get this error with the new code and provide the tail output of dmesg
after you get this error. This should show the unknown symbol
Thanks for the continued support - very much appreciated.
I updated the build environment slightly to:
Kernel: _Linux 6.4.11-250.vanilla.fc38.x86_64 #1 SMP PREEMPTDYNAMIC LenovoLegionLinux: commit f0d6d2a4fc9877f935dbb03eb1fc1b4392b8c428 (current as of 2023-08-17 12:00EDT)
No longer seeing Unknown symbol
. However I still need to force the module. See build-logs below.
ideapad_laptop
loadedMost Fn-Function keycombos do their function, but Fn-Q does nothing (at least, /sys/firmware/acpi/platform_profile
shows no change).
ideapad_laptop
unloaded:Fn-Q apparently does nothing (no way to tell).
ideapad_laptop
unloaded & legion_laptop loaded
:Unable to tell because of the following:
ls -l /sys/firmware/acpi/plat*
-rw-r--r-- 1 root root 4096 Aug 17 12:12 /sys/firmware/acpi/platform_profile
-r--r--r-- 1 root root 4096 Aug 17 12:12 /sys/firmware/acpi/platform_profile_choices
$ cat /sys/firmware/acpi/platform_profile_choices
quiet balanced balanced-performance performance
$ cat /sys/firmware/acpi/platform_profile
cat: /sys/firmware/acpi/platform_profile: Invalid argument
make clean && make
$ make clean && make
make -C /lib/modules/6.4.11-250.vanilla.fc38.x86_64/build M=/var/data/src/LenovoLegionLinux/kernel_module clean
make[1]: Entering directory '/usr/src/kernels/6.4.11-250.vanilla.fc38.x86_64'
CLEAN /var/data/src/LenovoLegionLinux/kernel_module/Module.symvers
make[1]: Leaving directory '/usr/src/kernels/6.4.11-250.vanilla.fc38.x86_64'
make -C /lib/modules/6.4.11-250.vanilla.fc38.x86_64/build M=/var/data/src/LenovoLegionLinux/kernel_module modules
make[1]: Entering directory '/usr/src/kernels/6.4.11-250.vanilla.fc38.x86_64'
CC [M] /var/data/src/LenovoLegionLinux/kernel_module/legion-laptop.o
MODPOST /var/data/src/LenovoLegionLinux/kernel_module/Module.symvers
CC [M] /var/data/src/LenovoLegionLinux/kernel_module/legion-laptop.mod.o
LD [M] /var/data/src/LenovoLegionLinux/kernel_module/legion-laptop.ko
BTF [M] /var/data/src/LenovoLegionLinux/kernel_module/legion-laptop.ko
Skipping BTF generation for /var/data/src/LenovoLegionLinux/kernel_module/legion-laptop.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/src/kernels/6.4.11-250.vanilla.fc38.x86_64'
$
make reloadmodule_disableplatformprofile
$ sudo make reloadmodule_disableplatformprofile
rmmod legion-laptop.ko || true
insmod legion-laptop.ko enable_platformprofile=0
dmesg --ctime
[Thu Aug 17 12:06:28 2023] legion_laptop: Set powermode
[Thu Aug 17 12:06:29 2023] legion_laptop: Set powermode
[Thu Aug 17 12:06:29 2023] legion_laptop: Unexpected power mode value ignored: 0
[Thu Aug 17 12:06:29 2023] legion_laptop: Unloading legion hwon
[Thu Aug 17 12:06:29 2023] legion_laptop: Unloading legion hwon done
[Thu Aug 17 12:06:29 2023] legion_laptop: Unloading legion sysfs
[Thu Aug 17 12:06:29 2023] legion_laptop: Unloading legion sysfs done
[Thu Aug 17 12:06:29 2023] legion_laptop: Unloading legion dubugfs
[Thu Aug 17 12:06:29 2023] legion_laptop: Unloading legion dubugfs done
[Thu Aug 17 12:06:29 2023] legion_laptop: Unloading legion ecram
[Thu Aug 17 12:06:29 2023] legion_laptop: Unloading legion ecram done
[Thu Aug 17 12:06:29 2023] legion_laptop: Unmapping embedded controller memory at 0xfe00d400 (in RAM)/0x0 (in EC) at virtual 0x00000000108c694e
[Thu Aug 17 12:06:29 2023] legion_laptop: Unloading legion shared
[Thu Aug 17 12:06:29 2023] legion_laptop: Unloading legion shared done
[Thu Aug 17 12:06:29 2023] legion_laptop: Legion platform unloaded
[Thu Aug 17 12:06:29 2023] legion_laptop: legion_laptop exit
[Thu Aug 17 12:06:29 2023] legion_laptop: legion_laptop starts loading
[Thu Aug 17 12:06:29 2023] legion PNP0C09:00: legion_laptop platform driver probing
[Thu Aug 17 12:06:29 2023] legion PNP0C09:00: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82UF; DMI_BIOS_VERSION:J1CN38WW
[Thu Aug 17 12:06:29 2023] legion_laptop: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82UF; DMI_BIOS_VERSION:J1CN38WW
[Thu Aug 17 12:06:29 2023] legion PNP0C09:00: is_denied: 0; is_allowed: 0; do_load_by_list: 0; do_load: 0
[Thu Aug 17 12:06:29 2023] legion PNP0C09:00: Module not useable for this laptop because it is not in allowlist. Notify maintainer if you want to add your device or force load with param force.
[Thu Aug 17 12:06:29 2023] legion PNP0C09:00: legion_laptop not loaded for this device
[Thu Aug 17 12:06:29 2023] legion: probe of PNP0C09:00 failed with error -12
bash -c "./issue-warning.sh"
If you have a 2022 or 2023 model, please help testing the new features 'here'
If you have a light in the lid (Y-logo) or at the IO-ports (all Legion 7), please help testing controlling it 'here'
$
make forcereloadmodule_disableplatformprofile
$ make forcereloadmodule_disableplatformprofile
rmmod legion-laptop.ko || true
insmod legion-laptop.ko enable_platformprofile=0 force=1
dmesg --ctime
[Thu Aug 17 12:08:30 2023] legion_laptop: legion_laptop exit
[Thu Aug 17 12:08:30 2023] legion_laptop: legion_laptop starts loading
[Thu Aug 17 12:08:30 2023] legion PNP0C09:00: legion_laptop platform driver probing
[Thu Aug 17 12:08:30 2023] legion PNP0C09:00: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82UF; DMI_BIOS_VERSION:J1CN38WW
[Thu Aug 17 12:08:30 2023] legion_laptop: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82UF; DMI_BIOS_VERSION:J1CN38WW
[Thu Aug 17 12:08:30 2023] legion PNP0C09:00: is_denied: 0; is_allowed: 0; do_load_by_list: 0; do_load: 1
[Thu Aug 17 12:08:30 2023] legion PNP0C09:00: legion_laptop is forced to load.
[Thu Aug 17 12:08:30 2023] legion PNP0C09:00: legion_laptop is forced to load and would otherwise be not loaded
[Thu Aug 17 12:08:30 2023] legion PNP0C09:00: Using configuration for system: GKCN
[Thu Aug 17 12:08:30 2023] legion PNP0C09:00: ACPI CFG: 2081284372
[Thu Aug 17 12:08:30 2023] legion_laptop: Creating RAM access to embedded controller
[Thu Aug 17 12:08:30 2023] legion_laptop: Succeffuly mapped embedded controller: 0xfe00d400 (in RAM)/0x0 (in EC) to virtual 0x00000000f680c610
[Thu Aug 17 12:08:30 2023] legion PNP0C09:00: Read embedded controller ID 0x8227
[Thu Aug 17 12:08:30 2023] legion PNP0C09:00: Creating debugfs inteface
[Thu Aug 17 12:08:30 2023] legion_laptop: Creating sysfs inteface
[Thu Aug 17 12:08:30 2023] legion_laptop: Creating hwmon interface
[Thu Aug 17 12:08:30 2023] legion_laptop: Creating platform profile support
[Thu Aug 17 12:08:30 2023] legion_laptop: Skipping creating platform profile support because enable_platformprofile is false
[Thu Aug 17 12:08:30 2023] legion_laptop: Init WMI driver support
[Thu Aug 17 12:08:30 2023] legion_laptop: Init keyboard backlight LED driver
[Thu Aug 17 12:08:30 2023] legion_laptop: ACPI evaluation error for: 8C5B9127-ECD4-4657-980F-851019F99CA5:1
[Thu Aug 17 12:08:30 2023] legion_laptop: Error for WMI method call to get brightness
[Thu Aug 17 12:08:30 2023] legion_laptop: Error reading keyboard brighntess
[Thu Aug 17 12:08:30 2023] legion PNP0C09:00: Init keyboard backlight LED driver failed. Skipping ...
[Thu Aug 17 12:08:30 2023] legion_laptop: Init Y-Logo LED driver
[Thu Aug 17 12:08:30 2023] legion_laptop: ACPI evaluation error for: 8C5B9127-ECD4-4657-980F-851019F99CA5:1
[Thu Aug 17 12:08:30 2023] legion_laptop: Error for WMI method call to get brightness
[Thu Aug 17 12:08:30 2023] legion_laptop: Error reading brighntess for light: 3
[Thu Aug 17 12:08:30 2023] legion PNP0C09:00: Init Y-Logo LED driver failed. Skipping ...
[Thu Aug 17 12:08:30 2023] legion_laptop: Init IO-Port LED driver
[Thu Aug 17 12:08:30 2023] legion_laptop: ACPI evaluation error for: 8C5B9127-ECD4-4657-980F-851019F99CA5:1
[Thu Aug 17 12:08:30 2023] legion_laptop: Error for WMI method call to get brightness
[Thu Aug 17 12:08:30 2023] legion_laptop: Error reading brighntess for light: 5
[Thu Aug 17 12:08:30 2023] legion PNP0C09:00: Init IO-Port LED driver failed. Skipping ...
[Thu Aug 17 12:08:30 2023] legion PNP0C09:00: legion_laptop loaded for this device
bash -c "./issue-warning.sh"
If you have a 2022 or 2023 model, please help testing the new features 'here'
If you have a light in the lid (Y-logo) or at the IO-ports (all Legion 7), please help testing controlling it 'here'
$
Please first load with make forcereloadmodule_disableplatformprofile
. Could you please change with Fn+Q into different modes (LED color changes)? Then, in each mode please output:
sudo cat /sys/firmware/acpi/platform_profile
sudo cat /sys/kernel/debug/legion/fancurve
sudo dmesg | tail -n 400
Then, please load with Please first load with make forcereloadmodule
and do the same.
Please also provide the output of
sudo cat /sys/kernel/debug/legion/ecmemory | hexdump -C
sudo cat /sys/kernel/debug/legion/ecmemoryram | hexdump -C
in each powermode (changed with Fn+Q).
Not sure if this is expected behaviour or not, so I'll describe it before showing several lengthy dmesg spews:
Doing sudo make forcereloadmodule_disableplatformprofile
with ideapad_laptop
still present loads the legion module. Fn-Q keypresses are detected, but do not change /sys/firmware/acpi/platform_profile
contents - they remain balanced
. However dmesg registers the following output, once for each Fn-Q keypress:
[Fri Aug 18 00:07:23 2023] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PC00.LPCB.EC0._Q44.WM00], AE_NOT_FOUND (20230331/psargs-330)
[Fri Aug 18 00:07:23 2023] ACPI Error: Aborting method \_SB.PC00.LPCB.EC0._Q44 due to previous error (AE_NOT_FOUND) (20230331/psparse-529)
Unloading ideapad_laptop
causes /sys/firmware/acpi/platform_profile
to disappear, but Fn-Q keypresses continue to emit the above 2 lines to dmesg.
After rebooting the laptop, if I first unload ideapad_laptop
before doing sudo make forcereloadmodule_disableplatformprofile
, the insmod fails with:
$ sudo `make forcereloadmodule_disableplatformprofile`
rmmod legion-laptop.ko || true
rmmod: ERROR: Module legion_laptop is not currently loaded
insmod legion-laptop.ko enable_platformprofile=0 force=1
insmod: ERROR: could not insert module legion-laptop.ko: Unknown symbol in module
make: *** [Makefile:67: forcereloadmodule_disableplatformprofile] Error 1
This also happens even if I first clean/remake the kernel_module
directory.
sudo make forcereloadmodule_disableplatformprofile
(with ideapad_laptop module still loaded)ideapad_laptop
loaded, and was after pressing Fn-Q 2 times$ sudo cat /sys/firmware/acpi/platform_profile; sudo cat /sys/kernel/debug/legion/fancurve; sudo dmesg | tail -n 400
balanced
EC Chip ID: 8227
EC Chip Version: 2a4
legion_laptop features: fancurve powermode platformprofile platformprofilenotify minifancurve
legion_laptop ec_readonly: 0
ACPI CFG error: 0
ACPI CFG: 2081284372
temperature access method: 1
CPU temperature error: 0
CPU temperature: 49
CPU temperature EC error: 0
CPU temperature EC: 49
CPU temperature ACPI error: 0
CPU temperature ACPI: 49
CPU temperature WMI error: -14
CPU temperature WMI: 49
CPU temperature WMI2 error: -14
CPU temperature WMI2: 49
CPU temperature WMI3 error: -14
CPU temperature WMI3: 49
GPU temperature error: 0
GPU temperature: 29
GPU temperature EC error: 0
GPU temperature EC: 29
GPU temperature ACPI error: 0
GPU temperature ACPI: 29
GPU temperature WMI error: -14
GPU temperature WMI: 29
GPU temperature WMI2 error: -14
GPU temperature WMI2: 29
GPU temperature WMI3 error: -14
GPU temperature WMI3: 29
fan speed access method: 1
1 fanspeed error: 0
1 fanspeed: 2681
1 fanspeed EC error: 0
1 fanspeed EC: 2681
1 fanspeed ACPI error: 0
1 fanspeed ACPI: 2600
1 fanspeed WMI error: -14
1 fanspeed WMI: 2600
1 fanspeed WMI2 error: -14
1 fanspeed WMI2: 2600
1 fanspeed WMI3 error: -14
1 fanspeed WMI3: 2600
2 fanspeed error: 0
2 fanspeed: 2668
2 fanspeed EC error: 0
2 fanspeed EC: 2668
2 fanspeed ACPI error: 0
2 fanspeed ACPI: 2600
2 fanspeed WMI error: -14
2 fanspeed WMI: 2600
2 fanspeed WMI2 error: -14
2 fanspeed WMI2: 2600
2 fanspeed WMI3 error: -14
2 fanspeed WMI3: 2600
powermode access method: 3
powermode error: -14
powermode: 0
powermode EC error: 0
powermode EC: 0
powermode ACPI error: -5
powermode ACPI: 0
powermode WMI error: -14
powermode WMI: 0
has custom powermode: 1
ACPI rapidcharge error: 0
ACPI rapidcharge: 1
WMI backlight 2 state: -22
WMI backlight 3 state: -5
WMI light IO port: -5
WMI light y logo/lid: -5
EC minifancurve feature enabled: 1
EC minifancurve on cool: true
EC lockfancontroller error: 0
EC lockfancontroller: false
fanfullspeed error: -22
fanfullspeed: 0
fanfullspeed EC error: 0
fanfullspeed EC: 0
EC fan curve current point id: 2
EC fan curve points size: 4
Current fan curve in hardware:
rpm1|rpm2|acceleration|deceleration|cpu_min_temp|cpu_max_temp|gpu_min_temp|gpu_max_temp|ic_min_temp|ic_max_temp
0 0 5 8 127 127 0 43 0 37
2300 2300 5 8 127 127 38 48 32 42
2600 2600 5 8 127 127 42 52 37 45
2800 2800 5 8 127 127 46 127 42 127
=====================
Current fan curve in hardware (WMI; might be empty)
rpm1|rpm2|acceleration|deceleration|cpu_min_temp|cpu_max_temp|gpu_min_temp|gpu_max_temp|ic_min_temp|ic_max_temp
=====================
[ 2.567745] input: Logitech USB Receiver Consumer Control as /devices/pci0000:00/0000:00:14.0/usb3/3-7/3-7:1.1/0003:046D:C52B.0004/input/input13
[ 2.567806] nvme nvme0: Shutdown timeout set to 8 seconds
[ 2.596003] input: SYNA2BA6:00 06CB:CEC0 Mouse as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-SYNA2BA6:00/0018:06CB:CEC0.0003/input/input16
[ 2.597781] nvme nvme0: allocated 64 MiB host memory buffer.
[ 2.602720] nvme nvme0: 16/0/0 default/read/poll queues
[ 2.609600] nvme nvme0: Ignoring bogus Namespace Identifiers
[ 2.616148] nvme0n1: p1 p2 p3 p4 p7 p8
[ 2.639186] input: Logitech USB Receiver System Control as /devices/pci0000:00/0000:00:14.0/usb3/3-7/3-7:1.1/0003:046D:C52B.0004/input/input14
[ 2.639314] hid-generic 0003:046D:C52B.0004: input,hiddev97,hidraw2: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:14.0-7/input1
[ 2.639395] input: SYNA2BA6:00 06CB:CEC0 Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-SYNA2BA6:00/0018:06CB:CEC0.0003/input/input17
[ 2.639446] hid-multitouch 0018:06CB:CEC0.0003: input,hidraw3: I2C HID v1.00 Mouse [SYNA2BA6:00 06CB:CEC0] on i2c-SYNA2BA6:00
[ 2.640792] hid-generic 0003:046D:C52B.0005: hiddev98,hidraw4: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-7/input2
[ 2.754968] usb 3-8: new high-speed USB device number 5 using xhci_hcd
[ 2.852261] i915 0000:00:02.0: [drm] VT-d active for gfx access
[ 2.862260] i915 0000:00:02.0: vgaarb: deactivate vga console
[ 2.862313] i915 0000:00:02.0: [drm] Using Transparent Hugepages
[ 2.862683] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 2.865781] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adlp_dmc.bin (v2.20)
[ 2.897649] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/adlp_guc_70.bin version 70.5.1
[ 2.897652] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3
[ 2.912701] i915 0000:00:02.0: [drm] GT0: HuC: authenticated!
[ 2.913604] i915 0000:00:02.0: [drm] GT0: GUC: submission enabled
[ 2.913606] i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled
[ 2.914146] i915 0000:00:02.0: [drm] GT0: GUC: RC enabled
[ 2.915052] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content support initialized
[ 2.925252] usb 3-8: New USB device found, idVendor=5986, idProduct=2146, bcdDevice=57.24
[ 2.925259] usb 3-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.925261] usb 3-8: Product: Integrated RGB Camera
[ 2.925263] usb 3-8: Manufacturer: SunplusIT Inc
[ 2.925265] usb 3-8: SerialNumber: 01.00.00
[ 3.056028] usb 3-10: new full-speed USB device number 6 using xhci_hcd
[ 3.185453] usb 3-10: New USB device found, idVendor=8087, idProduct=0033, bcdDevice= 0.00
[ 3.185471] usb 3-10: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.194631] ish-hid {33AECD58-B679-4E54-9BD9-A04D34F0C226}: [hid-ish]: enum_devices_done OK, num_hid_devices=1
[ 3.203362] hid-generic 001F:8087:0AC2.0006: hidraw5: SENSOR HUB HID v2.00 Device [hid-ishtp 8087:0AC2] on
[ 3.259699] logitech-djreceiver 0003:046D:C52B.0005: hiddev98,hidraw1: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-7/input2
[ 3.366895] input: Logitech Wireless Device PID:405e Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-7/3-7:1.2/0003:046D:C52B.0005/0003:046D:405E.0007/input/input19
[ 3.367476] input: Logitech Wireless Device PID:405e Mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-7/3-7:1.2/0003:046D:C52B.0005/0003:046D:405E.0007/input/input20
[ 3.367733] hid-generic 0003:046D:405E.0007: input,hidraw0: USB HID v1.11 Keyboard [Logitech Wireless Device PID:405e] on usb-0000:00:14.0-7/input2:1
[ 3.369666] input: Wacom Pen and multitouch sensor Pen as /devices/pci0000:00/0000:00:14.0/usb3/3-5/3-5:1.0/0003:056A:52D7.0001/input/input24
[ 3.369839] input: Wacom Pen and multitouch sensor Finger as /devices/pci0000:00/0000:00:14.0/usb3/3-5/3-5:1.0/0003:056A:52D7.0001/input/input25
[ 3.370047] wacom 0003:056A:52D7.0001: hidraw2: USB HID v1.11 Mouse [Wacom Co.,Ltd. Pen and multitouch sensor] on usb-0000:00:14.0-5/input0
[ 3.455238] input: Logitech M720 Triathlon as /devices/pci0000:00/0000:00:14.0/usb3/3-7/3-7:1.2/0003:046D:C52B.0005/0003:046D:405E.0007/input/input27
[ 3.456225] logitech-hidpp-device 0003:046D:405E.0007: input,hidraw0: USB HID v1.11 Keyboard [Logitech M720 Triathlon] on usb-0000:00:14.0-7/input2:1
[ 4.165319] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 1
[ 4.167551] ACPI: video: Video Device [GFX0] (multi-head: yes rom: no post: no)
[ 4.168092] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input28
[ 4.168475] i915 0000:04:00.0: enabling device (0000 -> 0002)
[ 4.168716] i915 0000:04:00.0: [drm] Display not present, disabling
[ 4.169567] i915 0000:04:00.0: [drm] VT-d active for gfx access
[ 4.169635] i915 0000:04:00.0: [drm] Local memory IO size: 0x00000000fd000000
[ 4.169639] i915 0000:04:00.0: [drm] Local memory available: 0x00000000fd000000
[ 4.171287] fbcon: i915drmfb (fb0) is primary device
[ 4.171292] fbcon: Deferring console take-over
[ 4.171295] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[ 4.206127] i915 0000:04:00.0: [drm] *ERROR* GT workaround lost on init! (reg[9424]=0xfffffffe, relevant bits were 0x2 vs expected 0x0)
[ 4.206152] i915 0000:04:00.0: [drm] GT0: GuC firmware i915/dg2_guc_70.bin version 70.8.0
[ 4.206154] i915 0000:04:00.0: [drm] GT0: HuC firmware i915/dg2_huc_gsc.bin version 7.10.3
[ 4.220290] i915 0000:04:00.0: [drm] GT0: GUC: submission enabled
[ 4.220293] i915 0000:04:00.0: [drm] GT0: GUC: SLPC enabled
[ 4.220804] i915 0000:04:00.0: [drm] GT0: GUC: RC enabled
[ 4.237490] [drm] Initialized i915 1.6.0 20201103 for 0000:04:00.0 on minor 0
[ 4.272064] i915 0000:00:02.0: [drm] Selective fetch area calculation failed in pipe A
[ 4.525595] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[ 4.530051] XFS (nvme0n1p8): Mounting V5 Filesystem aa95e537-fb43-4146-9771-3a824c05529c
[ 4.542033] XFS (nvme0n1p8): Ending clean mount
[ 4.935785] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=1 'systemd'
[ 5.010984] systemd-journald[353]: Received SIGTERM from PID 1 (systemd).
[ 5.044988] SELinux: https://github.com/SELinuxProject/selinux-kernel/wiki/DEPRECATE-runtime-disable
[ 5.044992] SELinux: Runtime disable is not supported, use selinux=0 on the kernel cmdline.
[ 5.046024] systemd[1]: RTC configured in localtime, applying delta of -240 minutes to system time.
[ 5.050981] systemd[1]: systemd 253.7-1.fc38 running in system mode (+PAM +AUDIT +SELINUX -APPARMOR +IMA +SMACK +SECCOMP -GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN -IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[ 5.050988] systemd[1]: Detected architecture x86-64.
[ 5.137737] systemd[1]: bpf-lsm: LSM BPF program attached
[ 5.216916] zram: Added device: zram0
[ 5.331482] systemd[1]: initrd-switch-root.service: Deactivated successfully.
[ 5.337909] systemd[1]: Stopped initrd-switch-root.service - Switch Root.
[ 5.338203] systemd[1]: systemd-journald.service: Scheduled restart job, restart counter is at 1.
[ 5.338454] systemd[1]: Created slice system-akmods\x2dkeygen.slice - Slice /system/akmods-keygen.
[ 5.338681] systemd[1]: Created slice system-getty.slice - Slice /system/getty.
[ 5.338889] systemd[1]: Created slice system-sshd\x2dkeygen.slice - Slice /system/sshd-keygen.
[ 5.339084] systemd[1]: Created slice system-systemd\x2dfsck.slice - Slice /system/systemd-fsck.
[ 5.339280] systemd[1]: Created slice system-systemd\x2dzram\x2dsetup.slice - Slice /system/systemd-zram-setup.
[ 5.339404] systemd[1]: Created slice user.slice - User and Session Slice.
[ 5.339419] systemd[1]: systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch was skipped because of an unmet condition check (ConditionPathExists=!/run/plymouth/pid).
[ 5.339452] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.
[ 5.339564] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point.
[ 5.339591] systemd[1]: Reached target cryptsetup.target - Local Encrypted Volumes.
[ 5.339605] systemd[1]: Reached target getty.target - Login Prompts.
[ 5.339622] systemd[1]: Stopped target initrd-switch-root.target - Switch Root.
[ 5.339636] systemd[1]: Stopped target initrd-fs.target - Initrd File Systems.
[ 5.339650] systemd[1]: Stopped target initrd-root-fs.target - Initrd Root File System.
[ 5.339661] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes.
[ 5.339691] systemd[1]: Reached target slices.target - Slice Units.
[ 5.339731] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes.
[ 5.339774] systemd[1]: Listening on dm-event.socket - Device-mapper event daemon FIFOs.
[ 5.339977] systemd[1]: Listening on lvm2-lvmpolld.socket - LVM2 poll daemon socket.
[ 5.340012] systemd[1]: multipathd.socket - multipathd control socket was skipped because of an unmet condition check (ConditionPathExists=/etc/multipath.conf).
[ 5.340684] systemd[1]: Listening on systemd-coredump.socket - Process Core Dump Socket.
[ 5.340720] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.
[ 5.340867] systemd[1]: Listening on systemd-oomd.socket - Userspace Out-Of-Memory (OOM) Killer Socket.
[ 5.340998] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[ 5.341045] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[ 5.341089] systemd[1]: Listening on systemd-userdbd.socket - User Database Manager Socket.
[ 5.350277] systemd[1]: Mounting dev-hugepages.mount - Huge Pages File System...
[ 5.351323] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System...
[ 5.352194] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System...
[ 5.352968] systemd[1]: Mounting sys-kernel-tracing.mount - Kernel Trace File System...
[ 5.353119] systemd[1]: auth-rpcgss-module.service - Kernel Module supporting RPCSEC_GSS was skipped because of an unmet condition check (ConditionPathExists=/etc/krb5.keytab).
[ 5.353914] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes...
[ 5.354597] systemd[1]: Starting lvm2-monitor.service - Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
[ 5.355293] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs...
[ 5.355951] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod...
[ 5.356549] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm...
[ 5.357072] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse...
[ 5.357580] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop...
[ 5.357630] systemd[1]: plymouth-switch-root.service: Deactivated successfully.
[ 5.361940] loop: module loaded
[ 5.375995] systemd[1]: Stopped plymouth-switch-root.service - Plymouth switch root service.
[ 5.376271] systemd[1]: systemd-fsck-root.service: Deactivated successfully.
[ 5.388199] systemd[1]: Stopped systemd-fsck-root.service - File System Check on Root Device.
[ 5.388549] systemd[1]: Stopped systemd-journald.service - Journal Service.
[ 5.389869] systemd[1]: Listening on systemd-journald-audit.socket - Journal Audit Socket.
[ 5.400746] systemd[1]: Starting systemd-journald.service - Journal Service...
[ 5.403825] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
[ 5.405927] systemd[1]: Starting systemd-network-generator.service - Generate network units from Kernel command line...
[ 5.406049] systemd[1]: systemd-pcrmachine.service - TPM2 PCR Machine ID Measurement was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/StubPcrKernelImage-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f).
[ 5.407455] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
[ 5.408750] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
[ 5.410666] systemd[1]: Mounted dev-hugepages.mount - Huge Pages File System.
[ 5.410844] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System.
[ 5.410977] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
[ 5.411096] systemd[1]: Mounted sys-kernel-tracing.mount - Kernel Trace File System.
[ 5.414122] systemd-journald[672]: Collecting audit messages is enabled.
[ 5.416446] mc: Linux media interface: v0.10
[ 5.422067] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes.
[ 5.422107] audit: type=1130 audit(1692332483.299:2): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=kmod-static-nodes comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 5.422437] systemd[1]: Started systemd-journald.service - Journal Service.
[ 5.422551] audit: type=1130 audit(1692332483.299:3): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-journald comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 5.431973] videodev: Linux video capture interface: v2.00
[ 5.434148] v4l2loopback: loading out-of-tree module taints kernel.
[ 5.434152] v4l2loopback: module verification failed: signature and/or required key missing - tainting kernel
[ 5.434572] v4l2loopback driver version 0.12.7 loaded
[ 5.440072] audit: type=1130 audit(1692332483.317:4): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=lvm2-monitor comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 5.448412] audit: type=1130 audit(1692332483.325:5): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=modprobe@configfs comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 5.448416] audit: type=1131 audit(1692332483.325:6): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=modprobe@configfs comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 5.456130] audit: type=1130 audit(1692332483.333:7): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=modprobe@dm_mod comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 5.456136] audit: type=1131 audit(1692332483.333:8): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=modprobe@dm_mod comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 5.468218] audit: type=1130 audit(1692332483.345:9): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=modprobe@drm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 5.468222] audit: type=1131 audit(1692332483.345:10): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=modprobe@drm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 5.476232] audit: type=1130 audit(1692332483.353:11): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=modprobe@fuse comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 5.539726] systemd-journald[672]: Received client request to flush runtime journal.
[ 5.728687] Consider using thermal netlink events interface
[ 5.737075] XFS (nvme0n1p7): Mounting V5 Filesystem c784422a-4eae-41ae-ae2d-438b7e93d444
[ 5.740206] resource: resource sanity check: requesting [mem 0x00000000fedc0000-0x00000000fedcffff], which spans more than pnp 00:03 [mem 0xfedc0000-0xfedc7fff]
[ 5.740210] caller igen6_probe+0x1a0/0x8d0 [igen6_edac] mapping multiple BARs
[ 5.740461] zram0: detected capacity change from 0 to 16777216
[ 5.747501] EDAC MC0: Giving out device to module igen6_edac controller Intel_client_SoC MC#0: DEV 0000:00:00.0 (INTERRUPT)
[ 5.757413] EDAC MC1: Giving out device to module igen6_edac controller Intel_client_SoC MC#1: DEV 0000:00:00.0 (INTERRUPT)
[ 5.757437] EDAC igen6 MC1: HANDLING IBECC MEMORY ERROR
[ 5.757438] EDAC igen6 MC1: ADDR 0x7fffffffe0
[ 5.757440] EDAC igen6 MC0: HANDLING IBECC MEMORY ERROR
[ 5.757440] EDAC igen6 MC0: ADDR 0x7fffffffe0
[ 5.761119] EDAC igen6: v2.5
[ 5.773745] input: Ideapad extra buttons as /devices/pci0000:00/0000:00:1f.0/PNP0C09:00/VPC2004:00/input/input29
[ 5.783447] idma64 idma64.0: Found Intel integrated DMA 64-bit
[ 5.785804] ACPI: bus type thunderbolt registered
[ 5.785804] ideapad_acpi VPC2004:00: Keyboard backlight control not available
[ 5.786974] input: PC Speaker as /devices/platform/pcspkr/input/input30
[ 5.792004] i801_smbus 0000:00:1f.4: SPD Write Disable is set
[ 5.792060] i801_smbus 0000:00:1f.4: SMBus using PCI interrupt
[ 5.792359] mei_me 0000:00:16.0: enabling device (0000 -> 0002)
[ 5.792878] input: Lenovo Yoga Tablet Mode Control switch as /devices/platform/PNP0C14:01/wmi_bus/wmi_bus-PNP0C14:01/06129D99-6083-4164-81AD-F092F9D773A6/input/input31
[ 5.796118] idma64 idma64.1: Found Intel integrated DMA 64-bit
[ 5.800192] i2c i2c-16: 8/8 memory slots populated (from DMI)
[ 5.800195] i2c i2c-16: Systems with more than 4 memory slots not supported yet, not instantiating SPD
[ 5.807909] Bluetooth: Core ver 2.22
[ 5.807931] NET: Registered PF_BLUETOOTH protocol family
[ 5.807932] Bluetooth: HCI device and connection manager initialized
[ 5.807937] Bluetooth: HCI socket layer initialized
[ 5.807939] Bluetooth: L2CAP socket layer initialized
[ 5.807943] Bluetooth: SCO socket layer initialized
[ 5.808495] XFS (nvme0n1p7): Ending clean mount
[ 5.846467] intel_rapl_msr: PL4 support detected.
[ 5.846506] intel_rapl_common: Found RAPL domain package
[ 5.846509] intel_rapl_common: Found RAPL domain core
[ 5.846511] intel_rapl_common: Found RAPL domain uncore
[ 5.848904] iTCO_vendor_support: vendor-support=0
[ 5.849148] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 5.849233] mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915])
[ 5.849329] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 5.850003] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_ops [i915])
[ 5.852827] iTCO_wdt iTCO_wdt: Found a Intel PCH TCO device (Version=6, TCOBASE=0x0400)
[ 5.853001] iTCO_wdt iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[ 5.858877] usbcore: registered new interface driver btusb
[ 5.860231] mei_gsc i915.mei-gscfi.1024: FW not ready: resetting: dev_state = 2 pxp = 0
[ 5.860253] mei_gsc i915.mei-gscfi.1024: unexpected reset: dev_state = ENABLED fw status = 00000345 84670000 00000000 00000000 E0020002 00000000
[ 5.860599] Bluetooth: hci0: Device revision is 0
[ 5.860601] Bluetooth: hci0: Secure boot is enabled
[ 5.860602] Bluetooth: hci0: OTP lock is enabled
[ 5.860603] Bluetooth: hci0: API lock is enabled
[ 5.860603] Bluetooth: hci0: Debug lock is disabled
[ 5.860604] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[ 5.860605] Bluetooth: hci0: Bootloader timestamp 2019.40 buildtype 1 build 38
[ 5.860983] mei_gsc i915.mei-gsc.1024: FW not ready: resetting: dev_state = 2 pxp = 2
[ 5.861006] mei_gsc i915.mei-gsc.1024: unexpected reset: dev_state = ENABLED fw status = 00000345 84670000 00000000 00000000 E0020002 00000000
[ 5.862324] usb 3-8: Found UVC 1.50 device Integrated RGB Camera (5986:2146)
[ 5.869533] Adding 8388604k swap on /dev/zram0. Priority:100 extents:1 across:8388604k SSDscFS
[ 5.869970] intel_rapl_common: Found RAPL domain package
[ 5.870261] Intel(R) Wireless WiFi driver for Linux
[ 5.873062] iwlwifi 0000:00:14.3: Detected crf-id 0x400410, cnv-id 0x80400 wfpm id 0x80000020
[ 5.873069] iwlwifi 0000:00:14.3: PCI dev 51f0/0094, rev=0x370, rfid=0x2010d000
[ 5.879308] RAPL PMU: API unit is 2^-32 Joules, 3 fixed counters, 655360 ms ovfl timer
[ 5.879310] RAPL PMU: hw unit of domain pp0-core 2^-14 Joules
[ 5.879310] RAPL PMU: hw unit of domain package 2^-14 Joules
[ 5.879311] RAPL PMU: hw unit of domain pp1-gpu 2^-14 Joules
[ 5.881800] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[ 5.881896] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 5.900025] Bluetooth: hci0: Found device firmware: intel/ibt-0040-0041.sfi
[ 5.900070] Bluetooth: hci0: Boot Address: 0x100800
[ 5.900072] Bluetooth: hci0: Firmware Version: 252-24.23
[ 5.906129] usb 3-8: Found UVC 1.50 device Integrated RGB Camera (5986:2146)
[ 5.921374] iwlwifi 0000:00:14.3: api flags index 2 larger than supported by driver
[ 5.921404] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version: 0.0.2.39
[ 5.921762] iwlwifi 0000:00:14.3: loaded firmware version 78.3bfdc55f.0 so-a0-gf-a0-78.ucode op_mode iwlmvm
[ 5.927984] usbcore: registered new interface driver uvcvideo
[ 6.028826] intel_tcc_cooling: Programmable TCC Offset detected
[ 6.061596] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[ 6.061678] sof-audio-pci-intel-tgl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 6.061697] sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -> 0002)
[ 6.061862] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[ 6.061934] sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 6.068612] sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
[ 6.101246] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6E AX211 160MHz, REV=0x370
[ 6.101310] thermal thermal_zone12: failed to read out thermal zone (-61)
[ 6.104490] sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5
[ 6.104494] sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[ 6.104497] sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 2
[ 6.107879] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
[ 6.120761] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[ 6.120764] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
[ 6.120768] sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
[ 6.218766] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[ 6.218781] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
[ 6.242035] sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:0
[ 6.242198] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: Parent card not yet available, widget card binding deferred
[ 6.256865] i915 0000:04:00.0: [drm] GT0: HuC: authenticated!
[ 6.256875] mei_pxp i915.mei-gsc.1024-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:04:00.0 (ops i915_pxp_tee_component_ops [i915])
[ 6.264910] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x1f
[ 6.264958] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[ 6.264968] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x80
[ 6.264978] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0
[ 6.266093] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 5
[ 6.266146] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC287: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 6.266158] snd_hda_codec_realtek ehdaudio0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 6.266164] snd_hda_codec_realtek ehdaudio0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 6.266169] snd_hda_codec_realtek ehdaudio0D0: mono: mono_out=0x0
[ 6.266171] snd_hda_codec_realtek ehdaudio0D0: inputs:
[ 6.266174] snd_hda_codec_realtek ehdaudio0D0: Mic=0x19
[ 6.268907] iwlwifi 0000:00:14.3: loaded PNVM version 181407b3
[ 6.285074] iwlwifi 0000:00:14.3: Detected RF GF, rfid=0x2010d000
[ 6.310449] snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
[ 6.310477] snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten
[ 6.311033] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget hifi3 overwritten
[ 6.311057] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget hifi2 overwritten
[ 6.311078] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget hifi1 overwritten
[ 6.311097] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Codec Output Pin1 overwritten
[ 6.311115] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Codec Input Pin1 overwritten
[ 6.311139] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Analog Codec Playback overwritten
[ 6.311162] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Digital Codec Playback overwritten
[ 6.311185] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Alt Analog Codec Playback overwritten
[ 6.311214] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Analog Codec Capture overwritten
[ 6.311236] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Digital Codec Capture overwritten
[ 6.311259] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Alt Analog Codec Capture overwritten
[ 6.311298] skl_hda_dsp_generic skl_hda_dsp_generic: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 3
[ 6.333668] input: sof-hda-dsp Mic as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input32
[ 6.334132] input: sof-hda-dsp Headphone as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input33
[ 6.334387] input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input34
[ 6.334497] input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input35
[ 6.334597] input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input36
[ 6.354619] iwlwifi 0000:00:14.3: base HW address: 70:32:17:75:fe:cc
[ 6.372826] iwlwifi 0000:00:14.3 wlp0s20f3: renamed from wlan0
[ 6.584970] RPC: Registered named UNIX socket transport module.
[ 6.584971] RPC: Registered udp transport module.
[ 6.584972] RPC: Registered tcp transport module.
[ 6.584972] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 6.764223] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 6.764225] Bluetooth: BNEP filters: protocol multicast
[ 6.764229] Bluetooth: BNEP socket layer initialized
[ 6.825325] NET: Registered PF_QIPCRTR protocol family
[ 6.832949] hid-sensor-hub 001F:8087:0AC2.0006: hid_field_extract() called with n (192) > 32! (kworker/14:1)
[ 6.912846] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
[ 7.064833] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x1f
[ 7.064941] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[ 7.064986] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x80
[ 7.064996] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0
[ 7.080918] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 5
[ 7.160298] iwlwifi 0000:00:14.3: Registered PHC clock: iwlwifi-PTP, with index: 0
[ 7.197732] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
[ 7.349812] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x1f
[ 7.349862] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[ 7.349871] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x80
[ 7.349879] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0
[ 7.365994] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 5
[ 7.525741] Bluetooth: hci0: Waiting for firmware download to complete
[ 7.525751] Bluetooth: hci0: Firmware loaded in 1587612 usecs
[ 7.525835] Bluetooth: hci0: Waiting for device to boot
[ 7.541616] Bluetooth: hci0: Device booted in 15449 usecs
[ 7.541671] Bluetooth: hci0: Malformed MSFT vendor event: 0x02
[ 7.542527] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-0040-0041.ddc
[ 7.545790] Bluetooth: hci0: Applying Intel DDC parameters completed
[ 7.548696] Bluetooth: hci0: Firmware timestamp 2023.24 buildtype 1 build 67068
[ 7.619136] Bluetooth: MGMT ver 1.22
[ 8.623850] tun: Universal TUN/TAP device driver, 1.6
[ 9.269248] warning: `QSampleCache::L' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211
[ 9.502142] Bluetooth: RFCOMM TTY layer initialized
[ 9.502148] Bluetooth: RFCOMM socket layer initialized
[ 9.502151] Bluetooth: RFCOMM ver 1.11
[ 28.044478] wlp0s20f3: authenticate with b4:fb:e4:29:8b:d5
[ 28.051521] wlp0s20f3: send auth to b4:fb:e4:29:8b:d5 (try 1/3)
[ 28.084165] wlp0s20f3: authenticated
[ 28.085158] wlp0s20f3: associate with b4:fb:e4:29:8b:d5 (try 1/3)
[ 28.088378] wlp0s20f3: RX AssocResp from b4:fb:e4:29:8b:d5 (capab=0x1111 status=0 aid=6)
[ 28.097093] wlp0s20f3: associated
[ 28.134810] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s20f3: link becomes ready
[ 30.530646] input: Espanso virtual device as /devices/virtual/input/input37
[ 55.061176] FS-Cache: Loaded
[ 55.105691] Key type dns_resolver registered
[ 55.217717] NFS: Registering the id_resolver key type
[ 55.217724] Key type id_resolver registered
[ 55.217725] Key type id_legacy registered
[ 97.833885] legion_laptop: legion_laptop starts loading
[ 97.834012] legion PNP0C09:00: legion_laptop platform driver probing
[ 97.834016] legion PNP0C09:00: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82UF; DMI_BIOS_VERSION:J1CN38WW
[ 97.834018] legion_laptop: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82UF; DMI_BIOS_VERSION:J1CN38WW
[ 97.834024] legion PNP0C09:00: is_denied: 0; is_allowed: 1; do_load_by_list: 1; do_load: 1
[ 97.834026] legion PNP0C09:00: legion_laptop is forced to load.
[ 97.834028] legion PNP0C09:00: Using configuration for system: J1CN
[ 97.834095] legion PNP0C09:00: ACPI CFG: 2081284372
[ 97.834097] legion_laptop: Creating RAM access to embedded controller
[ 97.834127] legion_laptop: Succeffuly mapped embedded controller: 0xfe0b0400 (in RAM)/0x0 (in EC) to virtual 0x000000005d55582d
[ 97.834623] legion PNP0C09:00: Read embedded controller ID 0x8227
[ 97.834625] legion PNP0C09:00: Creating debugfs inteface
[ 97.834638] legion_laptop: Creating sysfs inteface
[ 97.834678] legion_laptop: Creating hwmon interface
[ 97.834797] legion_laptop: Creating platform profile support
[ 97.834798] legion_laptop: Skipping creating platform profile support because enable_platformprofile is false
[ 97.834799] legion_laptop: Init WMI driver support
[ 97.834862] legion_laptop: Init keyboard backlight LED driver
[ 97.834866] legion_laptop: ACPI evaluation error for: 8C5B9127-ECD4-4657-980F-851019F99CA5:1
[ 97.834868] legion_laptop: Error for WMI method call to get brightness
[ 97.834869] legion_laptop: Error reading keyboard brighntess
[ 97.834870] legion PNP0C09:00: Init keyboard backlight LED driver failed. Skipping ...
[ 97.834871] legion_laptop: Init Y-Logo LED driver
[ 97.834872] legion_laptop: ACPI evaluation error for: 8C5B9127-ECD4-4657-980F-851019F99CA5:1
[ 97.834873] legion_laptop: Error for WMI method call to get brightness
[ 97.834874] legion_laptop: Error reading brighntess for light: 3
[ 97.834875] legion PNP0C09:00: Init Y-Logo LED driver failed. Skipping ...
[ 97.834876] legion_laptop: Init IO-Port LED driver
[ 97.834877] legion_laptop: ACPI evaluation error for: 8C5B9127-ECD4-4657-980F-851019F99CA5:1
[ 97.834878] legion_laptop: Error for WMI method call to get brightness
[ 97.834879] legion_laptop: Error reading brighntess for light: 5
[ 97.834880] legion PNP0C09:00: Init IO-Port LED driver failed. Skipping ...
[ 97.834881] legion PNP0C09:00: legion_laptop loaded for this device
[ 126.131373] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PC00.LPCB.EC0._Q44.WM00], AE_NOT_FOUND (20230331/psargs-330)
[ 126.131474] ACPI Error: Aborting method \_SB.PC00.LPCB.EC0._Q44 due to previous error (AE_NOT_FOUND) (20230331/psparse-529)
[ 126.611393] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PC00.LPCB.EC0._Q44.WM00], AE_NOT_FOUND (20230331/psargs-330)
[ 126.611494] ACPI Error: Aborting method \_SB.PC00.LPCB.EC0._Q44 due to previous error (AE_NOT_FOUND) (20230331/psparse-529)
[ 144.383804] legion_laptop: WMI evaluation error for: 887B54E3-DDDC-4B2C-8B88-68A26A8835D0:18
[ 144.383811] legion_laptop: WMI evaluation error for: 92549549-4bde-4f06-ac04-ce8bf898dbaa:8
[ 144.383813] legion_laptop: WMI evaluation error for: dc2a8805-3a8c-41ba-a6f7-092e0089cd3b:17
[ 144.384315] legion_laptop: WMI evaluation error for: 887B54E3-DDDC-4B2C-8B88-68A26A8835D0:19
[ 144.384317] legion_laptop: WMI evaluation error for: 92549549-4bde-4f06-ac04-ce8bf898dbaa:8
[ 144.384319] legion_laptop: WMI evaluation error for: dc2a8805-3a8c-41ba-a6f7-092e0089cd3b:17
[ 144.385307] legion_laptop: WMI evaluation error for: 887B54E3-DDDC-4B2C-8B88-68A26A8835D0:8
[ 144.385310] legion_laptop: WMI evaluation error for: 92549549-4bde-4f06-ac04-ce8bf898dbaa:7
[ 144.385312] legion_laptop: WMI evaluation error for: dc2a8805-3a8c-41ba-a6f7-092e0089cd3b:17
[ 144.386303] legion_laptop: WMI evaluation error for: 887B54E3-DDDC-4B2C-8B88-68A26A8835D0:9
[ 144.386305] legion_laptop: WMI evaluation error for: 92549549-4bde-4f06-ac04-ce8bf898dbaa:7
[ 144.386306] legion_laptop: WMI evaluation error for: dc2a8805-3a8c-41ba-a6f7-092e0089cd3b:17
[ 144.386308] legion_laptop: WMI evaluation error for: 887B54E3-DDDC-4B2C-8B88-68A26A8835D0:45
[ 144.386558] legion_laptop: WMI evaluation error for: 887B54E3-DDDC-4B2C-8B88-68A26A8835D0:45
[ 144.386891] legion_laptop: WMI evaluation error for: 887B54E3-DDDC-4B2C-8B88-68A26A8835D0:37
[ 144.386894] legion_laptop: ACPI evaluation error for: 8C5B9127-ECD4-4657-980F-851019F99CA5:1
[ 144.386895] legion_laptop: Error for WMI method call to get brightness
[ 144.386896] legion_laptop: ACPI evaluation error for: 8C5B9127-ECD4-4657-980F-851019F99CA5:1
[ 144.386897] legion_laptop: Error for WMI method call to get brightness
[ 144.386899] legion_laptop: ACPI evaluation error for: 8C5B9127-ECD4-4657-980F-851019F99CA5:1
[ 144.386900] legion_laptop: Error for WMI method call to get brightness
[ 144.387384] legion_laptop: WMI evaluation error for: 92549549-4bde-4f06-ac04-ce8bf898dbaa:1
[ 144.412026] legion_laptop: Size of object: 48
[ 144.412027] legion_laptop: ACPI evaluation error for: 92549549-4bde-4f06-ac04-ce8bf898dbaa:5
[ 144.412028] legion_laptop fan table wmi buffer000000006b8f34fc: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[ 144.412030] legion_laptop fan table wmi buffer00000000bc1106be: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[ 144.412031] legion_laptop fan table wmi buffer00000000c038a3e5: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[ 144.412031] legion_laptop fan table wmi buffer00000000861933bd: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[ 144.412032] legion_laptop fan table wmi buffer000000000c54e2e2: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[ 144.412033] legion_laptop fan table wmi buffer00000000fbc3dc17: 00 00 00 00 00 00 00 00 ........
$
$ sudo cat /sys/kernel/debug/legion/ecmemory | hexdump -C
00000000 00 40 00 00 00 00 1a 00 00 00 00 04 00 00 1f 00 |.@..............|
00000010 00 00 80 00 06 00 28 01 00 01 03 00 00 00 10 00 |......(.........|
00000020 00 00 01 00 00 00 03 00 00 00 00 00 00 00 00 84 |................|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 cb 03 00 00 00 05 00 00 00 00 00 00 44 55 00 00 |............DU..|
00000050 00 00 00 1d 00 00 80 e1 00 07 00 30 00 00 00 00 |...........0....|
00000060 00 80 02 03 02 00 00 08 00 00 00 00 01 00 20 01 |.............. .|
00000070 00 02 10 01 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000080 00 00 00 00 08 00 00 00 c0 00 d3 00 a1 08 01 43 |...............C|
00000090 65 6c 78 70 65 72 74 00 4c 32 31 43 34 50 45 31 |elxpert.L21C4PE1|
000000a0 00 09 00 06 00 00 c0 00 00 00 00 00 00 27 00 00 |.............'..|
000000b0 30 2b 2e 00 1d 30 00 28 02 11 00 00 00 c0 01 00 |0+...0.(........|
000000c0 00 01 63 17 a3 0d f8 3d a0 3c 0f 27 ee 25 3e 00 |..c....=.<.'.%>.|
000000d0 f8 fb ee fb 00 00 00 23 c9 10 00 00 00 00 00 00 |.......#........|
000000e0 00 00 00 00 00 00 00 00 00 00 00 00 01 00 2f 00 |............../.|
000000f0 01 00 00 00 7e 54 88 45 00 00 00 00 00 00 1a 00 |....~T.E........|
00000100 80 00 00 00 00 00 04 04 3c 44 44 44 00 00 00 00 |........<DDD....|
00000110 07 00 ff ff 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000130 12 01 2e 29 02 04 04 00 30 1d 2b 2e 00 00 00 00 |...)....0.+.....|
00000140 00 17 1a 1c 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000160 05 05 05 05 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000170 08 08 08 08 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000180 7f 7f 7f 7f 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001a0 2b 30 34 7f 00 00 00 00 00 00 00 00 00 00 00 00 |+04.............|
000001b0 00 26 2a 2e 00 00 00 00 00 00 00 00 00 00 00 00 |.&*.............|
000001c0 25 2a 2d 7f 00 00 00 00 00 00 00 00 00 00 00 00 |%*-.............|
000001d0 00 20 25 2a 00 00 00 00 00 00 00 00 00 00 00 00 |. %*............|
000001e0 6f 0a 6f 0a 1a 1a 30 1d 2b 00 00 00 00 00 00 00 |o.o...0.+.......|
000001f0 07 03 07 03 00 00 00 00 00 00 00 00 1a 1a 03 03 |................|
00000200 1a 1a 00 00 00 00 00 00 00 00 00 00 00 04 00 00 |................|
00000210 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000230 03 80 81 82 00 00 02 02 00 02 00 00 00 00 00 00 |................|
00000240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 01 |................|
00000270 aa 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000280 af f5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000290 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000002a0 00 91 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000002b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000300
$ sudo cat /sys/kernel/debug/legion/ecmemoryram | hexdump -C
00000000 00 40 00 00 00 00 1a 00 00 00 00 04 00 00 1f 00 |.@..............|
00000010 00 00 80 00 06 00 28 01 00 01 03 00 00 00 10 00 |......(.........|
00000020 00 00 01 00 00 00 03 00 00 00 00 00 00 00 00 84 |................|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 cb 03 00 00 00 05 00 00 00 00 00 00 44 55 00 00 |............DU..|
00000050 00 00 00 1d 00 00 80 e1 00 07 00 30 00 00 00 00 |...........0....|
00000060 00 80 02 03 02 00 00 08 00 00 00 00 01 00 20 01 |.............. .|
00000070 00 02 10 01 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000080 00 00 00 00 08 00 00 00 c0 00 d3 00 a1 08 01 43 |...............C|
00000090 65 6c 78 70 65 72 74 00 4c 32 31 43 34 50 45 31 |elxpert.L21C4PE1|
000000a0 00 09 00 06 00 00 c0 00 00 00 00 00 00 27 00 00 |.............'..|
000000b0 30 2b 2e 00 1d 2f 00 28 02 11 00 00 00 c0 01 00 |0+.../.(........|
000000c0 00 01 5f 17 a3 0d f5 3d a0 3c 0f 27 ee 25 3e 00 |.._....=.<.'.%>.|
000000d0 f8 fb e7 fb 00 00 00 23 c9 10 00 00 00 00 00 00 |.......#........|
000000e0 00 00 00 00 00 00 00 00 00 00 00 00 01 00 2f 00 |............../.|
000000f0 01 00 00 00 7e 54 88 45 00 00 00 00 00 00 1a 00 |....~T.E........|
00000100 80 00 00 00 00 00 04 04 3c 44 44 44 00 00 00 00 |........<DDD....|
00000110 07 00 ff ff 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000130 12 01 2e 29 02 04 04 00 30 1d 2b 2e 00 00 00 00 |...)....0.+.....|
00000140 00 17 1a 1c 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000160 05 05 05 05 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000170 08 08 08 08 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000180 7f 7f 7f 7f 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001a0 2b 30 34 7f 00 00 00 00 00 00 00 00 00 00 00 00 |+04.............|
000001b0 00 26 2a 2e 00 00 00 00 00 00 00 00 00 00 00 00 |.&*.............|
000001c0 25 2a 2d 7f 00 00 00 00 00 00 00 00 00 00 00 00 |%*-.............|
000001d0 00 20 25 2a 00 00 00 00 00 00 00 00 00 00 00 00 |. %*............|
000001e0 79 0a 6f 0a 1a 1a 30 1d 2b 00 00 00 00 00 00 00 |y.o...0.+.......|
000001f0 07 03 07 03 00 00 00 00 00 00 00 00 1a 1a 50 50 |..............PP|
00000200 1a 1a 00 00 00 00 00 00 00 00 00 00 00 04 00 00 |................|
00000210 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000230 03 80 81 82 00 00 02 00 00 02 00 00 00 00 00 00 |................|
00000240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 01 |................|
00000270 aa 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000280 ae f5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000290 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000002a0 00 91 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000002b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000300 e1 f1 aa 11 10 e9 92 97 93 d0 0d 55 56 20 00 20 |...........UV . |
00000310 00 f3 ac 4c 4c 4c 4c 20 00 20 00 98 93 ae 10 f2 |...LLLL . ......|
00000320 67 67 45 00 aa 11 10 e8 20 00 20 00 a4 88 88 bb |ggE..... . .....|
00000330 bb da ad eb 00 a4 88 cf 88 45 00 aa 11 10 e8 a4 |.........E......|
00000340 88 88 77 5b ee 5b ee 5b ee 5b ee 5b ee 66 45 00 |..w[.[.[.[.[.fE.|
00000350 aa 11 10 e8 a4 88 88 45 00 aa 11 10 e8 a4 88 88 |.......E........|
00000360 45 00 aa 11 10 e8 a4 88 88 45 00 aa 11 10 e8 a4 |E........E......|
00000370 88 88 45 00 aa 11 10 e8 a4 88 88 00 00 00 00 00 |..E.............|
00000380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000003f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7b |...............{|
00000400 1b 1c ac 2b ac 24 ac 14 ac 15 ac 16 ac 17 ac 1b |...+.$..........|
00000410 01 ac 15 ac 17 ac 15 ac 10 01 ac 1a 00 ac 31 ac |..............1.|
00000420 10 01 ac 1a 00 ac 31 ac 10 01 ac 1a 00 ac 31 00 |......1.......1.|
00000430 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000004f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2f |.............../|
00000500 00 01 00 00 00 00 00 08 00 00 00 00 00 00 00 00 |................|
00000510 00 40 00 20 00 00 00 00 01 00 20 01 00 02 10 01 |.@. ...... .....|
00000520 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000530 40 00 b0 00 00 00 00 00 00 00 00 00 00 00 01 01 |@...............|
00000540 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000560 00 01 01 00 00 01 00 00 00 04 00 00 05 db 40 51 |..............@Q|
00000570 00 51 00 00 01 00 00 00 00 00 00 01 00 00 00 01 |.Q..............|
00000580 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 00 |................|
00000590 00 00 1e 00 00 00 00 00 00 00 00 00 00 00 10 00 |................|
000005a0 00 00 80 00 00 00 ff 00 00 00 00 00 00 00 00 00 |................|
000005b0 00 00 00 00 28 00 00 00 00 00 00 00 00 00 00 00 |....(...........|
000005c0 00 00 00 00 00 00 00 00 00 00 00 00 00 01 01 00 |................|
000005d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000005f0 00 00 00 00 00 00 00 00 00 00 01 01 00 01 01 00 |................|
00000600
$
sudo make forcereloadmodule
(with ideapad_laptop module still loaded)$ sudo make forcereloadmodule
rmmod legion-laptop.ko || true
rmmod: ERROR: Module legion_laptop is not currently loaded
insmod legion-laptop.ko force=1
dmesg --ctime
... bunch of prior dmesg output ....
[Fri Aug 18 00:32:03 2023] legion_laptop: legion_laptop starts loading
[Fri Aug 18 00:32:03 2023] legion PNP0C09:00: legion_laptop platform driver probing
[Fri Aug 18 00:32:03 2023] legion PNP0C09:00: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82UF; DMI_BIOS_VERSION:J1CN38WW
[Fri Aug 18 00:32:03 2023] legion_laptop: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82UF; DMI_BIOS_VERSION:J1CN38WW
[Fri Aug 18 00:32:03 2023] legion PNP0C09:00: is_denied: 0; is_allowed: 1; do_load_by_list: 1; do_load: 1
[Fri Aug 18 00:32:03 2023] legion PNP0C09:00: legion_laptop is forced to load.
[Fri Aug 18 00:32:03 2023] legion PNP0C09:00: Using configuration for system: J1CN
[Fri Aug 18 00:32:03 2023] legion PNP0C09:00: ACPI CFG: 2081284372
[Fri Aug 18 00:32:03 2023] legion_laptop: Creating RAM access to embedded controller
[Fri Aug 18 00:32:03 2023] legion_laptop: Succeffuly mapped embedded controller: 0xfe0b0400 (in RAM)/0x0 (in EC) to virtual 0x00000000e5ef5850
[Fri Aug 18 00:32:03 2023] legion PNP0C09:00: Read embedded controller ID 0x8227
[Fri Aug 18 00:32:03 2023] legion PNP0C09:00: Creating debugfs inteface
[Fri Aug 18 00:32:03 2023] legion_laptop: Creating sysfs inteface
[Fri Aug 18 00:32:03 2023] legion_laptop: Creating hwmon interface
[Fri Aug 18 00:32:03 2023] legion_laptop: Creating platform profile support
[Fri Aug 18 00:32:03 2023] legion PNP0C09:00: Creating platform profile failed: -17
[Fri Aug 18 00:32:03 2023] legion_laptop: Unloading legion hwon
[Fri Aug 18 00:32:03 2023] legion_laptop: Unloading legion hwon done
[Fri Aug 18 00:32:03 2023] legion_laptop: Unloading legion sysfs
[Fri Aug 18 00:32:03 2023] legion_laptop: Unloading legion sysfs done
[Fri Aug 18 00:32:03 2023] legion_laptop: Unloading legion dubugfs
[Fri Aug 18 00:32:03 2023] legion_laptop: Unloading legion dubugfs done
[Fri Aug 18 00:32:03 2023] legion_laptop: Unloading legion ecram
[Fri Aug 18 00:32:03 2023] legion_laptop: Unloading legion ecram done
[Fri Aug 18 00:32:03 2023] legion_laptop: Unmapping embedded controller memory at 0xfe0b0400 (in RAM)/0x0 (in EC) at virtual 0x00000000e5ef5850
[Fri Aug 18 00:32:03 2023] legion_laptop: Unloading legion shared
[Fri Aug 18 00:32:03 2023] legion_laptop: Unloading legion shared done
[Fri Aug 18 00:32:03 2023] legion PNP0C09:00: legion_laptop not loaded for this device
[Fri Aug 18 00:32:03 2023] legion: probe of PNP0C09:00 failed with error -17
bash -c "./issue-warning.sh"
If you have a 2022 or 2023 model, please help testing the new features 'here'
If you have a light in the lid (Y-logo) or at the IO-ports (all Legion 7), please help testing controlling it 'here'
$
ideapad_laptop
loaded, and was after pressing Fn-Q 2 times$ sudo cat /sys/firmware/acpi/platform_profile; sudo cat /sys/kernel/debug/legion/fancurve; sudo dmesg | tail -n 400
balanced
cat: /sys/kernel/debug/legion/fancurve: No such file or directory
[ 2.045650] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes...
[ 2.047385] systemd[1]: Starting systemd-journald.service - Journal Service...
[ 2.048000] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
[ 2.048502] systemd[1]: Starting systemd-sysusers.service - Create System Users...
[ 2.048916] systemd[1]: Starting systemd-vconsole-setup.service - Setup Virtual Console...
[ 2.053443] systemd-journald[356]: Collecting audit messages is disabled.
[ 2.067603] fuse: init (API version 7.38)
[ 2.069039] alua: device handler registered
[ 2.069051] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes.
[ 2.069422] systemd[1]: Started systemd-journald.service - Journal Service.
[ 2.069841] emc: device handler registered
[ 2.070780] rdac: device handler registered
[ 2.103051] usb 3-6: new full-speed USB device number 3 using xhci_hcd
[ 2.231369] usb 3-6: New USB device found, idVendor=06cb, idProduct=00be, bcdDevice= 0.00
[ 2.231375] usb 3-6: New USB device strings: Mfr=0, Product=0, SerialNumber=1
[ 2.231377] usb 3-6: SerialNumber: 24e016adb083
[ 2.347039] usb 3-7: new full-speed USB device number 4 using xhci_hcd
[ 2.479385] usb 3-7: New USB device found, idVendor=046d, idProduct=c52b, bcdDevice=12.11
[ 2.479404] usb 3-7: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.479410] usb 3-7: Product: USB Receiver
[ 2.479416] usb 3-7: Manufacturer: Logitech
[ 2.485287] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:14.0/usb3/3-7/3-7:1.0/0003:046D:C52B.0002/input/input8
[ 2.537281] input: SYNA2BA6:00 06CB:CEC0 Mouse as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-SYNA2BA6:00/0018:06CB:CEC0.0003/input/input9
[ 2.537897] hid-generic 0003:046D:C52B.0002: input,hidraw1: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:00:14.0-7/input0
[ 2.538204] input: SYNA2BA6:00 06CB:CEC0 Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-SYNA2BA6:00/0018:06CB:CEC0.0003/input/input10
[ 2.539118] hid-generic 0018:06CB:CEC0.0003: input,hidraw2: I2C HID v1.00 Mouse [SYNA2BA6:00 06CB:CEC0] on i2c-SYNA2BA6:00
[ 2.543398] input: Logitech USB Receiver Mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-7/3-7:1.1/0003:046D:C52B.0004/input/input12
[ 2.543484] input: Logitech USB Receiver Consumer Control as /devices/pci0000:00/0000:00:14.0/usb3/3-7/3-7:1.1/0003:046D:C52B.0004/input/input13
[ 2.546907] sdhci: Secure Digital Host Controller Interface driver
[ 2.546909] sdhci: Copyright(c) Pierre Ossman
[ 2.547713] nvme 0000:01:00.0: platform quirk: setting simple suspend
[ 2.547769] nvme nvme0: pci function 0000:01:00.0
[ 2.553886] nvme nvme0: Shutdown timeout set to 8 seconds
[ 2.583870] nvme nvme0: allocated 64 MiB host memory buffer.
[ 2.590626] nvme nvme0: 16/0/0 default/read/poll queues
[ 2.598128] nvme nvme0: Ignoring bogus Namespace Identifiers
[ 2.606827] nvme0n1: p1 p2 p3 p4 p7 p8
[ 2.620330] sdhci-pci 0000:57:00.0: SDHCI controller found [1217:8621] (rev 1)
[ 2.620433] sdhci-pci 0000:57:00.0: enabling device (0000 -> 0002)
[ 2.621190] mmc0: SDHCI controller on PCI [0000:57:00.0] using ADMA
[ 2.625149] input: Logitech USB Receiver System Control as /devices/pci0000:00/0000:00:14.0/usb3/3-7/3-7:1.1/0003:046D:C52B.0004/input/input14
[ 2.642235] hid-generic 0003:046D:C52B.0004: input,hiddev97,hidraw2: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:14.0-7/input1
[ 2.643496] hid-generic 0003:046D:C52B.0005: hiddev98,hidraw3: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-7/input2
[ 2.651215] input: SYNA2BA6:00 06CB:CEC0 Mouse as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-SYNA2BA6:00/0018:06CB:CEC0.0003/input/input16
[ 2.651308] input: SYNA2BA6:00 06CB:CEC0 Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-SYNA2BA6:00/0018:06CB:CEC0.0003/input/input17
[ 2.651347] hid-multitouch 0018:06CB:CEC0.0003: input,hidraw4: I2C HID v1.00 Mouse [SYNA2BA6:00 06CB:CEC0] on i2c-SYNA2BA6:00
[ 2.757024] usb 3-8: new high-speed USB device number 5 using xhci_hcd
[ 2.918735] i915 0000:00:02.0: [drm] VT-d active for gfx access
[ 2.926636] usb 3-8: New USB device found, idVendor=5986, idProduct=2146, bcdDevice=57.24
[ 2.926639] usb 3-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.926640] usb 3-8: Product: Integrated RGB Camera
[ 2.926641] usb 3-8: Manufacturer: SunplusIT Inc
[ 2.926642] usb 3-8: SerialNumber: 01.00.00
[ 2.929292] i915 0000:00:02.0: vgaarb: deactivate vga console
[ 2.929344] i915 0000:00:02.0: [drm] Using Transparent Hugepages
[ 2.929723] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 2.934604] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adlp_dmc.bin (v2.20)
[ 2.966058] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/adlp_guc_70.bin version 70.5.1
[ 2.966060] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3
[ 2.981263] i915 0000:00:02.0: [drm] GT0: HuC: authenticated!
[ 2.982221] i915 0000:00:02.0: [drm] GT0: GUC: submission enabled
[ 2.982223] i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled
[ 2.982728] i915 0000:00:02.0: [drm] GT0: GUC: RC enabled
[ 2.983581] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content support initialized
[ 3.055099] usb 3-10: new full-speed USB device number 6 using xhci_hcd
[ 3.185075] usb 3-10: New USB device found, idVendor=8087, idProduct=0033, bcdDevice= 0.00
[ 3.185100] usb 3-10: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.195025] ish-hid {33AECD58-B679-4E54-9BD9-A04D34F0C226}: [hid-ish]: enum_devices_done OK, num_hid_devices=1
[ 3.207169] hid-generic 001F:8087:0AC2.0006: hidraw5: SENSOR HUB HID v2.00 Device [hid-ishtp 8087:0AC2] on
[ 3.255299] logitech-djreceiver 0003:046D:C52B.0005: hiddev98,hidraw1: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-7/input2
[ 3.353052] input: Wacom Pen and multitouch sensor Pen as /devices/pci0000:00/0000:00:14.0/usb3/3-5/3-5:1.0/0003:056A:52D7.0001/input/input19
[ 3.353473] input: Wacom Pen and multitouch sensor Finger as /devices/pci0000:00/0000:00:14.0/usb3/3-5/3-5:1.0/0003:056A:52D7.0001/input/input20
[ 3.353672] wacom 0003:056A:52D7.0001: hidraw0: USB HID v1.11 Mouse [Wacom Co.,Ltd. Pen and multitouch sensor] on usb-0000:00:14.0-5/input0
[ 3.361222] input: Logitech Wireless Device PID:405e Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-7/3-7:1.2/0003:046D:C52B.0005/0003:046D:405E.0007/input/input22
[ 3.361552] input: Logitech Wireless Device PID:405e Mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-7/3-7:1.2/0003:046D:C52B.0005/0003:046D:405E.0007/input/input23
[ 3.361686] hid-generic 0003:046D:405E.0007: input,hidraw2: USB HID v1.11 Keyboard [Logitech Wireless Device PID:405e] on usb-0000:00:14.0-7/input2:1
[ 3.453261] input: Logitech M720 Triathlon as /devices/pci0000:00/0000:00:14.0/usb3/3-7/3-7:1.2/0003:046D:C52B.0005/0003:046D:405E.0007/input/input27
[ 3.454390] logitech-hidpp-device 0003:046D:405E.0007: input,hidraw2: USB HID v1.11 Keyboard [Logitech M720 Triathlon] on usb-0000:00:14.0-7/input2:1
[ 4.229706] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 1
[ 4.232065] ACPI: video: Video Device [GFX0] (multi-head: yes rom: no post: no)
[ 4.232620] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input28
[ 4.233111] i915 0000:04:00.0: enabling device (0000 -> 0002)
[ 4.233349] i915 0000:04:00.0: [drm] Display not present, disabling
[ 4.234273] i915 0000:04:00.0: [drm] VT-d active for gfx access
[ 4.234346] i915 0000:04:00.0: [drm] Local memory IO size: 0x00000000fd000000
[ 4.234350] i915 0000:04:00.0: [drm] Local memory available: 0x00000000fd000000
[ 4.236161] fbcon: i915drmfb (fb0) is primary device
[ 4.236166] fbcon: Deferring console take-over
[ 4.236170] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[ 4.273843] i915 0000:04:00.0: [drm] *ERROR* GT workaround lost on init! (reg[9424]=0xfffffffe, relevant bits were 0x2 vs expected 0x0)
[ 4.273868] i915 0000:04:00.0: [drm] GT0: GuC firmware i915/dg2_guc_70.bin version 70.8.0
[ 4.273870] i915 0000:04:00.0: [drm] GT0: HuC firmware i915/dg2_huc_gsc.bin version 7.10.3
[ 4.288131] i915 0000:04:00.0: [drm] GT0: GUC: submission enabled
[ 4.288137] i915 0000:04:00.0: [drm] GT0: GUC: SLPC enabled
[ 4.288507] i915 0000:04:00.0: [drm] GT0: GUC: RC enabled
[ 4.305613] [drm] Initialized i915 1.6.0 20201103 for 0000:04:00.0 on minor 0
[ 4.341575] i915 0000:00:02.0: [drm] Selective fetch area calculation failed in pipe A
[ 4.620263] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[ 4.624630] XFS (nvme0n1p8): Mounting V5 Filesystem aa95e537-fb43-4146-9771-3a824c05529c
[ 4.636801] XFS (nvme0n1p8): Ending clean mount
[ 5.058550] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=1 'systemd'
[ 5.132432] systemd-journald[356]: Received SIGTERM from PID 1 (systemd).
[ 5.158830] SELinux: https://github.com/SELinuxProject/selinux-kernel/wiki/DEPRECATE-runtime-disable
[ 5.158833] SELinux: Runtime disable is not supported, use selinux=0 on the kernel cmdline.
[ 5.159956] systemd[1]: RTC configured in localtime, applying delta of -240 minutes to system time.
[ 5.167654] systemd[1]: systemd 253.7-1.fc38 running in system mode (+PAM +AUDIT +SELINUX -APPARMOR +IMA +SMACK +SECCOMP -GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN -IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[ 5.167663] systemd[1]: Detected architecture x86-64.
[ 5.257991] systemd[1]: bpf-lsm: LSM BPF program attached
[ 5.339963] zram: Added device: zram0
[ 5.465537] systemd[1]: initrd-switch-root.service: Deactivated successfully.
[ 5.472015] systemd[1]: Stopped initrd-switch-root.service - Switch Root.
[ 5.472280] systemd[1]: systemd-journald.service: Scheduled restart job, restart counter is at 1.
[ 5.472508] systemd[1]: Created slice system-akmods\x2dkeygen.slice - Slice /system/akmods-keygen.
[ 5.472711] systemd[1]: Created slice system-getty.slice - Slice /system/getty.
[ 5.472890] systemd[1]: Created slice system-sshd\x2dkeygen.slice - Slice /system/sshd-keygen.
[ 5.473073] systemd[1]: Created slice system-systemd\x2dfsck.slice - Slice /system/systemd-fsck.
[ 5.473249] systemd[1]: Created slice system-systemd\x2dzram\x2dsetup.slice - Slice /system/systemd-zram-setup.
[ 5.473366] systemd[1]: Created slice user.slice - User and Session Slice.
[ 5.473382] systemd[1]: systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch was skipped because of an unmet condition check (ConditionPathExists=!/run/plymouth/pid).
[ 5.473411] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.
[ 5.473514] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point.
[ 5.473539] systemd[1]: Reached target cryptsetup.target - Local Encrypted Volumes.
[ 5.473552] systemd[1]: Reached target getty.target - Login Prompts.
[ 5.473568] systemd[1]: Stopped target initrd-switch-root.target - Switch Root.
[ 5.473581] systemd[1]: Stopped target initrd-fs.target - Initrd File Systems.
[ 5.473590] systemd[1]: Stopped target initrd-root-fs.target - Initrd Root File System.
[ 5.473601] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes.
[ 5.473636] systemd[1]: Reached target slices.target - Slice Units.
[ 5.473674] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes.
[ 5.473717] systemd[1]: Listening on dm-event.socket - Device-mapper event daemon FIFOs.
[ 5.473909] systemd[1]: Listening on lvm2-lvmpolld.socket - LVM2 poll daemon socket.
[ 5.473943] systemd[1]: multipathd.socket - multipathd control socket was skipped because of an unmet condition check (ConditionPathExists=/etc/multipath.conf).
[ 5.474540] systemd[1]: Listening on systemd-coredump.socket - Process Core Dump Socket.
[ 5.474573] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.
[ 5.474708] systemd[1]: Listening on systemd-oomd.socket - Userspace Out-Of-Memory (OOM) Killer Socket.
[ 5.474832] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[ 5.474877] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[ 5.474924] systemd[1]: Listening on systemd-userdbd.socket - User Database Manager Socket.
[ 5.484270] systemd[1]: Mounting dev-hugepages.mount - Huge Pages File System...
[ 5.485152] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System...
[ 5.485940] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System...
[ 5.486669] systemd[1]: Mounting sys-kernel-tracing.mount - Kernel Trace File System...
[ 5.486817] systemd[1]: auth-rpcgss-module.service - Kernel Module supporting RPCSEC_GSS was skipped because of an unmet condition check (ConditionPathExists=/etc/krb5.keytab).
[ 5.487560] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes...
[ 5.488196] systemd[1]: Starting lvm2-monitor.service - Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
[ 5.488868] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs...
[ 5.489501] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod...
[ 5.490078] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm...
[ 5.490593] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse...
[ 5.491085] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop...
[ 5.491134] systemd[1]: plymouth-switch-root.service: Deactivated successfully.
[ 5.495361] loop: module loaded
[ 5.512489] systemd[1]: Stopped plymouth-switch-root.service - Plymouth switch root service.
[ 5.513009] systemd[1]: systemd-fsck-root.service: Deactivated successfully.
[ 5.525520] systemd[1]: Stopped systemd-fsck-root.service - File System Check on Root Device.
[ 5.525893] systemd[1]: Stopped systemd-journald.service - Journal Service.
[ 5.527386] systemd[1]: Listening on systemd-journald-audit.socket - Journal Audit Socket.
[ 5.538754] systemd[1]: Starting systemd-journald.service - Journal Service...
[ 5.541196] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
[ 5.542821] systemd[1]: Starting systemd-network-generator.service - Generate network units from Kernel command line...
[ 5.542951] systemd[1]: systemd-pcrmachine.service - TPM2 PCR Machine ID Measurement was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/StubPcrKernelImage-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f).
[ 5.544371] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
[ 5.545683] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
[ 5.547683] systemd[1]: Mounted dev-hugepages.mount - Huge Pages File System.
[ 5.547911] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System.
[ 5.548085] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
[ 5.548238] systemd[1]: Mounted sys-kernel-tracing.mount - Kernel Trace File System.
[ 5.555406] systemd-journald[668]: Collecting audit messages is enabled.
[ 5.557931] mc: Linux media interface: v0.10
[ 5.560186] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes.
[ 5.560237] audit: type=1130 audit(1692333033.434:2): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=kmod-static-nodes comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 5.560713] systemd[1]: Started systemd-journald.service - Journal Service.
[ 5.560769] audit: type=1130 audit(1692333033.434:3): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-journald comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 5.572064] audit: type=1130 audit(1692333033.446:4): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=lvm2-monitor comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 5.574518] videodev: Linux video capture interface: v2.00
[ 5.576702] v4l2loopback: loading out-of-tree module taints kernel.
[ 5.576706] v4l2loopback: module verification failed: signature and/or required key missing - tainting kernel
[ 5.577140] v4l2loopback driver version 0.12.7 loaded
[ 5.586138] audit: type=1130 audit(1692333033.460:5): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=modprobe@configfs comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 5.586143] audit: type=1131 audit(1692333033.460:6): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=modprobe@configfs comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 5.599395] audit: type=1130 audit(1692333033.473:7): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=modprobe@dm_mod comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 5.599411] audit: type=1131 audit(1692333033.473:8): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=modprobe@dm_mod comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 5.616152] audit: type=1130 audit(1692333033.490:9): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=modprobe@drm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 5.616156] audit: type=1131 audit(1692333033.490:10): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=modprobe@drm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 5.624342] audit: type=1130 audit(1692333033.498:11): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=modprobe@fuse comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 5.693066] systemd-journald[668]: Received client request to flush runtime journal.
[ 5.866797] Consider using thermal netlink events interface
[ 5.879113] resource: resource sanity check: requesting [mem 0x00000000fedc0000-0x00000000fedcffff], which spans more than pnp 00:03 [mem 0xfedc0000-0xfedc7fff]
[ 5.879119] caller igen6_probe+0x1a0/0x8d0 [igen6_edac] mapping multiple BARs
[ 5.886847] EDAC MC0: Giving out device to module igen6_edac controller Intel_client_SoC MC#0: DEV 0000:00:00.0 (INTERRUPT)
[ 5.892242] XFS (nvme0n1p7): Mounting V5 Filesystem c784422a-4eae-41ae-ae2d-438b7e93d444
[ 5.897965] EDAC MC1: Giving out device to module igen6_edac controller Intel_client_SoC MC#1: DEV 0000:00:00.0 (INTERRUPT)
[ 5.897989] EDAC igen6 MC1: HANDLING IBECC MEMORY ERROR
[ 5.897990] EDAC igen6 MC1: ADDR 0x7fffffffe0
[ 5.897991] EDAC igen6 MC0: HANDLING IBECC MEMORY ERROR
[ 5.897992] EDAC igen6 MC0: ADDR 0x7fffffffe0
[ 5.898775] EDAC igen6: v2.5
[ 5.909275] ACPI: bus type thunderbolt registered
[ 5.909288] zram0: detected capacity change from 0 to 16777216
[ 5.909934] input: PC Speaker as /devices/platform/pcspkr/input/input29
[ 5.909966] mei_me 0000:00:16.0: enabling device (0000 -> 0002)
[ 5.912554] idma64 idma64.0: Found Intel integrated DMA 64-bit
[ 5.916156] i801_smbus 0000:00:1f.4: SPD Write Disable is set
[ 5.916220] i801_smbus 0000:00:1f.4: SMBus using PCI interrupt
[ 5.917572] i2c i2c-16: 8/8 memory slots populated (from DMI)
[ 5.917575] i2c i2c-16: Systems with more than 4 memory slots not supported yet, not instantiating SPD
[ 5.927443] idma64 idma64.1: Found Intel integrated DMA 64-bit
[ 5.949812] Bluetooth: Core ver 2.22
[ 5.949827] NET: Registered PF_BLUETOOTH protocol family
[ 5.949828] Bluetooth: HCI device and connection manager initialized
[ 5.949831] Bluetooth: HCI socket layer initialized
[ 5.949833] Bluetooth: L2CAP socket layer initialized
[ 5.949836] Bluetooth: SCO socket layer initialized
[ 5.958151] XFS (nvme0n1p7): Ending clean mount
[ 5.973328] iTCO_vendor_support: vendor-support=0
[ 5.974033] intel_rapl_msr: PL4 support detected.
[ 5.974048] input: Lenovo Yoga Tablet Mode Control switch as /devices/platform/PNP0C14:01/wmi_bus/wmi_bus-PNP0C14:01/06129D99-6083-4164-81AD-F092F9D773A6/input/input30
[ 5.974084] intel_rapl_common: Found RAPL domain package
[ 5.974087] intel_rapl_common: Found RAPL domain core
[ 5.974088] intel_rapl_common: Found RAPL domain uncore
[ 5.974287] mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915])
[ 5.974574] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 5.974703] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 5.975013] intel_rapl_common: Found RAPL domain package
[ 5.975054] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_ops [i915])
[ 5.978269] input: Ideapad extra buttons as /devices/pci0000:00/0000:00:1f.0/PNP0C09:00/VPC2004:00/input/input31
[ 5.978549] ideapad_acpi VPC2004:00: Keyboard backlight control not available
[ 5.979809] RAPL PMU: API unit is 2^-32 Joules, 3 fixed counters, 655360 ms ovfl timer
[ 5.979811] RAPL PMU: hw unit of domain pp0-core 2^-14 Joules
[ 5.979812] RAPL PMU: hw unit of domain package 2^-14 Joules
[ 5.979813] RAPL PMU: hw unit of domain pp1-gpu 2^-14 Joules
[ 5.982203] iTCO_wdt iTCO_wdt: Found a Intel PCH TCO device (Version=6, TCOBASE=0x0400)
[ 5.985304] mei_gsc i915.mei-gscfi.1024: FW not ready: resetting: dev_state = 2 pxp = 0
[ 5.985327] mei_gsc i915.mei-gscfi.1024: unexpected reset: dev_state = ENABLED fw status = 00000345 84670000 00000000 00000000 E0020002 00000000
[ 5.986057] mei_gsc i915.mei-gsc.1024: FW not ready: resetting: dev_state = 2 pxp = 2
[ 5.986080] mei_gsc i915.mei-gsc.1024: unexpected reset: dev_state = ENABLED fw status = 00000345 84670000 00000000 00000000 E0020002 00000000
[ 5.986151] iTCO_wdt iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[ 5.995703] usb 3-8: Found UVC 1.50 device Integrated RGB Camera (5986:2146)
[ 6.002787] Intel(R) Wireless WiFi driver for Linux
[ 6.012101] usbcore: registered new interface driver btusb
[ 6.019524] Bluetooth: hci0: Device revision is 0
[ 6.019530] Bluetooth: hci0: Secure boot is enabled
[ 6.019531] Bluetooth: hci0: OTP lock is enabled
[ 6.019532] Bluetooth: hci0: API lock is enabled
[ 6.019533] Bluetooth: hci0: Debug lock is disabled
[ 6.019534] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[ 6.019535] Bluetooth: hci0: Bootloader timestamp 2019.40 buildtype 1 build 38
[ 6.042423] iwlwifi 0000:00:14.3: Detected crf-id 0x400410, cnv-id 0x80400 wfpm id 0x80000020
[ 6.042470] iwlwifi 0000:00:14.3: PCI dev 51f0/0094, rev=0x370, rfid=0x2010d000
[ 6.046210] usb 3-8: Found UVC 1.50 device Integrated RGB Camera (5986:2146)
[ 6.059633] usbcore: registered new interface driver uvcvideo
[ 6.061749] Bluetooth: hci0: Found device firmware: intel/ibt-0040-0041.sfi
[ 6.061772] Bluetooth: hci0: Boot Address: 0x100800
[ 6.061774] Bluetooth: hci0: Firmware Version: 252-24.23
[ 6.085374] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[ 6.085460] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 6.094076] iwlwifi 0000:00:14.3: api flags index 2 larger than supported by driver
[ 6.094096] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version: 0.0.2.39
[ 6.094431] iwlwifi 0000:00:14.3: loaded firmware version 78.3bfdc55f.0 so-a0-gf-a0-78.ucode op_mode iwlmvm
[ 6.099007] Adding 8388604k swap on /dev/zram0. Priority:100 extents:1 across:8388604k SSDscFS
[ 6.115083] intel_tcc_cooling: Programmable TCC Offset detected
[ 6.197549] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[ 6.197628] sof-audio-pci-intel-tgl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 6.197650] sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -> 0002)
[ 6.197804] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[ 6.197873] sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 6.204637] sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
[ 6.212774] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6E AX211 160MHz, REV=0x370
[ 6.212836] thermal thermal_zone12: failed to read out thermal zone (-61)
[ 6.219187] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
[ 6.240853] sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5
[ 6.240855] sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[ 6.240857] sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 2
[ 6.256240] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[ 6.256242] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
[ 6.256246] sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
[ 6.354282] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[ 6.354299] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
[ 6.376235] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x1f
[ 6.376284] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[ 6.376294] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x80
[ 6.376304] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0
[ 6.377646] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 5
[ 6.378122] sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:0
[ 6.378393] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: Parent card not yet available, widget card binding deferred
[ 6.379206] iwlwifi 0000:00:14.3: loaded PNVM version 181407b3
[ 6.382010] i915 0000:04:00.0: [drm] GT0: HuC: authenticated!
[ 6.382018] mei_pxp i915.mei-gsc.1024-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:04:00.0 (ops i915_pxp_tee_component_ops [i915])
[ 6.394871] iwlwifi 0000:00:14.3: Detected RF GF, rfid=0x2010d000
[ 6.405063] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC287: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 6.405076] snd_hda_codec_realtek ehdaudio0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 6.405082] snd_hda_codec_realtek ehdaudio0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 6.405086] snd_hda_codec_realtek ehdaudio0D0: mono: mono_out=0x0
[ 6.405089] snd_hda_codec_realtek ehdaudio0D0: inputs:
[ 6.405092] snd_hda_codec_realtek ehdaudio0D0: Mic=0x19
[ 6.450537] snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
[ 6.450578] snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten
[ 6.451382] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget hifi3 overwritten
[ 6.451418] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget hifi2 overwritten
[ 6.451448] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget hifi1 overwritten
[ 6.451479] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Codec Output Pin1 overwritten
[ 6.451503] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Codec Input Pin1 overwritten
[ 6.451541] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Analog Codec Playback overwritten
[ 6.451577] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Digital Codec Playback overwritten
[ 6.451611] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Alt Analog Codec Playback overwritten
[ 6.451656] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Analog Codec Capture overwritten
[ 6.451690] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Digital Codec Capture overwritten
[ 6.451726] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Alt Analog Codec Capture overwritten
[ 6.451782] skl_hda_dsp_generic skl_hda_dsp_generic: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 3
[ 6.464404] iwlwifi 0000:00:14.3: base HW address: 70:32:17:75:fe:cc
[ 6.472518] input: sof-hda-dsp Mic as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input32
[ 6.472676] input: sof-hda-dsp Headphone as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input33
[ 6.472776] input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input34
[ 6.472870] input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input35
[ 6.472978] input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input36
[ 6.483026] iwlwifi 0000:00:14.3 wlp0s20f3: renamed from wlan0
[ 6.739492] RPC: Registered named UNIX socket transport module.
[ 6.739494] RPC: Registered udp transport module.
[ 6.739495] RPC: Registered tcp transport module.
[ 6.739495] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 6.926310] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 6.926316] Bluetooth: BNEP filters: protocol multicast
[ 6.926322] Bluetooth: BNEP socket layer initialized
[ 6.985039] NET: Registered PF_QIPCRTR protocol family
[ 7.005274] hid-sensor-hub 001F:8087:0AC2.0006: hid_field_extract() called with n (192) > 32! (kworker/14:1)
[ 7.071889] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
[ 7.223918] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x1f
[ 7.223980] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[ 7.224033] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x80
[ 7.224087] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0
[ 7.240014] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 5
[ 7.317772] iwlwifi 0000:00:14.3: Registered PHC clock: iwlwifi-PTP, with index: 0
[ 7.357488] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
[ 7.509661] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x1f
[ 7.509712] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[ 7.509763] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x80
[ 7.509815] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0
[ 7.525758] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 5
[ 7.689210] Bluetooth: hci0: Waiting for firmware download to complete
[ 7.689608] Bluetooth: hci0: Firmware loaded in 1589695 usecs
[ 7.689681] Bluetooth: hci0: Waiting for device to boot
[ 7.705714] Bluetooth: hci0: Device booted in 15702 usecs
[ 7.705731] Bluetooth: hci0: Malformed MSFT vendor event: 0x02
[ 7.706790] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-0040-0041.ddc
[ 7.709569] Bluetooth: hci0: Applying Intel DDC parameters completed
[ 7.712680] Bluetooth: hci0: Firmware timestamp 2023.24 buildtype 1 build 67068
[ 7.784242] Bluetooth: MGMT ver 1.22
[ 8.753143] tun: Universal TUN/TAP device driver, 1.6
[ 9.397594] warning: `QSampleCache::L' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211
[ 9.623052] Bluetooth: RFCOMM TTY layer initialized
[ 9.623059] Bluetooth: RFCOMM socket layer initialized
[ 9.623063] Bluetooth: RFCOMM ver 1.11
[ 30.591313] wlp0s20f3: authenticate with b4:fb:e4:29:8b:d5
[ 30.598345] wlp0s20f3: send auth to b4:fb:e4:29:8b:d5 (try 1/3)
[ 30.631127] wlp0s20f3: authenticated
[ 30.632141] wlp0s20f3: associate with b4:fb:e4:29:8b:d5 (try 1/3)
[ 30.635115] wlp0s20f3: RX AssocResp from b4:fb:e4:29:8b:d5 (capab=0x1111 status=0 aid=3)
[ 30.644409] wlp0s20f3: associated
[ 30.680392] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s20f3: link becomes ready
[ 31.891848] input: Espanso virtual device as /devices/virtual/input/input37
[ 53.360191] FS-Cache: Loaded
[ 53.405090] Key type dns_resolver registered
[ 53.523718] NFS: Registering the id_resolver key type
[ 53.523726] Key type id_resolver registered
[ 53.523727] Key type id_legacy registered
[ 96.921284] legion_laptop: legion_laptop starts loading
[ 96.921406] legion PNP0C09:00: legion_laptop platform driver probing
[ 96.921410] legion PNP0C09:00: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82UF; DMI_BIOS_VERSION:J1CN38WW
[ 96.921413] legion_laptop: Read identifying information: DMI_SYS_VENDOR: LENOVO; DMI_PRODUCT_NAME: 82UF; DMI_BIOS_VERSION:J1CN38WW
[ 96.921419] legion PNP0C09:00: is_denied: 0; is_allowed: 1; do_load_by_list: 1; do_load: 1
[ 96.921421] legion PNP0C09:00: legion_laptop is forced to load.
[ 96.921423] legion PNP0C09:00: Using configuration for system: J1CN
[ 96.921475] legion PNP0C09:00: ACPI CFG: 2081284372
[ 96.921476] legion_laptop: Creating RAM access to embedded controller
[ 96.921506] legion_laptop: Succeffuly mapped embedded controller: 0xfe0b0400 (in RAM)/0x0 (in EC) to virtual 0x00000000e5ef5850
[ 96.922031] legion PNP0C09:00: Read embedded controller ID 0x8227
[ 96.922034] legion PNP0C09:00: Creating debugfs inteface
[ 96.922044] legion_laptop: Creating sysfs inteface
[ 96.922093] legion_laptop: Creating hwmon interface
[ 96.922216] legion_laptop: Creating platform profile support
[ 96.922218] legion PNP0C09:00: Creating platform profile failed: -17
[ 96.922220] legion_laptop: Unloading legion hwon
[ 96.922378] legion_laptop: Unloading legion hwon done
[ 96.922379] legion_laptop: Unloading legion sysfs
[ 96.922413] legion_laptop: Unloading legion sysfs done
[ 96.922414] legion_laptop: Unloading legion dubugfs
[ 96.922427] legion_laptop: Unloading legion dubugfs done
[ 96.922428] legion_laptop: Unloading legion ecram
[ 96.922429] legion_laptop: Unloading legion ecram done
[ 96.922429] legion_laptop: Unmapping embedded controller memory at 0xfe0b0400 (in RAM)/0x0 (in EC) at virtual 0x00000000e5ef5850
[ 96.922435] legion_laptop: Unloading legion shared
[ 96.922436] legion_laptop: Unloading legion shared done
[ 96.922437] legion PNP0C09:00: legion_laptop not loaded for this device
[ 96.922767] legion: probe of PNP0C09:00 failed with error -17
[ 344.197567] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PC00.LPCB.EC0._Q44.WM00], AE_NOT_FOUND (20230331/psargs-330)
[ 344.197635] ACPI Error: Aborting method \_SB.PC00.LPCB.EC0._Q44 due to previous error (AE_NOT_FOUND) (20230331/psparse-529)
[ 345.294720] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PC00.LPCB.EC0._Q44.WM00], AE_NOT_FOUND (20230331/psargs-330)
[ 345.294759] ACPI Error: Aborting method \_SB.PC00.LPCB.EC0._Q44 due to previous error (AE_NOT_FOUND) (20230331/psparse-529)
$
$ sudo cat /sys/kernel/debug/legion/ecmemory | hexdump -C
cat: /sys/kernel/debug/legion/ecmemory: No such file or directory
$ sudo cat /sys/kernel/debug/legion/ecmemoryram | hexdump -C
cat: /sys/kernel/debug/legion/ecmemoryram: No such file or directory
$
The driver was intended for Legion laptops and not Yoga laptops. Your ACPI dissassembly (zip files) shows that the ACPI firmware and the WMI interface is different. However, the output of /sys/kernel/debug/legion/fancurve
and ecmemory
shows that the embedded controller is (almost) the same as in the Legion laptops and that reading temperatures, fanspeeds, powermode (but not outputting via platform_profile) already works. Hopefully, these are the most important ones. What other features are important for you?
I am confident we can make it work after solving the problems with ideapad_laptop. I have think to about it a bit. In the meantime, you try finding the reason for Unknown symbol in module
. To this end, try to get the error again. Immediately, after you see the error
insmod: ERROR: could not insert module legion-laptop.ko: Unknown symbol in module
run sudo dmesg
. Hopefully, in the last lines there should be details about what symbol is unknow. Please provide these lines.
Speaking purely for myself, the only thing I really need is configurable fan-control functionality. Getting it to a point where it takes effect automatically and reliably at boot-time is icing on the cake. The rest of the driver's functionality are quite nice-to-haves, but not critical. The only Fn keys I really need are the volume/mute controls, I don't really care about backlight controls, and I don't frequently need to toggle power-modes - this laptop isn't used for gaming.
Mainly, I want to ensure I'm not blowing out internal components with things like make -j$(nproc)
. However, if time and inclination permit you to evolve the Yoga support for this driver, I would very, very-happily serve as a testing-platform. In the meantime I will try and educate myself about ideapad_laptop
and the effects that its presence/absence has, specifically wrt the unknown symbol
documented above.
Thanks very much for your efforts thus far in getting the driver to load and manage the fans!
Model Summary
82UF Yoga 7 16IAH7 (2022)
J1CN38WW
12th Gen Intel i7-12700H (20) @ 4.600GHz
GPU 0: Intel Alder Lake-P integrated Graphics GPU 1: Intel DG2 Arc A370M
Single Colour (white) with off/low/high brightness
Fedora Linux 38 (Thirty Eight) x86_64
6.4.3-0.rc2.250.vanilla.fc38.x86_64
Build Log with Errors
Any guidance on how to get the
sudo make forcereloadmodule
to complete successfully would be greatly appreciated. Note that the build was done against a 6.4.3 RC2 Kernel. However similiar build issues occurred against a Fedora stock 6.3.12 kernel.Output of
sudo dmidecode -t system
Output of
sudo dmidecode -t bios
:Output of
sudo cat /sys/kernel/debug/legion/fancurve
:Uploaded Files
acpi_dsl.zip fwts_wmi.zip windows_wmi.zip