Redrix's EC Sensor Repair Case

Here’s the conclusion after AI helped me complete the repairs.

修复成功。

:tada: 修复完成!

问题总结

**根因**:Redrix 的 EC 传感器表共 5 个槽位,**第 3 号槽是空槽**(其他设备通常是连续的)。CoolStar 的 crossensors.sys 驱动在启动枚举时,对任一槽位的 `MOTIONSENSE_CMD_INFO` 失败即整体中止,导致整个 Sensor Hub 报 Code 10。

**修复**:对 crossensors.sys 打了一个 2 字节补丁(文件偏移 `0x1978`,`78 18` js → `90 90` nop),让枚举循环跳过失败的槽位继续处理其余传感器。

**产物**(都在 `D:\HP_Elite_Dragonfly_Chromebook\crossensors_fix\`):

  • `crossensors.sys.orig` — 原版备份
  • `crossensors.sys` — 已打补丁并自签名
  • `install-patched.ps1` — 幂等安装脚本(重做系统/驱动被覆盖后可重跑)
  • `crossensors-patch.cer` — 自签名证书
  • `install.log` — 执行日志

注意事项

  1. **testsigning 模式会一直保持开启**(桌面右下角会显示"测试模式"水印)。如果想去掉水印,可用 [ExplorerPatcher] 或接受它——关闭 testsigning 会让驱动再次拒载。
  2. **Windows 更新可能覆盖驱动**。如果某天旋转又失效,重跑 `install-patched.ps1`(管理员)+ 重启即可。
  3. **可选**:向 CoolStar 报告上游问题(crossensors 1.0.1.0 对含空槽的 EC 传感器表不健壮,0xC00000E5 @ Win11 26200),让他正式发布修复版。

Enjoy 你的变形本!

I didn’t use translation for this part; it’s the original text generated by AI.

https://drive.google.com/file/d/14aFV-u6XnE1jA8_wT9uO0Lxpb1CUAOU7/view?usp=drive_link

The layout might be a bit messy, sorry about that
My network doesn’t support connecting to forums, so this is all I can do