Skip to content

Commit

Permalink
Merge pull request #7 from johnfanv2/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
johnfanv2 committed Jan 10, 2023
2 parents de92cd6 + 8138024 commit c05a702
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ Other Lenovo Legion models from 2020 to 2023 probably also work. The following w
- Lenovo Legion 5 15IMH05 (BIOS EFCN54WW): sensors, fan curve
- Lenovo Legion 5 15ACH6H (BIOS GKCN58WW or GKCN57WW), Gen 6: sensors, fan curve, power profile
- Lenovo Legion 5 15ARH05A (BIOS FSCN14WW), Gen 5: sensors, fan curve
- Lenovo Legion 5 15ITH6H (BIOS ???, Intel): sensors, fan curve, power profile
- Lenovo Legion 5 15ITH6H (BIOS H1CN49WW, Intel): sensors, fan curve, power profile
- Lenovo Legion 5 15ARH7H (BIOS JUCN55WW), Gen7: sensors, fan curve, power profile

*Note:* Features that are not confirmed proabably also work. They were just not tested.

## :warning: Disclaimer
Expand Down
10 changes: 9 additions & 1 deletion kernel_module/legion-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,15 @@ static const struct dmi_system_id optimistic_allowlist[] = {
},
.driver_data = (void *)&model_v0
},
{
// modelyear: 2022
.ident = "JUCN",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
DMI_MATCH(DMI_BIOS_VERSION, "JUCN"),
},
.driver_data = (void *)&model_v0
},
{}
};

Expand Down Expand Up @@ -1675,7 +1684,6 @@ static struct wmi_driver legion_wmi_driver = {
.notify = legion_wmi_notify,
};


//acpi_status status = wmi_install_notify_handler(LEGION_WMI_GAMEZONE_GUID,
// legion_wmi_notify2, NULL);
//if (ACPI_FAILURE(status)) {
Expand Down

0 comments on commit c05a702

Please sign in to comment.