Huy Minh Bui <
buin...@gmail.com> 於 2020年5月10日 週日 下午9:43寫道:
> Is there any solution to load modules with modprobe.conf or put rules in modprobe.d like Linux ?
> Since there are modules that I want to set modules parameters. Or I have to add it in init.sh ?
Try to use /system/bin/modprobe.
In Android 8 (oreo-x86) and 9 (pie-x86), we have two versions
of modprobe, /sbin/modprobe and /system/bin/modprobe.
The former implemented in ueventd is the default one,
while the latter is implemented in toybox.
Reading code of toybox, it should support modprobe.conf and modprobe.d.
But I didn't try. You may try yourself.
In Android 10 (q-x86) only the toybox version is available.
--
Chih-Wei
Android-x86 project
http://www.android-x86.org