android - 如何在 Android 中为字符设备驱动程序创 build 备节点?

标签 android linux linux-kernel

我尝试过使用 mknod 但它没有在 Android 内核中定义。有没有其他方法可以用来创 build 备节点?

最佳答案

使用ueventd.rc声明您的设备条目。该文件由 init 读取。它是一种最小的 udev。

关于android - 如何在 Android 中为字符设备驱动程序创 build 备节点?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7760510/

相关文章:

android - MaterialContainerTransform Unresolved reference

android - MediaRecorder 无效状态 16

linux - 为什么sublime建好后显示 "Unable to find target command: exec"?

c++ - "Segmentation fault"在linux上实现intel MKL的DFT

linux - ioctls 如何知道在 linux 中调用哪个函数?

android - 如何在 Roboguice 中通过构造函数注入(inject)参数? [安卓]

android - 如何将字符串解析为值:“”字段

c++ - 为什么语言环境 es_MX 有效但 es 无效?

c - 何时使用 fcheck() 或 fcheck_files() 以及为了什么?

linux-kernel - 可以延迟加载导出的符号吗?