acer-predator-turbo-and-rgb-keyboard-linux-module
acer-predator-turbo-and-rgb-keyboard-linux-module copied to clipboard
Turbo mode not working Predator PT314-52s ( and also not working RGB)
Model:
System Information
Manufacturer: Acer
Product Name: Predator PT314-52s
Version: V1.07
Serial Number: NHQFPEB001234081147600
UUID: 9c5db92d-1e26-4d42-bf07-4d84db5bdd40
Wake-up Type: Power Switch
--
Base Board Information
Manufacturer: ADL
Product Name: Cabrio_ADH
Version: V1.07
Serial Number: NBQFP11004234081147600
Asset Tag: Type2 - Board Asset Tag
Features:
Count of keyboard RGB zones: 3
Count of Cpu Fans: 2 (?) -> I'm not sure if the blades count as 1 or 2, or if there are more besides those blades
Count of Gpu Fans: ? -> Not sure
RGB keyboard works? No -> When using the command sudo ./facer_rgb.py -m 3 -s 5 -b 100
nothing happens.
Turbo button turn on fans? No
Turbo button turn on LED? No
Turbo button activates overclock? No
System:
Kernel
uname -a
Linux predator 6.4.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 27 Jul 2023 22:02:18 +0000 x86_64 GNU/Linux
File system:
Encrypted BTRFS with LUKS, but I don't have a secure boot installed.
Distro:
ArchLinux with GNOME
Issue
Installation
My main issue is related to the fans on turbo mode, my laptop is heating above 85º after few minutes, I can't work with it or will get permanently damaged.
When I run the command sudo ./install_service.sh
I get this output:
[Mode: install]
[Remove old data]
[Create directories]
[Copy new data]
sending incremental file list
LICENSE
Makefile
Module.symvers
README.md
dmesg
facer_rgb.py
install.sh
install_openrc.sh
install_service.sh
keyboard.webp
modules.order
push.sh
refresh.sh
uninstall.sh
uninstall_service.sh
PKGBUILD/
PKGBUILD/PKGBUILD
PKGBUILD/Predator-Sense-systemd-git.install
PKGBUILD/makepkg.sh
src/
src/.facer.ko.cmd
src/.facer.mod.cmd
src/.facer.mod.o.cmd
src/.facer.o.cmd
src/facer.c
src/facer.ko
src/facer.mod
src/facer.mod.c
src/facer.mod.o
src/facer.o
sent 3,915,102 bytes received 564 bytes 7,831,332.00 bytes/sec
total size is 3,912,161 speedup is 1.00
[Create turbo-fan service]
Created symlink /etc/systemd/system/multi-user.target.wants/turbo-fan.service → /etc/systemd/system/turbo-fan.service.
As far as I understand, there are no errors and this work.
Checking the last dmesg
messages I get this during install process:
[ 392.754583] systemd-fstab-generator[5421]: Mount point is not a valid path, ignoring.
[ 392.754665] systemd-fstab-generator[5421]: Mount point is not a valid path, ignoring.
[ 392.754796] systemd-fstab-generator[5421]: Mount point is not a valid path, ignoring.
[ 392.754858] systemd-fstab-generator[5421]: Mount point is not a valid path, ignoring.
[ 392.754932] systemd-fstab-generator[5421]: Mount point is not a valid path, ignoring.
[ 392.754992] systemd-fstab-generator[5421]: Mount point is not a valid path, ignoring.
[ 392.997464] systemd-fstab-generator[5495]: Mount point is not a valid path, ignoring.
[ 392.997678] systemd-fstab-generator[5495]: Mount point is not a valid path, ignoring.
[ 392.997931] systemd-fstab-generator[5495]: Mount point is not a valid path, ignoring.
[ 392.998095] systemd-fstab-generator[5495]: Mount point is not a valid path, ignoring.
[ 392.998274] systemd-fstab-generator[5495]: Mount point is not a valid path, ignoring.
[ 392.998435] systemd-fstab-generator[5495]: Mount point is not a valid path, ignoring.
[ 394.972567] acer_wmi: Acer Laptop WMI Extras unloaded
[ 395.013048] facer: Acer Laptop ACPI-WMI Extras
[ 395.013098] facer: Function bitmap for Communication Button: 0x801
[ 395.031082] input: Acer WMI hotkeys as /devices/virtual/input/input38
Is this normal?
Reboot
After reboot the Turbo button doesn't work, this means: the turbo fans don't get enabled, I understand I have two turbo buttons, one in the up-left side of the case (above F1 button) and another as a normal key in the keyword just below the "Power Button", it doesn't matter which button is pressed, the turbo fans are not enabled. There are no messages in dmesg when pressing those buttons.
I get this output from sudo systemctl status turbo-fan.service
turbo-fan.service - Enables turbo button
Loaded: loaded (/etc/systemd/system/turbo-fan.service; enabled; preset: disabled)
Active: active (exited) since Sat 2023-07-29 12:23:22 CEST; 3min 19s ago
Main PID: 1728 (code=exited, status=0/SUCCESS)
CPU: 944ms
Jul 29 12:23:23 predator bash[2308]: [ 18.902883] Bluetooth: MGMT ver 1.22
Jul 29 12:23:23 predator bash[2308]: [ 18.906523] input: sof-hda-dsp Headphone as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input27
Jul 29 12:23:23 predator bash[2308]: [ 18.906745] input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input28
Jul 29 12:23:23 predator bash[2308]: [ 18.906837] input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input29
Jul 29 12:23:23 predator bash[2308]: [ 18.906919] input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input30
Jul 29 12:23:23 predator bash[2308]: [ 18.907710] facer: Acer Laptop ACPI-WMI Extras
Jul 29 12:23:23 predator bash[2308]: [ 18.907747] facer: Function bitmap for Communication Button: 0x801
Jul 29 12:23:23 predator bash[2308]: [ 18.924172] input: Acer WMI hotkeys as /devices/virtual/input/input31
Jul 29 12:23:23 predator bash[2308]: [ 18.924241] NET: Registered PF_ALG protocol family
Jul 29 12:23:23 predator bash[1728]: [*] Done
What is the next step?
Do I need to install maybe other kernel modules previously?
This is my list of current kernel modules from sudo lsmod
:
Module Size Used by
coretemp 16384 0
uinput 20480 3
uhid 20480 2
rfcomm 102400 16
snd_seq_dummy 12288 0
snd_hrtimer 12288 1
snd_seq 106496 7 snd_seq_dummy
snd_seq_device 16384 1 snd_seq
ccm 20480 6
cmac 12288 3
algif_hash 16384 1
algif_skcipher 12288 1
af_alg 36864 6 algif_hash,algif_skcipher
facer 45056 0
snd_ctl_led 24576 0
snd_soc_skl_hda_dsp 24576 4
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_realtek 192512 1
snd_hda_codec_generic 110592 1 snd_hda_codec_realtek
ledtrig_audio 12288 2 snd_ctl_led,snd_hda_codec_generic
nvidia_drm 94208 2
nvidia_modeset 1556480 3 nvidia_drm
bnep 36864 2
pkcs8_key_parser 12288 0
nvidia_uvm 3477504 0
snd_soc_dmic 12288 1
snd_sof_pci_intel_tgl 12288 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
r8153_ecm 12288 0
snd_sof_utils 16384 1 snd_sof
cdc_ether 24576 1 r8153_ecm
snd_soc_hdac_hda 28672 1 snd_sof_intel_hda_common
usbnet 61440 2 r8153_ecm,cdc_ether
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 77824 2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
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
nvidia 62607360 99 nvidia_uvm,nvidia_modeset
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
snd_compress 28672 2 snd_soc_core,snd_sof_probes
iwlmvm 688128 0
ac97_bus 12288 1 snd_soc_core
intel_uncore_frequency 12288 0
i915 3907584 30
intel_uncore_frequency_common 12288 1 intel_uncore_frequency
snd_hda_codec_hdmi 94208 2
intel_tcc_cooling 12288 0
snd_pcm_dmaengine 16384 1 snd_soc_core
uvcvideo 176128 4
x86_pkg_temp_thermal 16384 0
mac80211 1527808 1 iwlmvm
intel_powerclamp 20480 0
hid_multitouch 32768 0
videobuf2_vmalloc 20480 1 uvcvideo
snd_hda_intel 61440 1
uvc 12288 1 uvcvideo
snd_intel_dspcfg 32768 3 snd_hda_intel,snd_sof,snd_sof_intel_hda_common
videobuf2_memops 16384 1 videobuf2_vmalloc
btusb 81920 0
drm_buddy 20480 1 i915
snd_intel_sdw_acpi 16384 2 snd_sof_intel_hda_common,snd_intel_dspcfg
vfat 20480 1
videobuf2_v4l2 40960 1 uvcvideo
kvm_intel 454656 0
libarc4 12288 1 mac80211
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
fat 102400 1 vfat
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
btrtl 28672 1 btusb
btbcm 24576 1 btusb
irqbypass 12288 1 kvm
processor_thermal_device_pci 16384 0
iwlwifi 557056 1 iwlmvm
i2c_algo_bit 20480 1 i915
snd_hwdep 20480 1 snd_hda_codec
iTCO_wdt 16384 0
rapl 20480 0
btintel 53248 1 btusb
videodev 372736 4 videobuf2_v4l2,uvcvideo
intel_pmc_bxt 16384 1 iTCO_wdt
snd_pcm 196608 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
processor_thermal_device 20480 1 processor_thermal_device_pci
ttm 98304 1 i915
btmtk 12288 1 btusb
intel_cstate 20480 0
pmt_telemetry 12288 0
bluetooth 1093632 44 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
processor_thermal_rfim 28672 1 processor_thermal_device
mei_hdcp 28672 0
drm_display_helper 204800 1 i915
pmt_class 16384 1 pmt_telemetry
nvidia_wmi_ec_backlight 12288 0
wmi_bmof 12288 0
sparse_keymap 12288 1 facer
iTCO_vendor_support 12288 1 iTCO_wdt
mei_pxp 16384 0
intel_lpss_pci 24576 0
r8152 163840 1 r8153_ecm
videobuf2_common 86016 4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
snd_timer 53248 3 snd_seq,snd_hrtimer,snd_pcm
intel_rapl_msr 20480 0
cfg80211 1286144 3 iwlmvm,iwlwifi,mac80211
intel_uncore 258048 0
mc 86016 6 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
mii 16384 2 usbnet,r8152
ucsi_acpi 12288 0
pcspkr 12288 0
spi_nor 143360 0
mei_me 57344 2
cec 86016 2 drm_display_helper,i915
processor_thermal_mbox 12288 2 processor_thermal_rfim,processor_thermal_device
intel_lpss 12288 1 intel_lpss_pci
typec_ucsi 61440 1 ucsi_acpi
ecdh_generic 16384 2 bluetooth
i2c_i801 40960 0
mtd 106496 3 spi_nor
intel_gtt 24576 1 i915
snd 147456 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
crc16 12288 1 bluetooth
processor_thermal_rapl 16384 1 processor_thermal_device
i2c_smbus 20480 1 i2c_i801
mei 192512 5 mei_hdcp,mei_pxp,mei_me
rfkill 40960 11 iwlmvm,bluetooth,facer,cfg80211
idma64 20480 0
typec 106496 1 typec_ucsi
thunderbolt 495616 0
intel_rapl_common 36864 2 intel_rapl_msr,processor_thermal_rapl
intel_vsec 20480 0
soundcore 16384 2 snd_ctl_led,snd
video 77824 4 nvidia_wmi_ec_backlight,facer,i915,nvidia_modeset
igen6_edac 32768 0
roles 16384 1 typec_ucsi
i2c_hid_acpi 12288 0
i2c_hid 40960 1 i2c_hid_acpi
int3403_thermal 16384 0
mousedev 24576 0
joydev 24576 0
int340x_thermal_zone 16384 2 int3403_thermal,processor_thermal_device
int3400_thermal 20480 0
acer_wireless 16384 0
apple_mfi_fastcharge 16384 0
wmi 45056 4 video,nvidia_wmi_ec_backlight,wmi_bmof,facer
acpi_pad 24576 0
acpi_thermal_rel 16384 1 int3400_thermal
mac_hid 12288 0
crypto_user 20480 0
fuse 204800 7
loop 40960 0
zram 40960 2
bpf_preload 20480 0
ip_tables 36864 0
x_tables 61440 1 ip_tables
hid_apple 24576 0
usbhid 77824 0
dm_crypt 65536 1
cbc 12288 0
encrypted_keys 28672 1 dm_crypt
trusted 53248 2 encrypted_keys,dm_crypt
asn1_encoder 12288 1 trusted
tee 45056 1 trusted
dm_mod 217088 3 dm_crypt
nvme 65536 2
nvme_core 237568 3 nvme
nvme_common 20480 1 nvme_core
serio_raw 16384 0
crct10dif_pclmul 12288 1
atkbd 40960 0
crc32_pclmul 12288 0
libps2 20480 1 atkbd
polyval_clmulni 12288 0
vivaldi_fmap 12288 1 atkbd
polyval_generic 12288 1 polyval_clmulni
gf128mul 16384 1 polyval_generic
ghash_clmulni_intel 16384 0
sha512_ssse3 45056 0
aesni_intel 360448 10
spi_intel_pci 12288 0
crypto_simd 16384 1 aesni_intel
cryptd 28672 4 crypto_simd,ghash_clmulni_intel
xhci_pci 28672 0
spi_intel 36864 1 spi_intel_pci
i8042 53248 1 facer
vmd 28672 0
xhci_pci_renesas 24576 1 xhci_pci
serio 28672 4 serio_raw,atkbd,i8042
btrfs 2035712 1
blake2b_generic 24576 0
libcrc32c 12288 1 btrfs
crc32c_generic 12288 0
crc32c_intel 16384 2
xor 20480 1 btrfs
raid6_pq 122880 1 btrfs
@JafarAkhondali thank you for your help, I hope you can guide me, I don't know what else to do, I this doesn't work I will not be able to use Linux on my Laptop since it will burn ( after some use it gets above 85º), I don't care about RGB, I'm interested in don't burn my laptop.