Skip to content

Commit

Permalink
Disable ACPI _STA check for BIOS BVCN
Browse files Browse the repository at this point in the history
  • Loading branch information
johnfan committed Aug 15, 2023
1 parent 6bd4b98 commit d46ca23
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions kernel_module/legion-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ static const struct model_config model_bvcn = {
.access_method_fanspeed = ACCESS_METHOD_EC,
.access_method_temperature = ACCESS_METHOD_EC,
.access_method_fancurve = ACCESS_METHOD_EC,
.acpi_check_dev = true,
.acpi_check_dev = false,
.ramio_physical_start = 0xFE00D400,
.ramio_size = 0x600
};
Expand Down Expand Up @@ -2393,7 +2393,8 @@ static ssize_t wmi_write_fancurve_custom(const struct model_config *model,
u8 buffer[0x20];
int err;

// Read like this in ACPI
// The buffer is read like this in ACPI firmware
//
// CreateByteField (Arg2, Zero, FSTM)
// CreateByteField (Arg2, One, FSID)
// CreateDWordField (Arg2, 0x02, FSTL)
Expand Down

0 comments on commit d46ca23

Please sign in to comment.