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 Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1561474

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

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  CID: 201208-11536 Dell Latitude 6430u

  The Bluetooth will be disabled after resume from suspend.
  You will need to use "hciconfig hci0 reset" to enable it.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-4.4.0-15-generic 4.4.0-15.31
  ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6
  Uname: Linux 4.4.0-15-generic x86_64
  ApportVersion: 2.20-0ubuntu3
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  ubuntu     1202 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Thu Mar 24 19:14:07 2016
  HibernationDevice: RESUME=UUID=25c03762-079c-4c6d-aedb-ec768318a6bf
  InstallationDate: Installed on 2016-03-24 (0 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20151209)
  MachineType: Dell Inc. Latitude 6430U
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic 
root=UUID=18cfda3e-4f3d-40cf-8e7e-a83030819487 ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-4.4.0-15-generic N/A
   linux-backports-modules-4.4.0-15-generic  N/A
   linux-firmware                            1.157
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 11/15/2012
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A02
  dmi.board.asset.tag: 1234567
  dmi.board.name: 0MN74V
  dmi.board.vendor: Dell Inc.
  dmi.board.version: X01
  dmi.chassis.asset.tag: 1234567
  dmi.chassis.type: 9
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA02:bd11/15/2012:svnDellInc.:pnLatitude6430U:pvr01:rvnDellInc.:rn0MN74V:rvrX01:cvnDellInc.:ct9:cvr:
  dmi.product.name: Latitude 6430U
  dmi.product.version: 01
  dmi.sys.vendor: Dell Inc.

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to