Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用在我的树莓派上运行的 buildroot 映像(3.12 内核),并连接了一个 USB LED 灯,我想通过 CLI 控制开/关。
我经历了这个。但是,power 文件夹中没有控制或级别文件。
有没有我必须启用的内核配置才能获得这个?
找到了这个问题的答案。我必须在内核配置中启用 PM_SUSPEND 才能获取类文件。但是,正如评论中提到的,RaspberryPi 的电源线直接连接到电源轨