first commit

This commit is contained in:
jack
2026-04-04 15:32:51 +08:00
commit a862314d94
34 changed files with 10253 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
Chrome OS 传感器收集脚本使用说明
====================================
脚本: chromeos_collect_sensors.sh
用途: 在 Chrome OS 下收集 EC 传感器、热区、hwmon、dmesg 等信息,用于验证硬件通道
前置: 需开启 Chrome OS 开发者模式,进入 shell
步骤:
1. 将脚本复制到 ChromeboxU 盘、Google Drive、或 scp
2. 打开终端: Ctrl+Alt+T输入 shell 回车
3. 进入脚本所在目录
4. 执行: chmod +x chromeos_collect_sensors.sh
5. 执行: ./chromeos_collect_sensors.sh
输出: 默认保存到 /tmp/sensor_report_YYYYMMDD_HHMMSS.txt
- 若当前目录可写,则保存到当前目录
- 可用 cat /tmp/sensor_report_*.txt 查看
- 若要复制回 Windows可将输出重定向到 Downloads:
./chromeos_collect_sensors.sh 2>&1 | tee ~/Downloads/sensor_report.txt
收集内容:
- ectool temps / tempsinfo: EC 暴露的所有温度传感器
- /sys/class/thermal: ACPI 热区温度
- /sys/class/hwmon: Linux hwmon 设备及温度
- dmesg: cros_ec、thermal、hwmon、sensor、peci 相关日志
- 风扇 RPM、PWM
- CPU 型号