Netlink 接口向用户空间提供传感器温度通知。
用户空间应用程序可以使用 thermal Netlink 库接收传感器温度通知并采取相应措施。
接收通知
- 为应用程序需要处理的热事件定义回调,例如热区、触发点、冷却设备和温度事件。
- 使用这些回调初始化 thermal Netlink 库。
- 订阅所需的热组播事件组。
- 运行事件循环,并在相应的回调中处理每个通知。
- 应用程序退出时释放 thermal Netlink 库的资源。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
🚀 QLI Version 2.1 is now live ! Switch to new version to check out the latest content
Netlink 接口向用户空间提供传感器温度通知。
用户空间应用程序可以使用 thermal Netlink 库接收传感器温度通知并采取相应措施。
