[Dell laptops] BCM2045B2 bluetooth adapter causes Ubuntu to fail to suspend/hibernate

Bug #304179 reported by Aaron Kelley
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I am using a Dell Inspiron 1720 notebook with Ubuntu 8.10 x86_64. I have been having intermittent hibernate failures (I'd say about 1 in 4 attempts fail) and I tracked it down to the bluetooth adapter not suspending properly. The bluetooth adapter is a Broadcom BCM2045B2.

Here's a snippet from the syslog around a failed hibernate:

1: Dec 1 16:09:27 KEI kernel: [20750.925927] PM: Shrinking memory... ^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^Hdone (139516 pages freed)
2: Dec 1 16:09:27 KEI kernel: [20769.390182] PM: Freed 558064 kbytes in 18.46 seconds (30.23 MB/s)
3: Dec 1 16:09:27 KEI kernel: [20769.390185] Suspending console(s) (use no_console_suspend to debug)
4: Dec 1 16:09:27 KEI kernel: [20769.390839] sd 2:0:0:0: [sdb] Synchronizing SCSI cache
5: Dec 1 16:09:27 KEI kernel: [20769.592046] sd 0:0:0:0: [sda] Synchronizing SCSI cache
6: Dec 1 16:09:27 KEI kernel: [20769.611299] hub 1-2:1.0: suspend error -16
7: Dec 1 16:09:27 KEI bluetoothd[6159]: HCI dev 0 unregistered
8: Dec 1 16:09:28 KEI bluetoothd[6159]: Unregister path: /org/bluez/hci0
9: Dec 1 16:09:28 KEI kernel: [20769.611301] pm_op(): usb_dev_freeze+0x0/0x20 [usbcore] returns -16
10: Dec 1 16:09:28 KEI bluetoothd[6159]: HCI dev 0 registered
11: Dec 1 16:09:28 KEI kernel: [20769.611343] PM: Device 1-2 failed to freeze: error -16
12: Dec 1 16:09:28 KEI kernel: [20769.611469] sd 0:0:0:0: [sda] Starting disk
13: Dec 1 16:09:28 KEI kernel: [20769.639201] sd 2:0:0:0: [sdb] Starting disk
14: Dec 1 16:09:28 KEI kernel: [20769.656719] pm_op(): usb_dev_restore+0x0/0x10 [usbcore] returns -19
15: Dec 1 16:09:28 KEI kernel: [20769.656744] PM: Device 1-2.1 failed to restore: error -19
16: Dec 1 16:09:28 KEI kernel: [20769.656752] pm_op(): usb_dev_restore+0x0/0x10 [usbcore] returns -19
17: Dec 1 16:09:28 KEI kernel: [20769.656773] PM: Device 1-2.2 failed to restore: error -19
18: Dec 1 16:09:28 KEI kernel: [20769.656777] pm_op(): usb_dev_restore+0x0/0x10 [usbcore] returns -19
19: Dec 1 16:09:28 KEI kernel: [20769.656797] PM: Device 1-2.3 failed to restore: error -19
20: Dec 1 16:09:28 KEI kernel: [20769.725487] PM: Image restored successfully.

Notice the failure notifications on lines 6, 9, and 11. Device 1-2 the bluetooth adapter.

When the hibernation fails, I am plopped back at a screen asking for my password to unlock my desktop session. It is as if the hibernate was successful and the machine had been turned back on (however, the machine never actually turned off).

Let me know if I can provide any additional information.

Revision history for this message
mabawsa (mabawsa) wrote :

Added Dell as I have a similar problem with my DELL M1330 (Dell Computer Corp. Wireless 355 Bluetooth); latest kernel (2.6.27-11-generic). Since this update the machine refuses to hibernate, returning to the locked screen box.
Here are the relevant dmesg entries:
Dec 21 00:20:01 tomato kernel: [32618.652732] btusb_intr_complete: hci0 urb e294bd80 failed to resubmit (2)
Dec 21 00:20:59 tomato kernel: [45238.053652] hub 1-2:1.0: suspend error -16
Dec 21 00:20:59 tomato kernel: [45238.053656] pm_op(): usb_dev_freeze+0x0/0x20 [usbcore] returns -16
Dec 21 00:20:59 tomato kernel: [45238.053714] PM: Device 1-2 failed to freeze: error -16
Dec 21 00:20:59 tomato kernel: [45238.055065] sd 0:0:0:0: [sda] Starting disk
Dec 21 00:20:59 tomato kernel: [45238.067109] pm_op(): usb_dev_restore+0x0/0x10 [usbcore] returns -19
Dec 21 00:20:59 tomato kernel: [45238.067169] PM: Device 1-2.1 failed to restore: error -19
Dec 21 00:20:59 tomato kernel: [45238.067189] pm_op(): usb_dev_restore+0x0/0x10 [usbcore] returns -19
Dec 21 00:20:59 tomato kernel: [45238.067235] PM: Device 1-2.2 failed to restore: error -19
Dec 21 00:20:59 tomato kernel: [45238.067263] pm_op(): usb_dev_restore+0x0/0x10 [usbcore] returns -19

Revision history for this message
Mario Limonciello (superm1) wrote : Re: [Inspiron 1720] BCM2045B2 bluetooth adapter causes Ubuntu to fail to suspend/hibernate

removing Dell Ubuntu project as this is not a platform shipping with Ubuntu

Changed in dell:
status: New → Invalid
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Aaron,

Just in case you be willing to test, the latest pre-release of Jaunty 9.04 (currently Alpha4) contains a newer 2.6.28 based kernel - http://cdimage.ubuntu.com/releases/jaunty/ . Unfortunately you can't test hibernate via a LiveCD, you can only test suspend. But please let us know your results if you do happen to update. Thanks.

Changed in linux:
status: New → Incomplete
Revision history for this message
Aaron Kelley (aaronkelley) wrote :

Seems to be fixed in 9.04.

Changed in linux (Ubuntu):
status: Incomplete → Fix Released
Changed in somerville:
status: New → Invalid
no longer affects: dell
Revision history for this message
Timothy R. Chavez (timrchavez) wrote :

The bug task for the somerville project has been removed by an automated script. This bug has been cloned on that project and is available here: https://bugs.launchpad.net/bugs/1305756

no longer affects: somerville
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.