在Linux设备驱动程序中
我想知道从用户空间发出powerOff
时,在Linux设备驱动程序中被调用了哪些回调。驱动程序是作为外部模块构建的。 对于暂停 /简历,我们有struct dev_pm_ops < / code>方法。 从用户空间发出
/code> shutdown 命令时,是否有任何方法/回调可以注册以进行调用?
I would like to know what callback gets called in Linux device drivers when issuing poweroff
from user space. The driver is built as external module.
For suspend / resume we have struct dev_pm_ops
methods.
Is there any method/callback that could be registered for getting called when issuing poweroff
/shutdown
command from user space?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论