Re: [PATCH] Revert "Bluetooth: btusb: driver to enable the usb-wakeup feature"
From: Michal SuchÃnek
Date: Fri Aug 30 2019 - 05:34:42 EST
On Fri, 30 Aug 2019 09:49:35 +0200
Marcel Holtmann <marcel@xxxxxxxxxxxx> wrote:
> Hi Michal,
> > This reverts commit a0085f2510e8976614ad8f766b209448b385492f.
> > After this commit systems wake up at random, most commonly when
> > - put to sleep while bluetooth audio stream is running
> > - connected bluetooth audio device is powered off while system is
> > asleep
> > This is broken since the commit was merged up to 5.3-rc6.
> > Signed-off-by: Michal Suchanek <msuchanek@xxxxxxx>
> > ---
> > drivers/bluetooth/btusb.c | 5 -----
> > 1 file changed, 5 deletions(-)
> I think that Mario send in the same patch already.
Yes, I found it after this copy was threaded with the previous one on
lore.kernel.org. Anyway, there are multiple reasons why this is broken.
AFAICT the wakeup feature is only workable with OSes that are able to
wakeup into a small gadget that can check if the packet is interesting
and put the system back to sleep if not without going through the whole
online/offline everything sequence.