你(们)好
我想在 Linux 下使用 TMP112、在官方网站上找到这些文件、但 trivial-devices.txt 和 LM75都显示"找不到路径",如何获取这些文件?
谢谢、
组合
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好!
感谢您在传感论坛上发帖。
要访问源文件、请尝试以下链接: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/hwmon/lm75.c
有关 Linux 器件树文档、请尝试以下操作: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/Documentation/devicetree/bindings/i2c?qt=grep&q=tmp112&showmsg=1
此致、
Nicole
内核驱动程序用于集成到主板中并连接到系统 I2C 总线的器件。 如果您要测试类似的硬件、则在构建内核时必须包含 hwmon/LM75驱动程序。 此选择是在使用"make config"或类似命令的"配置内核"步骤中进行的。 您的默认编译中可能已经包含该内容。 下面是构建 Linux 内核的官方文档: https://docs.kernel.org/admin-guide/README.html
该软件由 Linux 社区而不是 TI 创建、我们无法提供进一步支持。
谢谢、
任