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 0000
[ 6998.064674] usb usb1-port7: status 0107 change 0000
[ 6998.064677] usb usb1-port8: status 0107 change 0000
[ 6998.064680] usb usb1-port9: status 0107 change 0000
[ 6998.064694] hub 1-0:1.0: state 7 ports 12 chg 0000 evt 0000
[ 6998.064741] hub 1-0:1.0: state 7 ports 12 chg 0000 evt 0000
[ 6998.091617] hub 1-0:1.0: state 7 ports 12 chg 0000 evt 0000
[ 6998.111570] usb 1-8: usb auto-resume
[ 6998.111600] hub 1-0:1.0: state 7 ports 12 chg 0000 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 0000
[ 7006.302973] usb usb1-port7: status 0107 change 0000
[ 7006.302977] usb usb1-port8: status 0107 change 0000
[ 7006.302980] usb usb1-port9: status 0107 change 0000
[ 7006.302994] hub 1-0:1.0: state 7 ports 12 chg 0000 evt 0000
[ 7006.303044] hub 1-0:1.0: state 7 ports 12 chg 0000 evt 0000
[ 7006.351578] usb 1-8: usb auto-resume
[ 7006.351666] hub 1-0:1.0: state 7 ports 12 chg 0000 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 0000
[ 7200.187993] usb usb1-port7: status 0107 change 0000
[ 7200.187996] usb usb1-port8: status 0107 change 0000
[ 7200.188000] usb usb1-port9: status 0107 change 0000
[ 7200.188014] hub 1-0:1.0: state 7 ports 12 chg 0000 evt 0000
[ 7200.188058] hub 1-0:1.0: state 7 ports 12 chg 0000 evt 0000
[ 7200.206254] hub 1-0:1.0: state 7 ports 12 chg 0000 evt 0000
[ 7200.234035] hub 1-0:1.0: state 7 ports 12 chg 0000 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 0000
[ 7200.576914] usb usb1-port7: status 0107 change 0000
[ 7200.576919] usb usb1-port8: status 0107 change 0000
[ 7200.576924] usb usb1-port9: status 0107 change 0000
[ 7200.576941] hub 1-0:1.0: state 7 ports 12 chg 0000 evt 0000
[ 7200.577002] hub 1-0:1.0: state 7 ports 12 chg 0000 evt 0000
[ 7200.622166] usb 1-8: usb auto-resume
[ 7200.622178] hub 1-0:1.0: state 7 ports 12 chg 0000 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] xhci_hcd 0000:00:14.0: shutdown urb ffff9b4e9fb36600 ep1in-intr
[ 7201.706713] Bluetooth: hci0: urb 00000000212d5cc3 failed to resubmit (2)
[ 7201.706731] xhci_hcd 0000:00:14.0: shutdown urb ffff9b4ef5352f00 ep2out-bulk
[ 7201.706782] xhci_hcd 0000:00:14.0: shutdown urb ffff9b4e9fb36900 ep2in-bulk
[ 7201.706785] xhci_hcd 0000:00:14.0: shutdown urb ffff9b4e9fb36b40 ep2in-bulk
[ 7201.706819] Bluetooth: hci0: urb 00000000058923fa failed to resubmit (2)
[ 7201.708078] e1000e: eth0 NIC Link is Down
[ 7201.775273] wlan0: deauthenticating from fc:ec:da:12:a9:cc by local choice 
(Reason: 3=DEAUTH_LEAVING)
[ 7201.804870] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 7202.090909] PM: suspend entry (deep)
[ 7202.090910] PM: Syncing filesystems ... done.
[ 7202.102549] Freezing user space processes ... 
[ 7203.738232] Bluetooth: hci0: command 0xfc09 tx timeout
[ 7211.866165] Bluetooth: hci0: Failed to send firmware data (-110)

-- 
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/1790454

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

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I run cosmic on my Dell Latitude E7470, which has an intel usb
  bluetooth device (8087:0a2b).

  Sometimes (not every time) after a suspend/resume cycle, my laptop's
  bluetooth stops working.  hciconfig shows:

  hci0: Type: Primary  Bus: USB
        BD Address: 00:00:00:00:00:00  ACL MTU: 0:0  SCO MTU: 0:0
        DOWN 
        RX bytes:0 acl:0 sco:0 events:0 errors:0
        TX bytes:3 acl:0 sco:0 commands:1 errors:0

  and dmesg tells me (various combinations of):

  [237660.728312] Bluetooth: hci0: command tx timeout
  [237732.339965] Bluetooth: hci0: command 0xfc05 tx timeout
  [237925.202500] Bluetooth: hci0: Reading Intel version information failed 
(-110)

  
  Trying to reinitialize the device by reloading the driver has no effect:

  ╰─▶ modprobe -r btusb; modprobe -r btintel; modprobe btintel; modprobe
  btusb

  shows in dmesg:

  [237938.219190] usbcore: deregistering interface driver btusb
  [237938.601731] usbcore: registered new interface driver btusb
  [237940.626392] Bluetooth: hci0: Reading Intel version information failed 
(-110)
  [237940.626426] Bluetooth: hci0: command tx timeout

  Strangely enough, reloading the module sometimes does work, upon which the 
kernel tells me :
  aug 20 15:36:08 regan kernel: usbcore: deregistering interface driver btusb
  aug 20 15:36:30 regan kernel: Bluetooth: hci0: Bootloader revision 0.0 build 
2 week 52 2014
  aug 20 15:36:30 regan kernel: usbcore: registered new interface driver btusb
  aug 20 15:36:30 regan kernel: Bluetooth: hci0: Device revision is 5
  aug 20 15:36:30 regan kernel: Bluetooth: hci0: Secure boot is enabled
  aug 20 15:36:30 regan kernel: Bluetooth: hci0: OTP lock is enabled
  aug 20 15:36:30 regan kernel: Bluetooth: hci0: API lock is enabled
  aug 20 15:36:30 regan kernel: Bluetooth: hci0: Debug lock is disabled
  aug 20 15:36:30 regan kernel: Bluetooth: hci0: Minimum firmware build 1 week 
10 2014
  aug 20 15:36:30 regan kernel: Bluetooth: hci0: Found device firmware: 
intel/ibt-11-5.sfi
  aug 20 15:36:31 regan kernel: Bluetooth: hci0: Waiting for firmware download 
to complete
  aug 20 15:36:31 regan kernel: Bluetooth: hci0: Firmware loaded in 1590852 
usecs
  aug 20 15:36:31 regan kernel: Bluetooth: hci0: Waiting for device to boot
  aug 20 15:36:31 regan kernel: Bluetooth: hci0: Device booted in 11654 usecs
  aug 20 15:36:31 regan kernel: Bluetooth: hci0: Found Intel DDC parameters: 
intel/ibt-11-5.ddc
  aug 20 15:36:31 regan kernel: Bluetooth: hci0: Applying Intel DDC parameters 
completed

  
  Looking further back in the kernel log, the difference between failed and 
successful resumes seems to be this:

  Resume with broken bt:
  [236481.370814] Restarting tasks ... 
  [236491.580841] Bluetooth: hci0: Reading Intel boot parameters failed (-110)

  Resume with working bt:
  [16562.706263] Restarting tasks ... 
  [16562.709034] Bluetooth: hci0: Bootloader revision 0.0 build 2 week 52 2014
  [16562.716050] Bluetooth: hci0: Device revision is 5
  [16562.716052] Bluetooth: hci0: Secure boot is enabled
  [16562.716053] Bluetooth: hci0: OTP lock is enabled
  [16562.716054] Bluetooth: hci0: API lock is enabled
  [16562.716055] Bluetooth: hci0: Debug lock is disabled
  [16562.716056] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
  [16562.716404] Bluetooth: hci0: Found device firmware: intel/ibt-11-5.sfi
  [16564.202470] Bluetooth: hci0: Waiting for firmware download to complete
  [16564.203017] Bluetooth: hci0: Firmware loaded in 1459449 usecs
  [16564.203091] Bluetooth: hci0: Waiting for device to boot
  [16564.215021] Bluetooth: hci0: Device booted in 11693 usecs
  [16564.215080] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-11-5.ddc
  [16564.219033] Bluetooth: hci0: Applying Intel DDC parameters completed

  
  and everything works fine after that.


  The first kernel on which this error occurred was 4.17.0-6-generic.  Before 
that, I used 4.15.0-25-generic which works perfectly.
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.10-0ubuntu9
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/pcmC0D0p:   bas        4871 F...m pulseaudio
   /dev/snd/controlC0:  bas        4871 F.... pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 18.10
  HibernationDevice:
   RESUME=UUID=16195e13-9fb3-41b2-9671-fb4e1df1ff93
   #RESUME=/dev/dm-2
   #RESUME=/dev/mapper/regan-swap
  InstallationDate: Installed on 2016-12-22 (619 days ago)
  InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
  MachineType: Dell Inc. Latitude E7470
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.17.0-7-generic 
root=/dev/mapper/hostname-root ro resume=/dev/mapper/hostname-swap nosplash 
acpi_backlight=vendor
  ProcVersionSignature: Ubuntu 4.17.0-7.8-generic 4.17.12
  RelatedPackageVersions:
   linux-restricted-modules-4.17.0-7-generic N/A
   linux-backports-modules-4.17.0-7-generic  N/A
   linux-firmware                            1.174
  Tags:  cosmic
  Uname: Linux 4.17.0-7-generic x86_64
  UnreportableReason: This report is about a package that is not installed.
  UpgradeStatus: Upgraded to cosmic on 2017-09-18 (349 days ago)
  UserGroups: adm cdrom dialout dip docker libvirt lp lpadmin lxd plugdev 
sambashare scanner src sudo tss wireshark
  _MarkForUpload: False
  dmi.bios.date: 12/11/2017
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.18.5
  dmi.board.name: 0T6HHJ
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 9
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.18.5:bd12/11/2017:svnDellInc.:pnLatitudeE7470:pvr:rvnDellInc.:rn0T6HHJ:rvrA00:cvnDellInc.:ct9:cvr:
  dmi.product.family: Latitude
  dmi.product.name: Latitude E7470
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1790454/+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