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
21 lines
695 B
INI
21 lines
695 B
INI
########################################################
|
|
# init.insmod.slider.cfg #
|
|
# This file contains slider 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|bcmdhd43752.ko
|
|
modprobe|bcmdhd4389.ko
|
|
modprobe|snd-soc-cs35l41-spi.ko
|
|
modprobe|ftm5.ko
|
|
modprobe|haptics-cs40l2x.ko
|
|
modprobe|st33spi.ko
|
|
modprobe|st54spi.ko
|
|
|
|
# Wait for any asynchronous work to complete
|
|
wait|/sys/class/leds/vibrator
|
|
|
|
# All device specific modules loaded
|
|
setprop|vendor.device.modules.ready
|