[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2019-10-15 Thread Kai-Heng Feng
Stan,
Please file a separate bug so logs can be collected.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2019-10-09 Thread Stan Janssen
I am running into exactly the same problem as Bas Zoetekouw. I added the
enable_autosuspend=0 option:

stan@stan-desktop:~$ cat /etc/modprobe.d/btusb.conf 
options btusb enable_autosuspend=0

But I see the following in dmesg after reboot:

[4.026743] btusb: unknown parameter 'enable_autosuspend' ignored

And the problem still occurs.

Do I need to do something else beside adding this line to
/etc/modprobe.d/btusb.conf?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2019-07-24 Thread Brad Figg
** Tags added: cscc

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2019-06-17 Thread Kai-Heng Feng
Please test this patch.

** Patch added: "btusb-no-autosuspend.patch"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+attachment/527/+files/btusb-no-autosuspend.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2019-04-04 Thread Kai-Heng Feng
Emiliano,

That means it's a different issue. Please file a new bug.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2019-04-04 Thread Emiliano
"enable_autosuspend=0" did not fix the issue for me.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2019-01-08 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2019-01-08 Thread Kai-Heng Feng
Bas,

Please test this patch, thanks!

** Patch added: "0001-patch-for-LP-1790454.patch"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+attachment/5227688/+files/0001-patch-for-LP-1790454.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-12-23 Thread Bas Zoetekouw
Yeah, "enable_autosuspend=0" by itself fixes the issue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-12-22 Thread Kai-Heng Feng
DH, I think this can workaround your issue:

[1] https://github.com/endlessm/linux/pull/424

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-12-22 Thread Kai-Heng Feng
Bas,

Does "enable_autosuspend=0" alone fix your issue?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-12-22 Thread Bas Zoetekouw
If the enable_autosuspend option doesn't fix your issue, I think you are
encountering a different bug (with overlapping symptoms).  For clarity,
it might be best to open a separate bug report for your issue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-12-21 Thread DH
I am having a similar issue with Intel 8260. Wifi and BT works correctly
after cold boot. Wifi works correctly after suspend, but BT was showing
no adapters available in KDE plasma widget. dmesg would report "[
150.064149] Bluetooth: hci0: Failed to send firmware data (-38)" after
each resume.

My 8260 was not listed in lsusb, but is listed in lspci.

Fix in #47 did not work for me. However, adding a systemd service to
rmmod and modprobe btusb after each resume seems to have the BT adapter
working correctly now.

uname -a:
Linux uranus 4.18.0-13-generic #14-Ubuntu SMP Wed Dec 5 09:04:24 UTC 2018 
x86_64 x86_64 x86_64 GNU/Linux

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-11-24 Thread Bas Zoetekouw
I'm still planning to run a bisect to find the offending commit, but
havne't found the time yet.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-11-23 Thread Radu Andries
Same issue here.

Adding this to options + cold boot seems to have fixed it.

% cat /etc/modprobe.d/btusb.conf
options btusb enable_autosuspend=0
~ % uname -r
4.18.19-041819-generic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-11-11 Thread Kai-Heng Feng
Yes please.

Or even better, do a full kernel bisection between v4.15 and v4.17 to
make sure btusb.enable_autosuspend introduced the regression.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-11-01 Thread Bas Zoetekouw
I'm happy to report that everything seems stable now.  
I'm now running the following config
 - kernel 4.19.0-041900rc7-generic
 - delay after reset set to 200ms (see #38)
 - unload iwlwifi on suspend/sleep
 - btusb.enable_autosuspend=0

Should I try with a regular kernel and only btusb.enable_autosuspend=0 ?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-10-24 Thread Kai-Heng Feng
My bad, I didn't saw it works on 4.15 but fails since 4.17.

Before doing a kernel bisect, can you try if
"btusb.enable_autosuspend=0" helps?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-10-19 Thread Bas Zoetekouw
Hmm, running the current setup (200ms sleep+iwlwifi unload-on-suspend),
I must say that the bt loading has become more reliable.  It still
doesn't work 100% of the time, but it definitely is working more often
than before (maybe 75% of the time it works ok now).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-10-18 Thread Bas Zoetekouw
Also doesn't seem to make any difference...
Dmesg (attached) shows that iwlwifi is loading after initial btusb 
initialization, but it still fails about 2/3 of the time.

** Attachment added: "dmesg.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+attachment/5202421/+files/dmesg.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-10-16 Thread Kai-Heng Feng
Hmm, can you try removing iwlwifi before suspend, not sure if there's an
internal race happen inside the Intel wireless module.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-10-15 Thread Bas Zoetekouw
I've changed the delay to 200ms, but now I get

[16936.380848] Bluetooth: hci0: Device boot timeout

in addition to the original symptons.

Dmesg is attached.

** Attachment added: "dmesg-200ms.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+attachment/5201246/+files/dmesg-200ms.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-10-15 Thread Bas Zoetekouw
ok, will do

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-10-14 Thread Kai-Heng Feng
I've seen similar things recently, and seems like increase the delay
after reset can alleviate the issue.

Can you try something like 100ms or 200ms instead of (10 + 40)ms in [1]?

[1]
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/usb/core/hub.c#n2889

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-10-12 Thread Bas Zoetekouw
Sorry, bug is still occurring, even with the patch.  Dmesg is attached.

** Attachment added: "dmesg.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+attachment/5200246/+files/dmesg.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-10-11 Thread Bas Zoetekouw
Ok, running a patched kernel now.  Let's see if I can still trigger the
bug.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-10-09 Thread Kai-Heng Feng
Is it possible for you to try this patch?
https://patchwork.kernel.org/patch/10624303/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-10-09 Thread Bas Zoetekouw
Problem still occurs.  Dmesg is attached.

** Attachment added: "dmesg.4.19.0-041900rc7-generic+usbcore.quirks.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+attachment/5199005/+files/dmesg.4.19.0-041900rc7-generic+usbcore.quirks.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-10-08 Thread Bas Zoetekouw
Ah yes, cold boot seems to fix it for now.  I'll need to wait and see if
the bug now occurs during normal operation.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-10-08 Thread Kai-Heng Feng
Hmmm, do you still see this if you cold boot with the quirk?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-10-08 Thread Bas Zoetekouw
** Attachment added: "dmesg-4.19rc7.log"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+attachment/5198639/+files/dmesg-4.19rc7.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-10-08 Thread Bas Zoetekouw
With kernel 4.19rc7 and the kernel parameter as you prescribed, the BT adapter 
won't work at all.  The timeouts that would only occur sporadically after 
resume, are now present from boot, and the previous 
unload-modules/suspend/resume/load-modules cycle no longer works to get BT back 
on.   
Dmesg is attached.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-10-08 Thread Kai-Heng Feng
Ok, please use v4.19-rc6 or rc7, and boot with kernel parameter
"usbcore.quirks=8087:0a2b:k" which disables LPM for the Bluetooth
device, and see if this issue still persists.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-10-08 Thread Bas Zoetekouw
Sure, here it is.

** Attachment added: "dmesg.log"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+attachment/5198582/+files/dmesg.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-10-08 Thread Kai-Heng Feng
Is it possible for you to attach full dmesg? i.e. everything from boot.
I'd like to check if LPM is enabled for this device.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-10-08 Thread Bas Zoetekouw
Hmm, I guess the dmesg above was mispasted.

"modprobe -r btusb" gives


[ 6998.064598] usbcore: deregistering interface driver btusb
[ 6998.064608] usb usb1: usb auto-resume
[ 6998.064639] hub 1-0:1.0: hub_resume
[ 6998.064659] usb usb1-port2: status 0507 change 
[ 6998.064674] usb usb1-port7: status 0107 change 
[ 6998.064677] usb usb1-port8: status 0107 change 
[ 6998.064680] usb usb1-port9: status 0107 change 
[ 6998.064694] hub 1-0:1.0: state 7 ports 12 chg  evt 
[ 6998.064741] hub 1-0:1.0: state 7 ports 12 chg  evt 
[ 6998.091617] hub 1-0:1.0: state 7 ports 12 chg  evt 
[ 6998.111570] usb 1-8: usb auto-resume
[ 6998.111600] hub 1-0:1.0: state 7 ports 12 chg  evt 0100
[ 6998.179602] usb 1-8: Waited 0ms for CONNECT
[ 6998.179603] usb 1-8: finish resume
[ 6998.203699] usb 1-8: usb auto-suspend, wakeup 0
[ 6998.227621] hub 1-0:1.0: hub_suspend
[ 6998.227635] usb usb1: bus auto-suspend, wakeup 1


subsequent "modprobe btusb" gives:

[ 7006.302906] usb usb1: usb auto-resume
[ 7006.302938] hub 1-0:1.0: hub_resume
[ 7006.302959] usb usb1-port2: status 0507 change 
[ 7006.302973] usb usb1-port7: status 0107 change 
[ 7006.302977] usb usb1-port8: status 0107 change 
[ 7006.302980] usb usb1-port9: status 0107 change 
[ 7006.302994] hub 1-0:1.0: state 7 ports 12 chg  evt 
[ 7006.303044] hub 1-0:1.0: state 7 ports 12 chg  evt 
[ 7006.351578] usb 1-8: usb auto-resume
[ 7006.351666] hub 1-0:1.0: state 7 ports 12 chg  evt 0100
[ 7006.423565] usb 1-8: Waited 0ms for CONNECT
[ 7006.423567] usb 1-8: finish resume
[ 7006.423797] btusb 1-8:1.0: usb_probe_interface
[ 7006.423799] btusb 1-8:1.0: usb_probe_interface - got id
[ 7006.424039] usbcore: registered new interface driver btusb
[ 7008.443419] Bluetooth: hci0: command 0xfc05 tx timeout
[ 7008.443427] Bluetooth: hci0: Reading Intel version information failed (-110)
[ 7008.463483] usb 1-8: usb auto-suspend, wakeup 0
[ 7008.483434] hub 1-0:1.0: hub_suspend
[ 7008.483473] usb usb1: bus auto-suspend, wakeup 1
[ 7200.187930] usbcore: deregistering interface driver btusb
[ 7200.187940] usb usb1: usb auto-resume
[ 7200.187963] hub 1-0:1.0: hub_resume
[ 7200.187979] usb usb1-port2: status 0507 change 
[ 7200.187993] usb usb1-port7: status 0107 change 
[ 7200.187996] usb usb1-port8: status 0107 change 
[ 7200.188000] usb usb1-port9: status 0107 change 
[ 7200.188014] hub 1-0:1.0: state 7 ports 12 chg  evt 
[ 7200.188058] hub 1-0:1.0: state 7 ports 12 chg  evt 
[ 7200.206254] hub 1-0:1.0: state 7 ports 12 chg  evt 
[ 7200.234035] hub 1-0:1.0: state 7 ports 12 chg  evt 0100
[ 7200.234040] usb 1-8: usb auto-resume
[ 7200.302166] usb 1-8: Waited 0ms for CONNECT
[ 7200.302168] usb 1-8: finish resume
[ 7200.326073] usb 1-8: usb auto-suspend, wakeup 0
[ 7200.346253] hub 1-0:1.0: hub_suspend
[ 7200.346260] usb usb1: bus auto-suspend, wakeup 1
[ 7200.490109] NET: Unregistered protocol family 31
[ 7200.560277] Bluetooth: Core ver 2.22
[ 7200.560294] NET: Registered protocol family 31
[ 7200.560294] Bluetooth: HCI device and connection manager initialized
[ 7200.560310] Bluetooth: HCI socket layer initialized
[ 7200.560311] Bluetooth: L2CAP socket layer initialized
[ 7200.560317] Bluetooth: SCO socket layer initialized
[ 7200.566144] Bluetooth: RFCOMM TTY layer initialized
[ 7200.566148] Bluetooth: RFCOMM socket layer initialized
[ 7200.566152] Bluetooth: RFCOMM ver 1.11
[ 7200.568718] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 7200.568720] Bluetooth: BNEP filters: protocol multicast
[ 7200.568722] Bluetooth: BNEP socket layer initialized
[ 7200.576847] usb usb1: usb auto-resume
[ 7200.576870] hub 1-0:1.0: hub_resume
[ 7200.576895] usb usb1-port2: status 0507 change 
[ 7200.576914] usb usb1-port7: status 0107 change 
[ 7200.576919] usb usb1-port8: status 0107 change 
[ 7200.576924] usb usb1-port9: status 0107 change 
[ 7200.576941] hub 1-0:1.0: state 7 ports 12 chg  evt 
[ 7200.577002] hub 1-0:1.0: state 7 ports 12 chg  evt 
[ 7200.622166] usb 1-8: usb auto-resume
[ 7200.622178] hub 1-0:1.0: state 7 ports 12 chg  evt 0100
[ 7200.698184] usb 1-8: Waited 0ms for CONNECT
[ 7200.698185] usb 1-8: finish resume
[ 7200.698352] btusb 1-8:1.0: usb_probe_interface
[ 7200.698354] btusb 1-8:1.0: usb_probe_interface - got id
[ 7200.699325] usbcore: registered new interface driver btusb
[ 7200.699472] Bluetooth: hci0: Bootloader revision 0.0 build 2 week 52 2014
[ 7200.706475] Bluetooth: hci0: Device revision is 5
[ 7200.706477] Bluetooth: hci0: Secure boot is enabled
[ 7200.706478] Bluetooth: hci0: OTP lock is enabled
[ 7200.706478] Bluetooth: hci0: API lock is enabled
[ 7200.706479] Bluetooth: hci0: Debug lock is disabled
[ 7200.706480] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[ 7200.706678] Bluetooth: hci0: Found device firmware: intel/ibt-11-5.sfi
[ 7201.706657] usbcore: deregistering interface driver btusb
[ 7201.706701] 

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-10-08 Thread Bas Zoetekouw
The bug triggered again this morning:

> modprobe -r btusb

gives

[ 6998.064598] usbcore: deregistering interface driver btusb
[ 6998.064608] usb usb1: usb auto-resume
[ 6998.064639] hub 1-0:1.0: hub_resume
[ 6998.064659] usb usb1-port2: status 0507 change 
[ 6998.064674] usb usb1-port7: status 0107 change 
[ 6998.064677] usb usb1-port8: status 0107 change 
[ 6998.064680] usb usb1-port9: status 0107 change 
[ 6998.064694] hub 1-0:1.0: state 7 ports 12 chg  evt 
[ 6998.064741] hub 1-0:1.0: state 7 ports 12 chg  evt 
[ 6998.091617] hub 1-0:1.0: state 7 ports 12 chg  evt 
[ 6998.111570] usb 1-8: usb auto-resume
[ 6998.111600] hub 1-0:1.0: state 7 ports 12 chg  evt 0100
[ 6998.179602] usb 1-8: Waited 0ms for CONNECT
[ 6998.179603] usb 1-8: finish resume
[ 6998.203699] usb 1-8: usb auto-suspend, wakeup 0
[ 6998.227621] hub 1-0:1.0: hub_suspend
[ 6998.227635] usb usb1: bus auto-suspend, wakeup 1


subsequent "modprobe btusb":

[ 6998.064598] usbcore: deregistering interface driver btusb
[ 6998.064608] usb usb1: usb auto-resume
[ 6998.064639] hub 1-0:1.0: hub_resume
[ 6998.064659] usb usb1-port2: status 0507 change 
[ 6998.064674] usb usb1-port7: status 0107 change 
[ 6998.064677] usb usb1-port8: status 0107 change 
[ 6998.064680] usb usb1-port9: status 0107 change 
[ 6998.064694] hub 1-0:1.0: state 7 ports 12 chg  evt 
[ 6998.064741] hub 1-0:1.0: state 7 ports 12 chg  evt 
[ 6998.091617] hub 1-0:1.0: state 7 ports 12 chg  evt 
[ 6998.111570] usb 1-8: usb auto-resume
[ 6998.111600] hub 1-0:1.0: state 7 ports 12 chg  evt 0100
[ 6998.179602] usb 1-8: Waited 0ms for CONNECT
[ 6998.179603] usb 1-8: finish resume
[ 6998.203699] usb 1-8: usb auto-suspend, wakeup 0
[ 6998.227621] hub 1-0:1.0: hub_suspend
[ 6998.227635] usb usb1: bus auto-suspend, wakeup 1

I'll attach the complete journal.  Sequence there is as follows:
 - BT is working on oct 7th
 - suspend at oct 7th, 22:44
 - resume oct 8th, 8:33, BT stopped working
 - 08:48:42 modprobe -r btusb
 - 08:48:50 modprobe btusb
 - 08:52:04 ran bt-reset script as referenced in #21 (so, unload bt modules, 
suspend, resume, load bt modules)
 - 08:52:26 BT is working again


** Attachment added: "journal.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+attachment/5198516/+files/journal.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-09-28 Thread Kai-Heng Feng
When the bug is triggered.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-09-28 Thread Bas Zoetekouw
Do you need a dmesg when the bug is triggered, or does a regular boot
log suffice?   It's hard to trigger the bug manually (but it occurs
every couple of days).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-09-28 Thread Kai-Heng Feng
Can you attach full dmesg with `usbcore.dyndbg=+p`?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1790454] Re: Bluetooth (btintel) stops working after suspend/resume

2018-09-28 Thread Bas Zoetekouw
Adding to that, there is a (somewhat) reliable way to get bluetooth back.  It 
involves goign to the following process _twice_: stopping the bluetooth 
service, unloading all relevant modules, suspending the laptop, resuming, 
reloading all modules, starting the bluetooth service.
Rather cumbersome, but it might help other experiencing this issue.

I use the following script for "convenience" (en remeber to run it twice
to get bt back):

#!/bin/bash
if [[ $EUID -ne 0 ]]; then
exec /usr/bin/sudo $0
fi
modules=(btusb btintel btbcm bnep rfcomm bluetooth)
/bin/systemctl stop bluetooth
for (( i=0; i<${#modules[@]}; i++ ))
do
/sbin/modprobe -r "${modules[i]}"
done
/bin/systemctl suspend
for (( i=${#modules[@]}-1; i>=0; i-- ))
do
/sbin/modprobe "${modules[i]}"
done
/bin/systemctl start bluetooth
exit 0

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790454

Title:
  Bluetooth (btintel) stops working after suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs