admin管理员组文章数量:1240604
The Linux shell command echo 255 > brightness below turns on a green LED, presumably through I2C bus 1, and peripheral NXP PCA9533...
root@phyboard-mira-imx6-3:leds# ls
input2::capslock@ input2::compose@ input2::kana@ input2::numlock@ input2::scrolllock@ mira-blue@ mira-green@ mira-red@ mmc0::@ phycore-green@ user-led1@ user-led2@ user-led3@
root@phyboard-mira-imx6-3:leds# cd mira-green
root@phyboard-mira-imx6-3:mira-green# ls
device@ power/ subsystem@ brightness max_brightness trigger uevent
root@phyboard-mira-imx6-3:mira-green# echo 255 > brightness
How do I find the underlying implementation's source code?
Online Linux source code browsers might or might not match what's actually running on this board. Need more hints.
本文标签: linuxHow to find code running under a command using sysfsStack Overflow
版权声明:本文标题:linux - How to find code running under a command using sysfs? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1740071714a2223090.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论