By the looks of things this is a platform wherein the actual bluetooth
controller is powered off when the kill switch is turned on, and powered
up again when the switch is turned off.  Thus the controller is
initialising when the event is emitted, which starts the bluez which is
getting there before it is ready to be used.  The fact that a very small
timeout before starting it in the upstart job is sufficient to always
fix this seem indicative of this.  The logical first step would be to
make the open for the device in userspace detect the open error and
pause and retry a couple of times.  Likely we are getting EAGAIN or
similar.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1221618

Title:
  Bluetooth doesn't work after S3/S4 or after turning bluetooth on/off
  several times by toggle key

To manage notifications about this bug go to:
https://bugs.launchpad.net/bluez/+bug/1221618/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to