Merge pull request #30 from superami-code/master
Got ROG STRIX X470-F Gaming working
This commit is contained in:
commit
dfe5cae512
|
@ -19,6 +19,7 @@ Provides a Linux kernel module "asus_wmi_sensors" that provides sensor readouts
|
|||
|Asus ROG Crosshair Hero VI Extreme | ? |
|
||||
|ROG STRIX B450-F GAMING | 2406 |
|
||||
|ROG STRIX B450-I GAMING | 2406 |
|
||||
|ROG STRIX B450-F GAMING | 5007 |
|
||||
|ROG STRIX X399-E GAMING | |
|
||||
|ASUS Zenith Extreme | 1607/1701 |
|
||||
|ASUS Zenith Extreme Alpha | 0207 |
|
||||
|
@ -30,7 +31,6 @@ Provides a Linux kernel module "asus_wmi_sensors" that provides sensor readouts
|
|||
|Board |
|
||||
|-----------------------------------|
|
||||
|X570 boards (no WMI interface - use `nct6775` driver instead)|
|
||||
|ASUS ROG STRIX B450/X470|
|
||||
|Prime B450-Plus|
|
||||
|Prime X370-Pro|
|
||||
|
||||
|
@ -121,4 +121,4 @@ CPU VRM Output Current: +1.00 A
|
|||
## Thanks
|
||||
- Ray Hinchcliffe, author of SIV for info
|
||||
- Original authors of the IT87 makefile
|
||||
- Authors of other mainlined HWMON kernel modules that I've studied while writing this
|
||||
- Authors of other mainlined HWMON kernel modules that I've studied while writing this
|
||||
|
|
|
@ -37,6 +37,7 @@ MODULE_VERSION("3");
|
|||
#define STRIX_B450_F "ROG STRIX B450-F GAMING"
|
||||
#define STRIX_B450_I "ROG STRIX B450-I GAMING"
|
||||
#define STRIX_X470_I "ROG STRIX X470-I GAMING"
|
||||
#define STRIX_X470_F "ROG STRIX X470-F GAMING"
|
||||
|
||||
#define METHODID_SENSOR_GET_VALUE 0x52574543
|
||||
#define METHODID_SENSOR_UPDATE_BUFFER 0x51574543
|
||||
|
@ -555,7 +556,8 @@ static int is_board_supported(void) {
|
|||
strcmp(board_name, STRIX_X399_E) == 0 ||
|
||||
strcmp(board_name, STRIX_B450_F) == 0 ||
|
||||
strcmp(board_name, STRIX_B450_I) == 0 ||
|
||||
strcmp(board_name, STRIX_X470_I) == 0))) {
|
||||
strcmp(board_name, STRIX_X470_I) == 0 ||
|
||||
strcmp(board_name, STRIX_X470_F) == 0))) {
|
||||
|
||||
pr_info("asuswmisensors: Supported board");
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue