The ECLite driver communication over ISHTP can be tested as follows:
a) "cat /sys/class/thermal/thermal_zone0/temp" - for reading temperature from EC-Lite.
Note 1: "cat /sys/class/thermal/thermal_zone0/type" should read "acpitz" - This is EC-Lite's thermal zone
Note 2: You can stress the CPU and read temp again to see a change. For stressing the CPU, you can use Checkbox itself.
Eg Checkbox command: cdts.checkbox-cli run com.canonical.certification::stress/cpu_stress_ng_test
If a battery is connected -
- /sys/class/power_supply/BAT0 will be populated.
eg.
cat /sys/class/power_supply/BAT0/present
1
cat /sys/class/power_supply/BAT0/status
Discharging
You can try to turn on/off FAN manually as well – Commands attached
@Kent,
The ECLite driver communication over ISHTP can be tested as follows:
a) "cat /sys/class/ thermal/ thermal_ zone0/temp" - for reading temperature from EC-Lite.
Note 1: "cat /sys/class/ thermal/ thermal_ zone0/type" should read "acpitz" - This is EC-Lite's thermal zone
Note 2: You can stress the CPU and read temp again to see a change. For stressing the CPU, you can use Checkbox itself. certification: :stress/ cpu_stress_ ng_test
Eg Checkbox command: cdts.checkbox-cli run com.canonical.
If a battery is connected - power_supply/ BAT0 will be populated. power_supply/ BAT0/present power_supply/ BAT0/status
- /sys/class/
eg.
cat /sys/class/
1
cat /sys/class/
Discharging
You can try to turn on/off FAN manually as well – Commands attached