Skip to contentSkip to conversation

2.6.24-rc4: bluetooth device gone after suspend to ram

DISCUSSION Soeren Sonnenburg 3 participants 4 messages Dec 12, 2007

lore
Share & tools
lore
#0 lore raw

Dear all,

I noticed that on my macbook pro1,1 the bluetooth device is gone after suspend to ram, i.e.

/usr/sbin/hciconfig -a

normally lists hci0: Type: USB ...

but after suspend does nothing.

Here it does not help to remove the modules and to reload them. Also the driver reloads without giving any error msg, but still nothing. As others on mactel-users had the same problem (on mac mini/mbp2,2) it may be worth investigating:

relevant dmesg:

Bluetooth: Core ver 2.11
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.9
Bluetooth: L2CAP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.8
Bluetooth: HCI USB driver ver 2.9

Any ideas?
Soeren

#1 lore raw

Am Mittwoch, 12. Dezember 2007 11:31:57 schrieb Soeren Sonnenburg:

Quoted 4 lines

Dear all,

I noticed that on my macbook pro1,1 the bluetooth device is gone after suspend to ram, i.e.

Is this a regression?
Does it work if you unload hci_usb before you suspend? If so, please recompile with CONFIG_USB_DEBUG and provide dmesg.

Regards
Oliver

#2 lore raw

Hi Oliver,

Quoted 7 lines
Quoted 2 lines

I noticed that on my macbook pro1,1 the bluetooth device is gone after suspend to ram, i.e.

Is this a regression?
Does it work if you unload hci_usb before you suspend? If so, please recompile with CONFIG_USB_DEBUG and provide dmesg.

sometimes ACPI is involved and will killswitch the Bluetooth device on suspend. Sometimes the distros to a manual killswitch. And in case of Bluetooth a killswitch means physically removing the power from the device.

In case of a MacBook it can happen that this device goes back into HID mode and thus you need to call hid2hci.

Regards

Marcel

#3 lore raw
Quoted 9 lines · Marcel Holtmann

Hi Oliver,

Quoted 7 lines
Quoted 2 lines

I noticed that on my macbook pro1,1 the bluetooth device is gone after suspend to ram, i.e.

Is this a regression?
Does it work if you unload hci_usb before you suspend? If so, please recompile with CONFIG_USB_DEBUG and provide dmesg.

No it was always like this.

Quoted 7 lines

sometimes ACPI is involved and will killswitch the Bluetooth device on suspend. Sometimes the distros to a manual killswitch. And in case of Bluetooth a killswitch means physically removing the power from the device.

In case of a MacBook it can happen that this device goes back into HID mode and thus you need to call hid2hci.

indeed after calling hid2hci the device is visible again via hciconfig -a

Thanks!!!
Soeren