You are not logged in.

#1 2023-12-13 14:40:50

nowy
Member
Registered: 2022-04-15
Posts: 17

Test patches for acer predator laptops (models with predator sense v4)

Update:
kernel 6.8 supports phn16-71(since initial 6.8) and minor update for 6.8 will support ph16-71 and include acer_wmi.predator_v4 parameter, which allows you to test features (platform profile, fan speed reading) without compiling kernel.

--- 6.7 or older ---
There is a series of patches for acer predator laptops that use predator sense v4.x (not v3) to support platform profile and monitoring fan speed in linux-next tree.

platform profile (support turbo mode and other modes with the mode button):
https://git.kernel.org/pub/scm/linux/ke … fb186ed92e

monitoring fan speed (it needs both patches):
https://git.kernel.org/pub/scm/linux/ke … 104156d0f6

https://git.kernel.org/pub/scm/linux/ke … 01ed1b3d85

Although patches were tested with phn16-71 (and PH16-71, thanks shmeegz) only, these patches are probably compatible with other laptops using predator sense v4 (may include v5?) that are listed below.

Predator PH18-71
Predator PH3D15-71
Predator PT14-51
Predator PT16-51
Predator PTX17-71
Predator PH16-72
Predator PH18-72
Predator PHN14-51
Predator PHN16-72
Predator PHN18-71
Predator PTN16-51

If these patches are working with your laptop, please submit new patch (to add your laptop in quirk list) to kernel maintainer or reply laptop model here.

(applying patches, you add your laptop product name to acer_quirks[] array in acer-wmi.c with quirk_acer_predator_v4 and check predator sense version that you use is v4, not v3.)

In addition, there is a fix for key mapping in systemd-hwdb. If you have problems with mic mute, keyboard back light or predator sense key, try this with your laptop model name.

https://github.com/systemd/systemd/comm … 62d2.patch
(already merged into main branch)

- you can get vendor and product name from /sys/class/dmi/id/*

Last edited by nowy (2024-04-02 03:29:35)

Offline

#2 2024-02-10 18:29:41

shmeegz
Member
Registered: 2024-02-10
Posts: 3

Re: Test patches for acer predator laptops (models with predator sense v4)

PH16-71
6.8.0-1-MANJARO

I see that these patches have been merged into linux6.8.
However, pressing my mode button doesn't seem to cycle modes and after running 'sensors-detect' and 'sensors' I'm not seeing CPU or GPU fan rpm.

Maybe I'm missing something?

Offline

#3 2024-02-11 03:49:45

nowy
Member
Registered: 2022-04-15
Posts: 17

Re: Test patches for acer predator laptops (models with predator sense v4)

shmeegz wrote:

PH16-71
6.8.0-1-MANJARO

I see that these patches have been merged into linux6.8.
However, pressing my mode button doesn't seem to cycle modes and after running 'sensors-detect' and 'sensors' I'm not seeing CPU or GPU fan rpm.

Maybe I'm missing something?


when you apply patch, you should add your laptop product name to acer_quirks[] array in acer-wmi.c with quirk_acer_predator_v4 and build it from source code.

Last edited by nowy (2024-02-12 03:39:54)

Offline

#4 2024-02-12 14:55:43

shmeegz
Member
Registered: 2024-02-10
Posts: 3

Re: Test patches for acer predator laptops (models with predator sense v4)

Thanks nowy, the response is appreciated.

I understand now.

I added my model, PH16-71, to the  acer_quirks[] array of acer-wmi.c...

{
	.callback = dmi_matched,
	.ident = "Acer Predator PH16-71",
	.matches = {
		DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
		DMI_MATCH(DMI_PRODUCT_NAME, "Predator PH16-71"),
	},
	.driver_data = &quirk_acer_predator_v4,
},

I then compiled kernel 6.8-rc4, and can confirm that both reading fan rpm and mode button are working!!!

Thank you for doing the work of implementing this and getting these patches merged!!!

So, how would I go about getting my model included so I don't have to keep recompiling custom kernels?

Thanks again!

Last edited by shmeegz (2024-02-12 21:39:46)

Offline

#5 2024-02-13 02:25:46

nowy
Member
Registered: 2022-04-15
Posts: 17

Re: Test patches for acer predator laptops (models with predator sense v4)

shmeegz wrote:

Thanks nowy, the response is appreciated.

I understand now.

I added my model, PH16-71, to the  acer_quirks[] array of acer-wmi.c...

{
	.callback = dmi_matched,
	.ident = "Acer Predator PH16-71",
	.matches = {
		DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
		DMI_MATCH(DMI_PRODUCT_NAME, "Predator PH16-71"),
	},
	.driver_data = &quirk_acer_predator_v4,
},

I then compiled kernel 6.8-rc4, and can confirm that both reading fan rpm and mode button are working!!!

Thank you for doing the work of implementing this and getting these patches merged!!!

So, how would I go about getting my model included so I don't have to keep recompiling custom kernels?

Thanks again!

It's nice! I'll prepare new patch to add product names soon.

Offline

#6 2024-02-16 06:01:21

shmeegz
Member
Registered: 2024-02-10
Posts: 3

Re: Test patches for acer predator laptops (models with predator sense v4)

nowy wrote:

It's nice! I'll prepare new patch to add product names soon.

Thank you! That would be very much appreciated!

Offline

#7 2024-03-31 22:43:21

knappan
Member
Registered: 2024-03-31
Posts: 5

Re: Test patches for acer predator laptops (models with predator sense v4)

Hi,
I have an Acer Predator PHN16-71 V1.13 with 6.8.2-arch2-1 kernel. It has predator sense v4. But 'sensors-detect' and 'sensors' has not detected any CPU or GPU fans. The mode button is also not working.

sensors output:

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +43.0°C  (high = +100.0°C, crit = +100.0°C)
Core 0:        +39.0°C  (high = +100.0°C, crit = +100.0°C)
Core 4:        +41.0°C  (high = +100.0°C, crit = +100.0°C)
Core 8:        +42.0°C  (high = +100.0°C, crit = +100.0°C)
Core 12:       +39.0°C  (high = +100.0°C, crit = +100.0°C)
Core 16:       +40.0°C  (high = +100.0°C, crit = +100.0°C)
Core 20:       +42.0°C  (high = +100.0°C, crit = +100.0°C)
Core 24:       +39.0°C  (high = +100.0°C, crit = +100.0°C)
Core 28:       +37.0°C  (high = +100.0°C, crit = +100.0°C)
Core 32:       +41.0°C  (high = +100.0°C, crit = +100.0°C)
Core 33:       +41.0°C  (high = +100.0°C, crit = +100.0°C)
Core 34:       +39.0°C  (high = +100.0°C, crit = +100.0°C)
Core 35:       +39.0°C  (high = +100.0°C, crit = +100.0°C)
Core 36:       +41.0°C  (high = +100.0°C, crit = +100.0°C)
Core 37:       +41.0°C  (high = +100.0°C, crit = +100.0°C)
Core 38:       +41.0°C  (high = +100.0°C, crit = +100.0°C)
Core 39:       +41.0°C  (high = +100.0°C, crit = +100.0°C)

BAT1-acpi-0
Adapter: ACPI interface
in0:          17.28 V  
curr1:         0.00 A  

iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:        +40.0°C  

nvme-pci-e100
Adapter: PCI adapter
Composite:    +38.9°C  (low  =  -0.1°C, high = +79.8°C)
                       (crit = +81.8°C)
Sensor 1:     +38.9°C  (low  = -273.1°C, high = +65261.8°C)

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +44.0°C 

Any help would be appreciated.

Offline

#8 2024-04-01 03:21:13

nowy
Member
Registered: 2022-04-15
Posts: 17

Re: Test patches for acer predator laptops (models with predator sense v4)

knappan wrote:

Hi,
I have an Acer Predator PHN16-71 V1.13 with 6.8.2-arch2-1 kernel. It has predator sense v4. But 'sensors-detect' and 'sensors' has not detected any CPU or GPU fans. The mode button is also not working.

Here is sensors log with PHN16-71(v1.15 but v1.13 is also ok) on archlinux-2024.03.29-x86_64.iso if acer module is working.

iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:        +28.0°C  

acer-isa-0000
Adapter: ISA adapter
fan1:        1780 RPM
fan2:        1828 RPM

BAT1-acpi-0
Adapter: ACPI interface
in0:          17.31 V  
curr1:         0.00 A  

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +43.0°C  (high = +100.0°C, crit = +100.0°C)
Core 0:        +31.0°C  (high = +100.0°C, crit = +100.0°C)
Core 4:        +31.0°C  (high = +100.0°C, crit = +100.0°C)
Core 8:        +33.0°C  (high = +100.0°C, crit = +100.0°C)
Core 12:       +35.0°C  (high = +100.0°C, crit = +100.0°C)
Core 16:       +35.0°C  (high = +100.0°C, crit = +100.0°C)
Core 20:       +33.0°C  (high = +100.0°C, crit = +100.0°C)
Core 24:       +35.0°C  (high = +100.0°C, crit = +100.0°C)
Core 28:       +34.0°C  (high = +100.0°C, crit = +100.0°C)
Core 32:       +38.0°C  (high = +100.0°C, crit = +100.0°C)
Core 33:       +38.0°C  (high = +100.0°C, crit = +100.0°C)
Core 34:       +38.0°C  (high = +100.0°C, crit = +100.0°C)
Core 35:       +38.0°C  (high = +100.0°C, crit = +100.0°C)
Core 36:       +37.0°C  (high = +100.0°C, crit = +100.0°C)
Core 37:       +37.0°C  (high = +100.0°C, crit = +100.0°C)
Core 38:       +37.0°C  (high = +100.0°C, crit = +100.0°C)
Core 39:       +37.0°C  (high = +100.0°C, crit = +100.0°C)
Core 40:       +38.0°C  (high = +100.0°C, crit = +100.0°C)
Core 41:       +38.0°C  (high = +100.0°C, crit = +100.0°C)
Core 42:       +38.0°C  (high = +100.0°C, crit = +100.0°C)
Core 43:       +38.0°C  (high = +100.0°C, crit = +100.0°C)
Core 44:       +37.0°C  (high = +100.0°C, crit = +100.0°C)
Core 45:       +37.0°C  (high = +100.0°C, crit = +100.0°C)
Core 46:       +37.0°C  (high = +100.0°C, crit = +100.0°C)
Core 47:       +37.0°C  (high = +100.0°C, crit = +100.0°C)

nvme-pci-0200
Adapter: PCI adapter
Composite:    +36.9°C  (low  =  -0.1°C, high = +85.8°C)
                       (crit = +86.8°C)
Sensor 1:     +30.9°C  (low  = -273.1°C, high = +65261.8°C)
Sensor 2:     +31.9°C  (low  = -273.1°C, high = +65261.8°C)

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +43.0°C  

Could you upload /sys/class/dmi/id/product_name and lsmod or other infomation for further analysis?

Last edited by nowy (2024-04-01 03:24:17)

Offline

#9 2024-04-01 05:18:30

knappan
Member
Registered: 2024-03-31
Posts: 5

Re: Test patches for acer predator laptops (models with predator sense v4)

Thanks for the reply!

I updated the bios to V1.15.

cat /sys/class/dmi/id/product_name
Predator PHN16-71
cat /sys/class/dmi/id/product_family
Predator Helios Neo 16
cat /sys/class/dmi/id/ec_firmware_release
1.5
cat /sys/class/dmi/id/board_name
Compass_RTX

lsmod output:

Module                  Size  Used by
coretemp               16384  0
snd_seq_dummy          12288  0
snd_hrtimer            12288  1
snd_seq               131072  7 snd_seq_dummy
rfcomm                102400  4
snd_seq_device         16384  1 snd_seq
xt_conntrack           12288  1
xt_MASQUERADE          16384  1
nf_conntrack_netlink    61440  0
xfrm_user              61440  1
xfrm_algo              16384  1 xfrm_user
iptable_nat            12288  1
nf_nat                 65536  2 iptable_nat,xt_MASQUERADE
nf_conntrack          208896  4 xt_conntrack,nf_nat,nf_conntrack_netlink,xt_MASQUERADE
nf_defrag_ipv6         24576  1 nf_conntrack
nf_defrag_ipv4         12288  1 nf_conntrack
libcrc32c              12288  2 nf_conntrack,nf_nat
xt_addrtype            12288  2
iptable_filter         12288  1
br_netfilter           36864  0
bridge                446464  1 br_netfilter
stp                    12288  1 bridge
llc                    16384  2 bridge,stp
ccm                    20480  6
facer                  49152  0
cmac                   12288  3
algif_hash             12288  1
algif_skcipher         12288  1
af_alg                 36864  6 algif_hash,algif_skcipher
overlay               229376  0
bnep                   36864  2
vboxnetflt             40960  0
vboxnetadp             28672  0
vboxdrv               692224  2 vboxnetadp,vboxnetflt
nvidia_uvm           6631424  0
nvidia_drm            122880  2
nvidia_modeset       1605632  3 nvidia_drm
snd_ctl_led            24576  0
ledtrig_audio          12288  1 snd_ctl_led
snd_soc_skl_hda_dsp    24576  4
snd_soc_hdac_hdmi      45056  1 snd_soc_skl_hda_dsp
snd_soc_intel_hda_dsp_common    16384  1 snd_soc_skl_hda_dsp
snd_sof_probes         24576  0
nvidia              60370944  31 nvidia_uvm,nvidia_modeset
snd_hda_codec_realtek   204800  1
snd_hda_codec_generic   114688  1 snd_hda_codec_realtek
snd_soc_dmic           12288  1
snd_sof_pci_intel_tgl    12288  0
snd_sof_intel_hda_common   249856  1 snd_sof_pci_intel_tgl
soundwire_intel        81920  1 snd_sof_intel_hda_common
snd_sof_intel_hda_mlink    36864  2 soundwire_intel,snd_sof_intel_hda_common
soundwire_cadence      45056  1 soundwire_intel
intel_uncore_frequency    12288  0
snd_sof_intel_hda      24576  1 snd_sof_intel_hda_common
intel_uncore_frequency_common    16384  1 intel_uncore_frequency
snd_sof_pci            24576  2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
intel_tcc_cooling      12288  0
snd_sof_xtensa_dsp     16384  1 snd_sof_intel_hda_common
x86_pkg_temp_thermal    16384  0
intel_powerclamp       20480  0
snd_sof               450560  4 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_probes,snd_sof_intel_hda
snd_sof_utils          16384  1 snd_sof
snd_soc_hdac_hda       28672  1 snd_sof_intel_hda_common
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
snd_soc_acpi_intel_match    98304  2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
kvm_intel             425984  0
snd_soc_acpi           16384  2 snd_soc_acpi_intel_match,snd_sof_intel_hda_common
soundwire_generic_allocation    12288  1 soundwire_intel
joydev                 24576  0
soundwire_bus         139264  3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
mousedev               24576  0
iwlmvm                712704  0
kvm                  1380352  1 kvm_intel
snd_soc_core          466944  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
snd_hda_codec_hdmi     94208  2
irqbypass              12288  1 kvm
snd_compress           28672  2 snd_soc_core,snd_sof_probes
crct10dif_pclmul       12288  1
ac97_bus               12288  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
crc32_pclmul           12288  0
mac80211             1576960  1 iwlmvm
polyval_clmulni        12288  0
snd_hda_intel          65536  1
uvcvideo              176128  0
btusb                  86016  0
polyval_generic        12288  1 polyval_clmulni
snd_intel_dspcfg       40960  3 snd_hda_intel,snd_sof,snd_sof_intel_hda_common
gf128mul               16384  1 polyval_generic
btrtl                  32768  1 btusb
videobuf2_vmalloc      20480  1 uvcvideo
snd_intel_sdw_acpi     16384  2 snd_sof_intel_hda_common,snd_intel_dspcfg
uvc                    12288  1 uvcvideo
btintel                57344  1 btusb
ghash_clmulni_intel    16384  0
libarc4                12288  1 mac80211
videobuf2_memops       16384  1 videobuf2_vmalloc
snd_hda_codec         225280  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
btbcm                  24576  1 btusb
sha512_ssse3           53248  0
ptp                    45056  1 iwlmvm
videobuf2_v4l2         40960  1 uvcvideo
btmtk                  12288  1 btusb
sha256_ssse3           32768  0
pps_core               32768  1 ptp
sha1_ssse3             32768  0
processor_thermal_device_pci    16384  0
videodev              393216  2 videobuf2_v4l2,uvcvideo
bluetooth            1097728  34 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
aesni_intel           360448  8
snd_hda_core          151552  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
processor_thermal_device    20480  1 processor_thermal_device_pci
iwlwifi               573440  1 iwlmvm
hid_multitouch         32768  0
iTCO_wdt               16384  0
crypto_simd            16384  1 aesni_intel
processor_thermal_wt_hint    16384  2 processor_thermal_device_pci,processor_thermal_device
spi_pxa2xx_platform    36864  0
videobuf2_common       94208  4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
processor_thermal_rfim    28672  1 processor_thermal_device
snd_hwdep              20480  1 snd_hda_codec
cryptd                 28672  3 crypto_simd,ghash_clmulni_intel
hid_generic            12288  0
8250_dw                24576  0
vfat                   20480  1
intel_pmc_bxt          16384  1 iTCO_wdt
dw_dmac                12288  0
processor_thermal_rapl    16384  1 processor_thermal_device
fat                   106496  1 vfat
intel_rapl_msr         20480  0
mc                     90112  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
ecdh_generic           16384  2 bluetooth
rapl                   20480  0
snd_pcm               212992  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
iTCO_vendor_support    12288  1 iTCO_wdt
mei_hdcp               28672  0
intel_rapl_common      40960  2 intel_rapl_msr,processor_thermal_rapl
mei_pxp                20480  0
r8169                 114688  0
intel_cstate           20480  0
intel_lpss_pci         24576  2
ucsi_acpi              12288  0
snd_timer              53248  3 snd_seq,snd_hrtimer,snd_pcm
cfg80211             1351680  3 iwlmvm,iwlwifi,mac80211
realtek                40960  1
intel_pmc_core        118784  0
processor_thermal_wt_req    12288  1 processor_thermal_device
spi_nor               163840  0
snd                   159744  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
typec_ucsi             65536  1 ucsi_acpi
intel_lpss             12288  1 intel_lpss_pci
platform_profile       12288  0
mdio_devres            12288  1 r8169
i2c_hid_acpi           12288  0
intel_vsec             20480  1 intel_pmc_core
i2c_i801               40960  0
processor_thermal_power_floor    12288  2 processor_thermal_device_pci,processor_thermal_device
intel_uncore          258048  0
thunderbolt           536576  0
typec                 114688  1 typec_ucsi
pcspkr                 12288  0
pmt_telemetry          16384  1 intel_pmc_core
sparse_keymap          12288  1 facer
int3400_thermal        20480  0
libphy                237568  3 r8169,mdio_devres,realtek
nvidia_wmi_ec_backlight    12288  0
mtd                   110592  3 spi_nor
wmi_bmof               12288  0
int3403_thermal        16384  0
idma64                 20480  0
soundcore              16384  2 snd_ctl_led,snd
processor_thermal_mbox    12288  4 processor_thermal_power_floor,processor_thermal_wt_req,processor_thermal_rfim,processor_thermal_wt_hint
i2c_smbus              20480  1 i2c_i801
rfkill                 40960  8 iwlmvm,bluetooth,facer,cfg80211
roles                  16384  1 typec_ucsi
i2c_hid                40960  1 i2c_hid_acpi
int340x_thermal_zone    16384  2 int3403_thermal,processor_thermal_device
acer_wireless          16384  0
pinctrl_alderlake      32768  1
pmt_class              16384  1 pmt_telemetry
acpi_thermal_rel       20480  1 int3400_thermal
acpi_pad               24576  0
mei_me                 57344  2
mac_hid                12288  0
mei                   200704  5 mei_hdcp,mei_pxp,mei_me
sg                     49152  0
crypto_user            20480  0
fuse                  212992  3
dm_mod                225280  0
loop                   36864  0
nfnetlink              20480  3 nf_conntrack_netlink
ip_tables              36864  2 iptable_filter,iptable_nat
x_tables               69632  6 xt_conntrack,iptable_filter,xt_addrtype,ip_tables,iptable_nat,xt_MASQUERADE
ext4                 1171456  1
crc32c_generic         12288  0
crc16                  12288  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  221184  1 ext4
uas                    32768  0
usb_storage            90112  1 uas
xe                   2617344  0
drm_ttm_helper         12288  1 xe
gpu_sched              69632  1 xe
drm_suballoc_helper    12288  1 xe
drm_gpuvm              45056  1 xe
drm_exec               12288  2 drm_gpuvm,xe
nvme                   65536  4
nvme_core             249856  5 nvme
nvme_auth              28672  1 nvme_core
i915                 4227072  20
rtsx_pci_sdmmc         32768  0
mmc_core              274432  1 rtsx_pci_sdmmc
i2c_algo_bit           20480  2 xe,i915
serio_raw              16384  0
drm_buddy              20480  2 xe,i915
atkbd                  40960  0
ttm                   110592  3 drm_ttm_helper,xe,i915
libps2                 20480  1 atkbd
intel_gtt              28672  1 i915
vivaldi_fmap           12288  1 atkbd
drm_display_helper    237568  2 xe,i915
spi_intel_pci          12288  0
crc32c_intel           16384  3
xhci_pci               24576  0
spi_intel              36864  1 spi_intel_pci
rtsx_pci              147456  1 rtsx_pci_sdmmc
vmd                    28672  0
cec                    86016  3 drm_display_helper,xe,i915
xhci_pci_renesas       24576  1 xhci_pci
video                  77824  5 nvidia_wmi_ec_backlight,facer,xe,i915,nvidia_modeset
i8042                  53248  1 facer
serio                  28672  4 serio_raw,atkbd,i8042
wmi                    36864  4 video,nvidia_wmi_ec_backlight,wmi_bmof,facer

GPU : NVIDIA GeForce RTX 4050
CPU : 13th Gen Intel i7-13700HX

I had also tried installing nbfc-linux but with no luck.

Offline

#10 2024-04-01 05:24:33

nowy
Member
Registered: 2022-04-15
Posts: 17

Re: Test patches for acer predator laptops (models with predator sense v4)

lsmod output:

Module                  Size  Used by
coretemp               16384  0
snd_seq_dummy          12288  0
snd_hrtimer            12288  1
snd_seq               131072  7 snd_seq_dummy
rfcomm                102400  4
snd_seq_device         16384  1 snd_seq
xt_conntrack           12288  1
xt_MASQUERADE          16384  1
nf_conntrack_netlink    61440  0
xfrm_user              61440  1
xfrm_algo              16384  1 xfrm_user
iptable_nat            12288  1
nf_nat                 65536  2 iptable_nat,xt_MASQUERADE
nf_conntrack          208896  4 xt_conntrack,nf_nat,nf_conntrack_netlink,xt_MASQUERADE
nf_defrag_ipv6         24576  1 nf_conntrack
nf_defrag_ipv4         12288  1 nf_conntrack
libcrc32c              12288  2 nf_conntrack,nf_nat
xt_addrtype            12288  2
iptable_filter         12288  1
br_netfilter           36864  0
bridge                446464  1 br_netfilter
stp                    12288  1 bridge
llc                    16384  2 bridge,stp
ccm                    20480  6
facer                  49152  0
cmac                   12288  3
algif_hash             12288  1
algif_skcipher         12288  1
af_alg                 36864  6 algif_hash,algif_skcipher
overlay               229376  0
bnep                   36864  2
vboxnetflt             40960  0
vboxnetadp             28672  0
vboxdrv               692224  2 vboxnetadp,vboxnetflt
nvidia_uvm           6631424  0
nvidia_drm            122880  2
nvidia_modeset       1605632  3 nvidia_drm
snd_ctl_led            24576  0
ledtrig_audio          12288  1 snd_ctl_led
snd_soc_skl_hda_dsp    24576  4
snd_soc_hdac_hdmi      45056  1 snd_soc_skl_hda_dsp
snd_soc_intel_hda_dsp_common    16384  1 snd_soc_skl_hda_dsp
snd_sof_probes         24576  0
nvidia              60370944  31 nvidia_uvm,nvidia_modeset
snd_hda_codec_realtek   204800  1
snd_hda_codec_generic   114688  1 snd_hda_codec_realtek
snd_soc_dmic           12288  1
snd_sof_pci_intel_tgl    12288  0
snd_sof_intel_hda_common   249856  1 snd_sof_pci_intel_tgl
soundwire_intel        81920  1 snd_sof_intel_hda_common
snd_sof_intel_hda_mlink    36864  2 soundwire_intel,snd_sof_intel_hda_common
soundwire_cadence      45056  1 soundwire_intel
intel_uncore_frequency    12288  0
snd_sof_intel_hda      24576  1 snd_sof_intel_hda_common
intel_uncore_frequency_common    16384  1 intel_uncore_frequency
snd_sof_pci            24576  2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
intel_tcc_cooling      12288  0
snd_sof_xtensa_dsp     16384  1 snd_sof_intel_hda_common
x86_pkg_temp_thermal    16384  0
intel_powerclamp       20480  0
snd_sof               450560  4 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_probes,snd_sof_intel_hda
snd_sof_utils          16384  1 snd_sof
snd_soc_hdac_hda       28672  1 snd_sof_intel_hda_common
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
snd_soc_acpi_intel_match    98304  2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
kvm_intel             425984  0
snd_soc_acpi           16384  2 snd_soc_acpi_intel_match,snd_sof_intel_hda_common
soundwire_generic_allocation    12288  1 soundwire_intel
joydev                 24576  0
soundwire_bus         139264  3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
mousedev               24576  0
iwlmvm                712704  0
kvm                  1380352  1 kvm_intel
snd_soc_core          466944  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
snd_hda_codec_hdmi     94208  2
irqbypass              12288  1 kvm
snd_compress           28672  2 snd_soc_core,snd_sof_probes
crct10dif_pclmul       12288  1
ac97_bus               12288  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
crc32_pclmul           12288  0
mac80211             1576960  1 iwlmvm
polyval_clmulni        12288  0
snd_hda_intel          65536  1
uvcvideo              176128  0
btusb                  86016  0
polyval_generic        12288  1 polyval_clmulni
snd_intel_dspcfg       40960  3 snd_hda_intel,snd_sof,snd_sof_intel_hda_common
gf128mul               16384  1 polyval_generic
btrtl                  32768  1 btusb
videobuf2_vmalloc      20480  1 uvcvideo
snd_intel_sdw_acpi     16384  2 snd_sof_intel_hda_common,snd_intel_dspcfg
uvc                    12288  1 uvcvideo
btintel                57344  1 btusb
ghash_clmulni_intel    16384  0
libarc4                12288  1 mac80211
videobuf2_memops       16384  1 videobuf2_vmalloc
snd_hda_codec         225280  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
btbcm                  24576  1 btusb
sha512_ssse3           53248  0
ptp                    45056  1 iwlmvm
videobuf2_v4l2         40960  1 uvcvideo
btmtk                  12288  1 btusb
sha256_ssse3           32768  0
pps_core               32768  1 ptp
sha1_ssse3             32768  0
processor_thermal_device_pci    16384  0
videodev              393216  2 videobuf2_v4l2,uvcvideo
bluetooth            1097728  34 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
aesni_intel           360448  8
snd_hda_core          151552  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
processor_thermal_device    20480  1 processor_thermal_device_pci
iwlwifi               573440  1 iwlmvm
hid_multitouch         32768  0
iTCO_wdt               16384  0
crypto_simd            16384  1 aesni_intel
processor_thermal_wt_hint    16384  2 processor_thermal_device_pci,processor_thermal_device
spi_pxa2xx_platform    36864  0
videobuf2_common       94208  4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
processor_thermal_rfim    28672  1 processor_thermal_device
snd_hwdep              20480  1 snd_hda_codec
cryptd                 28672  3 crypto_simd,ghash_clmulni_intel
hid_generic            12288  0
8250_dw                24576  0
vfat                   20480  1
intel_pmc_bxt          16384  1 iTCO_wdt
dw_dmac                12288  0
processor_thermal_rapl    16384  1 processor_thermal_device
fat                   106496  1 vfat
intel_rapl_msr         20480  0
mc                     90112  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
ecdh_generic           16384  2 bluetooth
rapl                   20480  0
snd_pcm               212992  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
iTCO_vendor_support    12288  1 iTCO_wdt
mei_hdcp               28672  0
intel_rapl_common      40960  2 intel_rapl_msr,processor_thermal_rapl
mei_pxp                20480  0
r8169                 114688  0
intel_cstate           20480  0
intel_lpss_pci         24576  2
ucsi_acpi              12288  0
snd_timer              53248  3 snd_seq,snd_hrtimer,snd_pcm
cfg80211             1351680  3 iwlmvm,iwlwifi,mac80211
realtek                40960  1
intel_pmc_core        118784  0
processor_thermal_wt_req    12288  1 processor_thermal_device
spi_nor               163840  0
snd                   159744  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
typec_ucsi             65536  1 ucsi_acpi
intel_lpss             12288  1 intel_lpss_pci
platform_profile       12288  0
mdio_devres            12288  1 r8169
i2c_hid_acpi           12288  0
intel_vsec             20480  1 intel_pmc_core
i2c_i801               40960  0
processor_thermal_power_floor    12288  2 processor_thermal_device_pci,processor_thermal_device
intel_uncore          258048  0
thunderbolt           536576  0
typec                 114688  1 typec_ucsi
pcspkr                 12288  0
pmt_telemetry          16384  1 intel_pmc_core
sparse_keymap          12288  1 facer
int3400_thermal        20480  0
libphy                237568  3 r8169,mdio_devres,realtek
nvidia_wmi_ec_backlight    12288  0
mtd                   110592  3 spi_nor
wmi_bmof               12288  0
int3403_thermal        16384  0
idma64                 20480  0
soundcore              16384  2 snd_ctl_led,snd
processor_thermal_mbox    12288  4 processor_thermal_power_floor,processor_thermal_wt_req,processor_thermal_rfim,processor_thermal_wt_hint
i2c_smbus              20480  1 i2c_i801
rfkill                 40960  8 iwlmvm,bluetooth,facer,cfg80211
roles                  16384  1 typec_ucsi
i2c_hid                40960  1 i2c_hid_acpi
int340x_thermal_zone    16384  2 int3403_thermal,processor_thermal_device
acer_wireless          16384  0
pinctrl_alderlake      32768  1
pmt_class              16384  1 pmt_telemetry
acpi_thermal_rel       20480  1 int3400_thermal
acpi_pad               24576  0
mei_me                 57344  2
mac_hid                12288  0
mei                   200704  5 mei_hdcp,mei_pxp,mei_me
sg                     49152  0
crypto_user            20480  0
fuse                  212992  3
dm_mod                225280  0
loop                   36864  0
nfnetlink              20480  3 nf_conntrack_netlink
ip_tables              36864  2 iptable_filter,iptable_nat
x_tables               69632  6 xt_conntrack,iptable_filter,xt_addrtype,ip_tables,iptable_nat,xt_MASQUERADE
ext4                 1171456  1
crc32c_generic         12288  0
crc16                  12288  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  221184  1 ext4
uas                    32768  0
usb_storage            90112  1 uas
xe                   2617344  0
drm_ttm_helper         12288  1 xe
gpu_sched              69632  1 xe
drm_suballoc_helper    12288  1 xe
drm_gpuvm              45056  1 xe
drm_exec               12288  2 drm_gpuvm,xe
nvme                   65536  4
nvme_core             249856  5 nvme
nvme_auth              28672  1 nvme_core
i915                 4227072  20
rtsx_pci_sdmmc         32768  0
mmc_core              274432  1 rtsx_pci_sdmmc
i2c_algo_bit           20480  2 xe,i915
serio_raw              16384  0
drm_buddy              20480  2 xe,i915
atkbd                  40960  0
ttm                   110592  3 drm_ttm_helper,xe,i915
libps2                 20480  1 atkbd
intel_gtt              28672  1 i915
vivaldi_fmap           12288  1 atkbd
drm_display_helper    237568  2 xe,i915
spi_intel_pci          12288  0
crc32c_intel           16384  3
xhci_pci               24576  0
spi_intel              36864  1 spi_intel_pci
rtsx_pci              147456  1 rtsx_pci_sdmmc
vmd                    28672  0
cec                    86016  3 drm_display_helper,xe,i915
xhci_pci_renesas       24576  1 xhci_pci
video                  77824  5 nvidia_wmi_ec_backlight,facer,xe,i915,nvidia_modeset
i8042                  53248  1 facer
serio                  28672  4 serio_raw,atkbd,i8042
wmi                    36864  4 video,nvidia_wmi_ec_backlight,wmi_bmof,facer

There is no acer_wmi in lsmod, I think one of your configurations blocks loading acer_wmi module.

Offline

#11 2024-04-01 06:57:59

knappan
Member
Registered: 2024-03-31
Posts: 5

Re: Test patches for acer predator laptops (models with predator sense v4)

When I try to load via modprobe it gives:

sudo modprobe acer-wmi
modprobe: ERROR: could not insert 'acer_wmi': Input/output error

Offline

#12 2024-04-01 07:25:34

nowy
Member
Registered: 2022-04-15
Posts: 17

Re: Test patches for acer predator laptops (models with predator sense v4)

knappan wrote:

When I try to load via modprobe it gives:

sudo modprobe acer-wmi
modprobe: ERROR: could not insert 'acer_wmi': Input/output error

Could you post journal log or kernel message releated to acer_wmi and test features (mode button) on archlinux-2024.03.29-x86_64.iso?

Last edited by nowy (2024-04-01 07:30:16)

Offline

#13 2024-04-01 07:38:23

knappan
Member
Registered: 2024-03-31
Posts: 5

Re: Test patches for acer predator laptops (models with predator sense v4)

Got the module working. I had been using this program for controlling rgb keyboard. I think it had a custom module which conflicted with the acer_wmi. So I removed the package and rebooted. Now the fan speed is showing in sensors output.

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +46.0°C  (high = +100.0°C, crit = +100.0°C)
Core 0:        +41.0°C  (high = +100.0°C, crit = +100.0°C)
Core 4:        +43.0°C  (high = +100.0°C, crit = +100.0°C)
Core 8:        +41.0°C  (high = +100.0°C, crit = +100.0°C)
Core 12:       +40.0°C  (high = +100.0°C, crit = +100.0°C)
Core 16:       +41.0°C  (high = +100.0°C, crit = +100.0°C)
Core 20:       +42.0°C  (high = +100.0°C, crit = +100.0°C)
Core 24:       +39.0°C  (high = +100.0°C, crit = +100.0°C)
Core 28:       +40.0°C  (high = +100.0°C, crit = +100.0°C)
Core 32:       +40.0°C  (high = +100.0°C, crit = +100.0°C)
Core 33:       +40.0°C  (high = +100.0°C, crit = +100.0°C)
Core 34:       +40.0°C  (high = +100.0°C, crit = +100.0°C)
Core 35:       +40.0°C  (high = +100.0°C, crit = +100.0°C)
Core 36:       +42.0°C  (high = +100.0°C, crit = +100.0°C)
Core 37:       +42.0°C  (high = +100.0°C, crit = +100.0°C)
Core 38:       +42.0°C  (high = +100.0°C, crit = +100.0°C)
Core 39:       +41.0°C  (high = +100.0°C, crit = +100.0°C)

acer-isa-0000
Adapter: ISA adapter
fan1:        1731 RPM
fan2:        1796 RPM

BAT1-acpi-0
Adapter: ACPI interface
in0:          17.33 V  
curr1:         0.00 A  

iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:        +41.0°C  

nvme-pci-e100
Adapter: PCI adapter
Composite:    +40.9°C  (low  =  -0.1°C, high = +79.8°C)
                       (crit = +81.8°C)
Sensor 1:     +40.9°C  (low  = -273.1°C, high = +65261.8°C)

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +44.0°C  

Is it possible to control the fan speed anyhow? And the rgbs?

Thanks!

Offline

#14 2024-04-01 07:46:50

nowy
Member
Registered: 2022-04-15
Posts: 17

Re: Test patches for acer predator laptops (models with predator sense v4)

knappan wrote:

Is it possible to control the fan speed anyhow? And the rgbs?

rgb and fan speed control are not implemented yet in kernel driver.

Offline

#15 2024-04-01 12:17:08

knappan
Member
Registered: 2024-03-31
Posts: 5

Re: Test patches for acer predator laptops (models with predator sense v4)

Thanks a lot in helping out!

I was able to get the rgbs working by adding code from here to the arch acer-wmi.c.

Can I get any leads in getting the fan control?

Offline

#16 2024-04-02 03:33:17

nowy
Member
Registered: 2022-04-15
Posts: 17

Re: Test patches for acer predator laptops (models with predator sense v4)

knappan wrote:

Thanks a lot in helping out!

I was able to get the rgbs working by adding code from here to the arch acer-wmi.c.

Can I get any leads in getting the fan control?

Sorry, I don't have a clue for additional functionality (fan speed control or rgb)

Last edited by nowy (2024-04-02 03:44:00)

Offline

Board footer

Powered by FluxBB