Re: 2.6.24-rc4: bluetooth device gone after suspend to ram

From: Soeren Sonnenburg
Date: Wed Dec 12 2007 - 13:23:59 EST


On Wed, 2007-12-12 at 17:08 +0100, Marcel Holtmann wrote:
> Hi Oliver,
>
> > > 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.

> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/