[Gta04-owner] [PATCH v2 6/7] load_modules: kill mediaserver after loading modules

Andreas Kemnade andreas at kemnade.info
Sun Apr 23 13:25:36 CEST 2017


The mediaserver seems to rely on having sound hardware ready when it
is loaded. The initialisation is too slow, so wait a bit and
kill the mediaserver. It will be restarted automatically
and then properly detect the sound card

Signed-off-by: Andreas Kemnade <andreas at kemnade.info>
---
 rootdir/load_modules.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/rootdir/load_modules.sh b/rootdir/load_modules.sh
index 6ba0f4e..6276ff0 100755
--- a/rootdir/load_modules.sh
+++ b/rootdir/load_modules.sh
@@ -116,3 +116,5 @@ modprobe extcon-gpio
 modprobe gpio_twl4030
 modprobe rtc_twl
 modprobe at24 #I2C-EEPROM
+sleep 6
+kill `pidof mediaserver`
-- 
2.1.4



More information about the Gta04-owner mailing list