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:
SGCMarkus 2022-02-18 01:34:38 +01:00
parent 8800dcfc22
commit 2afea81ebb
5 changed files with 17 additions and 22 deletions

View File

@ -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

View 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

View 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

View File

@ -0,0 +1,6 @@
mmi_relay.ko
sensors_class.ko
touchscreen_mmi.ko
mmi_annotate.ko
mmi_info.ko
stmicro_mmi.ko

View File

@ -0,0 +1 @@
# Soft dependencies extracted from modules themselves.