The bluetooth failure to resume after a suspend seems USB related. The failure 
happens 
about 50% of the time, and when it does, disabling bluetooth and restarting 
fixes
it.
On a Lenovo W520, Ubuntu 16.04, 64 bit, kernel 4.4.0-98-generic, Microsoft 
Sculpt
Comfort BT mouse.

Looking at dmesg|tail on the restoring of BT mouse after sleep and restarting
it, a new USB device is created and used.

Return from sleep, BT indicator greyed, BT says OFF, BT mouse is inactive.
>From the indicator, start BT settings, and from the settings, turn off 
>bluetooth,
(indicator disappears), one line is added to dmesg output:

[37331.845034] usb 1-1.4: USB disconnect, device number 10


>From the settings, turn back on the BT active switch (BT indicator appears):

[37353.288616] usb 1-1.4: new full-speed USB device number 11 using ehci-pci
[37353.386069] usb 1-1.4: New USB device found, idVendor=0a5c, idProduct=217f
[37353.386079] usb 1-1.4: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[37353.386084] usb 1-1.4: Product: Broadcom Bluetooth Device
[37353.386089] usb 1-1.4: Manufacturer: Broadcom Corp
[37353.386092] usb 1-1.4: SerialNumber: 60D819B1B675
[37353.578455] [UFW BLOCK] IN=wlp3s0 OUT= 
MAC=01:00:5e:00:00:01:c0:56:27:ce:27:3e:08:00 
        SRC=192.168.1.1 DST=224.0.0.1 LEN=28 TOS=0x00 PREC=0xC0 TTL=1 ID=61239 
PROTO=2 

Note the USB device number 10 was disconnected, but the new USB device is 11.
BT indicator is still greyed, BT switch is off, mouse inactive. Turn on BT in 
the indicator
Indicator becomes white.
Absolutely no change in the dmesg output


Click/move mouse to connect, lock shows on BT indicator

[37414.788430] hid-generic 0005:045E:07A2.0012: unknown main item tag 0x0
[37414.789070] input: Microsoft Sculpt Comfort Mouse as 
/devices/pci0000:00/0000:00:1a.0
  
/usb1/1-1/1-1.4/1-1.4:1.0/bluetooth/hci0/hci0:11/0005:045E:07A2.0012/input/input32
[37414.789676] hid-generic 0005:045E:07A2.0012: input,hidraw2: BLUETOOTH HID 
v1.29 Mouse
  [Microsoft Sculpt Comfort Mouse] on 60:d8:19:b1:b6:75

Note the USB device has incremented to input32  (this has happened many times 
on this running system)

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

Title:
  Bluetooth will be disable after resume from suspend on Xenial

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to