← Back to team overview

kernel-packages team mailing list archive

[Bug 1221618] Re: Bluetooth doesn't work after S3/S4 or after turning bluetooth on/off several times by toggle key

 

A few observations.

The kernel messages pointed out here aren't come from anything in the
precise kernel but rather from modules included via compat-drivers. I
found that compat-wireless-3.10-dkms 3.10~rc1~2.20130618.sutton3 is
installed, and if that's really coming from an rc1 kernel then there may
well be some bug fixes. Releasing anything based off of rc1 code seems
like a bad idea.

Since I'm not sure where the source lives for this compat-wireless
package I looked at something more recent. Based on that I don't think
this is a race between bluez and the kernel (though the fact that adding
a delay helps implies that there's likely a race somewhere). There's a
setup callback that gets called when userspace opens the device that
prints these messages, and that callback tries to issue these commands
which are failing and then load the firmware. So it's not a matter of
doing stuff before the firmware is loaded, it's that some commands to
the device are failing.

There _are_ several commits since 3.10-rc1 dealing with either races
(one specifically related to rfkill and device setup) or handling of
power on failures. I think we need some testing against the trusty
kernel to see if the problem still exists, and if not we can try to find
what fixed it. And I'd also like to reiterate the request for logs in
comment #6.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to bluez in 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

Status in Bluez Utilities:
  New
Status in OEM Priority Project:
  Confirmed
Status in OEM Priority Project precise series:
  Confirmed
Status in “bluez” package in Ubuntu:
  Incomplete
Status in “linux” package in Ubuntu:
  Incomplete
Status in “bluez” source package in Precise:
  Incomplete
Status in “linux” source package in Precise:
  Incomplete

Bug description:
  After S3/S4 or turning bluetooth on/off several times by toggle key,
  there are many error messages in dmesg. And sometime the bluetooth menu is incomplete.
  dmesg:
  [ 1117.356421] init: bluetooth main process (3848) terminated with status 1
  [ 1117.356506] init: bluetooth main process ended, respawning
  [ 1117.399989] init: bluetooth main process (3857) terminated with status 1
  [ 1117.400048] init: bluetooth main process ended, respawning

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


References