Closed jastisriradheshyam closed 1 year ago
Hi @jastisriradheshyam
I reviewed your PR and all looks good. Thanks a lot for your contribution.
About "CPU Realtime Fan Speed" topic, please keep testing it. Overall work is done and even if you don't sure the correct base or address now, other users will test your code and they give us positive/negative feedback.
How I tested: by setting values at the mentioned paths and observing the behavior and also observing
ec
realtime values (sudo watch -n 0.1 hexdump -C /dev/ec
)Tested & Working
/sys/devices/platform/msi-ec/webcam
/sys/devices/platform/msi-ec/webcam_block
/sys/devices/platform/msi-ec/battery_mode
/sys/devices/platform/msi-ec/cooler_boost
/sys/devices/platform/msi-ec/cpu/realtime_temperature
/sys/devices/platform/msi-ec/gpu/realtime_temperature
/sys/devices/platform/msi-ec/gpu/realtime_fan_speed
/sys/devices/platform/msi-ec/fan_mode
/sys/devices/platform/msi-ec/fw_version
/sys/devices/platform/msi-ec/fw_release_date
/sys/class/leds/msiacpi::kbd_backlight/brightness
/sys/class/leds/platform::micmute/brightness
/sys/class/leds/platform::mute/brightness
/sys/class/power_supply/BAT1/charge_control_end_threshold
/sys/devices/platform/msi-ec/shift_mode
sport
on startup (In BIOS, if user scenario is set toPerformance Mode
)comfort
on startup (In BIOS, if user scenario is set toBalanced Mode
)Not sure if it's working right
/sys/devices/platform/msi-ec/cpu/realtime_fan_speed
0x55
even the speed of the fan speed got slow, so not sure what's the about this configuration0x55
andrt_fan_speed_base_max
is set to0x37
, so if it goes beyond the0x37
then it starts showingInvalid argument
rt_fan_speed_base_min
should be0x00
->0
andrt_fan_speed_base_max
be0x64
->100
Not supported
/sys/devices/platform/msi-ec/fn_key
&/sys/devices/platform/msi-ec/win_key
Sample EC Dump