generated from SteamDeckHomebrew/decky-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #70 from mengmeet/dev
Add fan support through the ayn-platform
- Loading branch information
Showing
13 changed files
with
62 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
|
||
product_name: # /sys/devices/virtual/dmi/id/product_name 内容 | ||
product_name: # /sys/devices/virtual/dmi/id/product_name 内容 | ||
- AOKZOE A1 AR07 | ||
- ONEXPLAYER Mini Pro | ||
fans: | ||
- manual_offset: 0x4a # 风扇自动控制ec地址 | ||
rpmwrite_offset: 0x4b # 风扇写入转速ec地址 | ||
rpmread_offset: 0x76 # 风扇读取转速ec地址 | ||
- manual_offset: 0x4a # 风扇自动控制ec地址 | ||
rpmwrite_offset: 0x4b # 风扇写入转速ec地址 | ||
rpmread_offset: 0x76 # 风扇读取转速ec地址 | ||
|
||
ram_reg_addr: 0x4E # 风扇ecRam寄存器地址 | ||
ram_reg_data: 0x4F # 风扇ecRam寄存器数据 | ||
ram_manual_offset: 0x44a # 风扇自动控制ecRam地址 | ||
ram_rpmwrite_offset: 0x44b # 风扇写入转速ecRam地址 | ||
ram_rpmread_offset: 0x1809 # 风扇读取转速ecRam地址 | ||
ram_rpmread_length: 0 # 风扇实际转速值长度 0为需要通过计算获得转速 | ||
ram_reg_addr: 0x4E # 风扇ecRam寄存器地址 | ||
ram_reg_data: 0x4F # 风扇ecRam寄存器数据 | ||
ram_manual_offset: 0x44a # 风扇自动控制ecRam地址 | ||
ram_rpmwrite_offset: 0x44b # 风扇写入转速ecRam地址 | ||
ram_rpmread_offset: 0x1809 # 风扇读取转速ecRam地址 | ||
ram_rpmread_length: 0 # 风扇实际转速值长度 0为需要通过计算获得转速 | ||
|
||
rpm_write_max: 255 # 风扇最大转速ec写入值 | ||
rpm_value_max: 4968 # 风扇最大转速数值 | ||
rpm_write_max: 255 # 风扇最大转速ec写入值 | ||
rpm_value_max: 4968 # 风扇最大转速数值 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
|
||
product_name: | ||
product_name: | ||
- G1618-04 | ||
fans: | ||
- ram_reg_addr: 0x2E | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
|
||
product_name: | ||
product_name: | ||
- G1619-04 | ||
fans: | ||
- ram_reg_addr: 0x4E | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
|
||
product_name: | ||
product_name: | ||
- G1617-01 | ||
fans: | ||
- ram_reg_addr: 0x4E | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
hwmon_name: aynec | ||
|
||
fans: | ||
- fan_name: Fan | ||
pwm_mode: 0 | ||
|
||
pwm_enable: | ||
manual_value: 1 | ||
auto_value: 0 | ||
pwm_enable_path: pwm1_enable | ||
pwm_enable_second_path: pwm1_mode | ||
|
||
pwm_write: | ||
pwm_write_max: | ||
default: 255 | ||
pwm_write_path: pwm1 | ||
|
||
pwm_input: | ||
hwmon_label: aynec | ||
pwm_read_path: fan1_input | ||
pwm_read_max: 5000 | ||
|
||
temp_mode: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# hwmon目录下name文件内容 | ||
hwmon_name: oxpec | ||
hwmon_name: oxpec | ||
|
||
fans: | ||
- fan_name: Fan # 显示在 UI 上的风扇名称 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters