On Wed, Jul 27, 2016 at 11:38 AM Juliusz Chroboczek <
[email protected]> wrote:

> >>> There is a race condition between booting and loading the Bluetooth
> >>> firmware.  Reloading the firmware manually works around the issue.
>
> >> This has been haunting us for a while.
>
> Okay, I found it.  You just need to add
>
>   Type=forking
>
> to the [Service] section of
> /lib/systemd/system/bb-wl18xx-bluetooth.service .
>
> What's going on is that the script is starting the hciconfig daemon.
> However, systemd knows better than you, so it kills the daemon as soon as
> your script exits.
>
> With "Type=forking", you politely ask systemd to stop being a dick.
>

Brilliant!

https://github.com/rcn-ee/repos/pull/17


>
> -- Juliusz
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CA%2BT6QPkxuAWycFHMq7A-PUHbDiRhw7MXy7NswHmPBVWVhFvKAw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to