Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Add Razer Blade 15 (Early) 2022 #73

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions driver/src/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ char *getDeviceDescription(int product_id)
return "Blade (late) 2020 15\" base";
case BLADE_2021_MID_ADV:
return "Blade 2021 (Mid) 15\" advanced";
case BLADE_2022_EARLY:
return "Blade 2022 (Early) 15\"";
// Stealth's
case BLADE_2017_STEALTH_MID:
return "Blade 2017 stealth";
Expand Down
1 change: 1 addition & 0 deletions driver/src/defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#define BLADE_2021_ADV 0x026D
#define BLADE_LATE_2020_BASE 0x0268
#define BLADE_2021_MID_ADV 0x0276
#define BLADE_2022_EARLY 0x028a

// Stealth`s
#define BLADE_2017_STEALTH_MID 0x022D
Expand Down
1 change: 1 addition & 0 deletions driver/src/fancontrol.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ static int get_max_fan_rpm(__u32 product_id)
case BLADE_2019_STEALTH:
case BLADE_LATE_2020_BASE:
case BLADE_2021_MID_ADV:
case BLADE_2022_EARLY:
return MAX_FAN_RPM_STEALTH;
case BOOK_2020:
return MAX_FAN_RPM_STEALTH;
Expand Down
2 changes: 2 additions & 0 deletions driver/src/razer_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,8 @@ static const struct hid_device_id table[] = {
{ HID_USB_DEVICE(RAZER_VENDOR_ID, BLADE_2021_ADV)},
{ HID_USB_DEVICE(RAZER_VENDOR_ID, BLADE_LATE_2020_BASE)},
{ HID_USB_DEVICE(RAZER_VENDOR_ID, BLADE_2021_MID_ADV)},
{ HID_USB_DEVICE(RAZER_VENDOR_ID, BLADE_2022_EARLY)},


// Stealths
{ HID_USB_DEVICE(RAZER_VENDOR_ID, BLADE_2017_STEALTH_MID)},
Expand Down