Bluetooth doesn't work after suspend on a MacBook/MacBook Pro

Bug #234672 reported by Niran Babalola
32
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bluez-utils (Ubuntu)
Fix Released
Undecided
Unassigned
linux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I have my Bluetooth preferences set to show the applet whenever a Bluetooth adapter is present. On a fresh boot, everything works fine. After returning from suspend, there is no applet, and attempting to transfer files from my phone to my computer doesn't work.

I am running Hardy, and it is fully updated.

Workaround:

sudo /etc/init.d/bluetooth stop
sudo /etc/init.d/bluetooth start

Note: restart does NOT work.

Tags: cft-2.6.27
Revision history for this message
Niran Babalola (niran) wrote : Re: [Bug 234672] Re: Bluetooth doesn't work after suspend on a MacBook

I think it's likely a kernel issue, not a gnome-bluetooth issue.

description: updated
Revision history for this message
Sébastien Valette (sebastien-valette) wrote :

I can confirm the same issue on my Toshiba laptop. Restarting bluetooth fixes the problem in ly case.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
David Fraser (davidf) wrote :

This seems similar to bug 234202

Revision history for this message
Alexander Jones (alex-weej) wrote : Re: [Bug 234672] Re: Bluetooth doesn't work after suspend on a MacBook/MacBook Pro

Right now I can't even successfully suspend/resume to test this.

Revision history for this message
Ladislav Kopecky (spex) wrote :

I have same problem after fresh reboot bluetooth working normal a after return from suspend or hibernate bluetooth dont work. when i use this

sudo /etc/init.d/bluetooth stop
sudo /etc/init.d/bluetooth start

bluetooth working again

I have ubuntu 8.10 Intrepid Ibex Alpha 4

Revision history for this message
Robert Nasiadek (robzon) wrote :

I just tested this on Alpha 5. Still no bluetooth after suspend.

Revision history for this message
Ladislav Kopecky (spex) wrote :

In kernel 2.6.27-3-generic this bugs miss.

Changed in bluez-utils:
status: New → Fix Released
Changed in linux:
status: New → Fix Released
Revision history for this message
Robert Nasiadek (robzon) wrote :

Still having this issue on a Macbook 3rd gen, running up-to-date intrepid (2.6.27-4).

Revision history for this message
Alexander Jones (alex-weej) wrote :

Seconded.

Revision history for this message
Christian Stöveken (excogitation) wrote :

Problem still persists on 8.10 (2.6.27-4) but
sudo /etc/init.d/bluetooth restart works.

Revision history for this message
Robert Nasiadek (robzon) wrote :

The bug seems to be fixed now, at least for me. Can anyone confirm this?

Revision history for this message
Anmar Oueja (anmar) wrote :

I am using final release of Intrepid and the bug persists on macbook (white 3rd Gen) . the chipset is Intel.

Revision history for this message
Christian Stöveken (excogitation) wrote :

On my machine it's fixed as well.

Revision history for this message
annunaki2k2 (russell-knighton) wrote :

Just to state, I still have this issue too - Macbook 2,1.

For me a "sudo /etc/init.d/bluetooth restart" after each resume seems to fix it.

Running most up-to-date patches on ibex.

Revision history for this message
Alexander Jones (alex-weej) wrote :

My bluetooth services come and go as they please after a suspend-resume
cycle. Up to date 8.10.

Revision history for this message
Dario Bertini (berdario) wrote :

I still have this issue (Macbook 3,1 with ubuntu 8.10 x86_64 2.6.27-11-generic):

boot: applet present
suspend-resume: applet absent
suspend-resume: present
suspend-resume: present
suspend-resume: present
suspend-resume: present
suspend-resume: absent

to me seems behaving completely random...

moreover: i use the bluetooth with my logitech mouse, and after the first resume, when the applet was absent, it still worked!

instead... after the 3/4th resume (applet present) it didn't...

and when it works after a resume the buttons works fine, except for the scroll wheel which is inert...

doing
sudo /etc/init.d/bluetooth restart
fixes it, but it makes my mouse lose the connection (and so i'm forced to remove it from the bluetooth devices and reenable it)

Revision history for this message
Dave Vasilevsky (djvasi) wrote :

On my MacBook4,1 running Jaunty amd64, bluetooth still goes away after suspend. A restart of the bluetooth service brings it back.

As a workaround I've added the following to /etc/pm/sleep.d, but this is obviously not a real fix:

#!/bin/sh
case "$1" in
 hibernate|suspend)
  ;;
 thaw|resume)
  /etc/init.d/bluetooth restart
  ;;
 *) exit $NA
  ;;
esac

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.