From 44d382f29596c0e006f6b2bfee71e836109ddf29 Mon Sep 17 00:00:00 2001 From: Alexandre Bard Date: Thu, 11 Apr 2019 16:42:11 +0200 Subject: [PATCH] hw16: tibluetooth: Delay startup Since we moved to kernel 4.19 the WLAN/BT chip needs some time to be initialized --- .../tibluetooth/tibluetooth/tibluetooth-nbhw16.service | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-connectivity/tibluetooth/tibluetooth/tibluetooth-nbhw16.service b/recipes-connectivity/tibluetooth/tibluetooth/tibluetooth-nbhw16.service index 0c69a95..a4bba19 100644 --- a/recipes-connectivity/tibluetooth/tibluetooth/tibluetooth-nbhw16.service +++ b/recipes-connectivity/tibluetooth/tibluetooth/tibluetooth-nbhw16.service @@ -5,6 +5,7 @@ Requires=bluetooth.target [Service] Type=forking +ExecStartPre=/bin/sleep 10 ExecStartPre=-/bin/sh -c "/bin/echo 100 > /sys/class/gpio/export" ExecStartPre=-/bin/sh -c "/bin/echo out > /sys/class/gpio/gpio100/direction" ExecStartPre=/bin/sh -c "/bin/echo 1 > /sys/class/gpio/gpio100/value"