简体   繁体   English

Yocto USB电源管理问题

[英]Problems with Yocto USB power management

Started to work with Yocto and is trying to get a modem to sleep using USB suspend. 开始使用Yocto,并尝试使用USB挂起使调制解调器进入睡眠状态。 According to the guides I've seen, you can do this in the sysfs with some power configs/commands. 根据我所看到的指南,您可以使用一些强大的配置/命令在sysfs中执行此操作。

I think I have figured out the path to my device (Bus 001 Device 003: ID 1e2d:005b) as /sys/bus/usb/devices/1-1:1.3. 我想我已经找到了我的设备(总线001设备003:ID 1e2d:005b)的路径为/sys/bus/usb/devices/1-1:1.3。

There is a power folder here, but it is empty. 这里有一个电源文件夹,但它是空的。 There should as I understand it be several files here, like wakeup, control, autosuspend_delay_ms, but there is none. 据我了解,这里应该有几个文件,例如唤醒,控制,autosuspend_delay_ms,但是没有。 Could I be missing some package for this? 我可以为此缺少一些包裹吗?

I don't think that you missed any of package in yocto. 我认为您没有错过yocto中的任何包裹。 AFAIK it is function of the linux kernel to export some files under /sys/bus/devices. AFAIK是Linux内核的功能,用于导出/ sys / bus / devices下的某些文件。 Maybe you didn't enable some features in kernel config file? 也许您没有在内核配置文件中启用某些功能?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM