Open kroaton opened 3 years ago
Hi
Above command puts DSDT data in a file called dsdt.aml
in your current working directory.
Please press your red button several times, then report the output of this command:
sudo dmesg | tail | grep "Unknown function number"
Also I haven't check codes for your laptop, so it will be just a trial\error process to enable turbo mode
[ 141.540666] acer_wmi: Unknown function number - 7 - 2 [ 141.732746] acer_wmi: Unknown function number - 7 - 2
Change this line: https://github.com/JafarAkhondali/acer-predator-turbo-and-rgb-keyboard-linux-module/blob/c0f99438d7f684d12b03ff811705ca80f7ecf51a/src/facer.c#L2549
to:
if (return_value.key_num == 0x2)
and add this:
{
.callback = dmi_matched,
.ident = "Acer Predator G9-793",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
DMI_MATCH(DMI_PRODUCT_NAME, "Predator G9-793"),
},
.driver_data = &quirk_acer_predator_pt917_71,
},
after line 770 in facer.c.
Do a reboot, then try installing.
I have no idea if it would work, I just used similar code for your laptop. Use at your own risk.
I'll give it a shot when I get back in town. Cheers!
RGB seems to be working but the default turbo button (pressing red button 1) does nothing.
Product name: Predator G9-793
sudo dmidecode | grep "Product Name" -B 2 -A 4
sudo cat /sys/firmware/acpi/tables/DSDT > dsdt.aml - doesn't return anything.
I tried manually going into the DSDT folder but it won't allow me to do so. Any ideas on what to try next?