pstar: use modules.load for recovery modules
for some reason insmod was never executed even though included and a manual execution isnt viable, therefor use automatic module loading
This commit is contained in:
parent
8800dcfc22
commit
2afea81ebb
@ -1,22 +0,0 @@
|
|||||||
# Copyright (C) 2021 The LineageOS Project
|
|
||||||
#
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
on boot
|
|
||||||
insmod /lib/modules/exfat.ko
|
|
||||||
insmod /lib/modules/mmi_annotate.ko
|
|
||||||
insmod /lib/modules/mmi_info.ko
|
|
||||||
insmod /lib/modules/mmi_relay.ko
|
|
||||||
insmod /lib/modules/sensors_class.ko
|
|
||||||
insmod /lib/modules/touchscreen_mmi.ko
|
|
||||||
insmod /lib/modules/stmicro_mmi.ko
|
|
4
recovery/root/lib/modules/modules.alias
Normal file
4
recovery/root/lib/modules/modules.alias
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Aliases extracted from modules themselves.
|
||||||
|
alias platform:mmi_relay mmi_relay
|
||||||
|
alias of:N*T*Cmmi,sys-relay mmi_relay
|
||||||
|
alias of:N*T*Cmmi,sys-relayC* mmi_relay
|
6
recovery/root/lib/modules/modules.dep
Normal file
6
recovery/root/lib/modules/modules.dep
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
/lib/modules/mmi_relay.ko:
|
||||||
|
/lib/modules/sensors_class.ko:
|
||||||
|
/lib/modules/touchscreen_mmi.ko: /lib/modules/sensors_class.ko /lib/modules/mmi_relay.ko
|
||||||
|
/lib/modules/mmi_annotate.ko:
|
||||||
|
/lib/modules/mmi_info.ko: /lib/modules/mmi_annotate.ko
|
||||||
|
/lib/modules/stmicro_mmi.ko: /lib/modules/touchscreen_mmi.ko /lib/modules/sensors_class.ko/lib/modules/mmi_relay.ko /lib/modules/mmi_info.ko /lib/modules/mmi_annotate.ko
|
6
recovery/root/lib/modules/modules.load
Normal file
6
recovery/root/lib/modules/modules.load
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
mmi_relay.ko
|
||||||
|
sensors_class.ko
|
||||||
|
touchscreen_mmi.ko
|
||||||
|
mmi_annotate.ko
|
||||||
|
mmi_info.ko
|
||||||
|
stmicro_mmi.ko
|
1
recovery/root/lib/modules/modules.softdep
Normal file
1
recovery/root/lib/modules/modules.softdep
Normal file
@ -0,0 +1 @@
|
|||||||
|
# Soft dependencies extracted from modules themselves.
|
Loading…
x
Reference in New Issue
Block a user