modprobe is smarter about locating .ko files if they are stored in subdirectories. For example, it finds heatmap.ko regardless of whether it's stored in /vendor/lib/modules/heatmap.ko or /vendor/lib/modules/extra/heatmap.ko. modprobe also loads all dependencies automatically. Let's migrate from insmod to modprobe. Bug: 185184472 Change-Id: I439fdc76fb6211b416541256c92169da12b0100d
13 lines
510 B
INI
13 lines
510 B
INI
##########################################################
|
|
# init.insmod.raven.cfg #
|
|
# This file contains raven specific kernel modules to #
|
|
# load at init time by init.insmod.sh script #
|
|
##########################################################
|
|
|
|
# Load device specific kernel modules
|
|
# Modules here will be loaded *after* all common modules
|
|
modprobe|bcmdhd4389.ko
|
|
modprobe|sec_touch.ko
|
|
|
|
# All device specific modules loaded
|
|
setprop|vendor.device.modules.ready
|