Android 和内核模块

发布于 2024-08-29 05:33:36 字数 216 浏览 4 评论 0原文

所以 - Android 是建立在精简的 Linux 系统之上的。大多数方便的实用程序都丢失了,但所有基础功能都在那里。

我可以调用insmod和rmmod。没问题。

但是内核模块和固件文件驻留在哪里?我找不到任何。标准发行版中没有/lib/modules。

问题:我需要模块。当然不想将对世界上每个 USB 设备的支持编译到 Linux 内核中。我应该把它们放在哪里?

So - Android is build on top of a stripped down linux system. Most of the convenient utilities are missing but all the basics are there.

I can call insmod and rmmod. No problem.

But where do kernel-modules and firmware files reside? I can't find any. there is no /lib/modules in the standard distribution.

Problem: I need modules. For sure don't want to compile support for each and every usb-device in the world into the linux-kernel. Where should I put them?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

余生一个溪 2024-09-05 05:33:36

模块应该存储在 /system/lib/modules 中,或者至少这似乎是大多数 ROM 中的普遍共识。

Modules should be stored in /system/lib/modules, or at least that seems the general consensus in most ROMs.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文