Open mjkapkan opened 3 years ago
Hi, judging by logs, I think the key nums of your laptop for turbo button differs from mine.
can you apply these changes, the uninstall & install again?
in src/facer.c:
Replace line 94:
WMID_GAMING_TURBO_KEY_EVENT = 0x7,
with:
WMID_GAMING_TURBO_KEY_EVENT = 0x4,
and replace line 2428:
if (return_value.key_num == 0x4)
with:
if (return_value.key_num == 0x0)
Hi, thanks for the support. Tried it out. Different messages during installation, but the behavior is unchanged.
[32409.578716] R13: 00007fffca501782 R14: 0000560cdc8f52a0 R15: 0000560cdc8f5780
[32409.578722] ---[ end trace 2a89544a8aff7104 ]---
[32409.578963] facer: Acer Laptop WMI Extras unloaded
[32409.611412] acer_wmi: Acer Laptop ACPI-WMI Extras
[32409.611440] acer_wmi: Function bitmap for Communication Button: 0x801
[32409.624818] input: Acer WMI hotkeys as /devices/virtual/input/input64
[32417.038080] acer_wmi: Acer Laptop WMI Extras unloaded
[32417.062596] facer: Acer Laptop ACPI-WMI Extras
[32417.062622] facer: Function bitmap for Communication Button: 0x801
Actually the patch currently doesn not support your laptop. There can be a fix but will need to be tested ... here is a try (use at your own risk):
in line 756, add this:
{
.callback = dmi_matched,
.ident = "Acer Predator PT314-51s",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
DMI_MATCH(DMI_PRODUCT_NAME, "Predator PT314-51s"),
},
.driver_data = &quirk_acer_predator_pt314_51s,
},
then at line 462, add this:
static struct quirk_entry quirk_acer_predator_pt314_51s = {
.turbo = 1,
.cpu_fans = 1,
.gpu_fans = 1,
};
I think your laptop comes with 1 fan for cpu and 1 fan for gpu, like mine. If these are not correct, change the number accordingly.
If you tested these and didn't work for you, please give me the link of the predator app you are using
Installed fine now, but still no go.
[37076.546381] facer: Function bitmap for Communication Button: 0x801
[37076.559419] input: Acer WMI hotkeys as /devices/virtual/input/input71
[37083.977825] facer: Acer Laptop WMI Extras unloaded
[37084.024121] acer_wmi: Acer Laptop ACPI-WMI Extras
[37084.024148] acer_wmi: Function bitmap for Communication Button: 0x801
[37084.037046] input: Acer WMI hotkeys as /devices/virtual/input/input72
[37086.337533] acer_wmi: Acer Laptop WMI Extras unloaded
[37086.361330] facer: Acer Laptop ACPI-WMI Extras
[37086.361365] facer: Function bitmap for Communication Button: 0x801
[37086.374590] input: Acer WMI hotkeys as /devices/virtual/input/input73
Here is the link to the app: https://global-download.acer.com/GDFiles/Application/Predator%20Sense/Predator%20Sense_Acer_3.00.3158_W10x64_A.zip?acerid=637571780492398059&Step1=NOTEBOOK&Step2=PREDATOR&Step3=PREDATOR%20PT314-51S&OS=ALL&LC=en&BC=ACER&SC=EMEA_26
@mjkapkan Ok, I'm a little busy and can't spare time for it now, but I'll keep issue open in case someone wanted to de-compile the official app and add the feature.
Thanks for the help so far. I will try to look in to this myself once I have some spare time.
Thanks for the help so far. I will try to look in to this myself once I have some spare time.
Did you make it work? I spent some time to get work registers, even turbo button light but i cant find keycode of turbo button
Hello everyone,
Do you have any progress to share? I have a PT314-52S and is heating a lot. Can you help me with this? Thank you very much.
Backlight control working, but everything else not.
Installation log:
Output of
dmidecode | grep "Product Name" -B 2 -A 4
dsdt.aml.txt