← Back to team overview

kernel-packages team mailing list archive

[Bug 1295206] [NEW] [Thinkpad X230] bluetoothd 'Can't find device agent', will not pair with phone

 

Public bug reported:

Providing additional information in response to bug 1244764, "[ASUS
U31SD] ubuntu 13.10 bluetooth not working correctly".

Attempting to re-estabilish a bluetooth connection between my phone
(Nexus S) and my Thinkpad X230 laptop.   The devices have been
successfully paired in the past.  The connection is briefly established,
then drops.

Verified that the bluetooth radio is on.  gnome-bluetooth-applet shows
one paired device (Nexus S): Bluethooth is 'ON', Device visibility is
'ON', Connection is 'OFF'.

Steps to reproduce the failure:

1. Resume laptop
2. syslog says that bluetoothd has failed to start: bluetooth-indicator is missing.  Workaround by restarting the bluetooth service with 'sudo service bluetooth restart'.  bluetooth-indicator re-appears.
3. Open Bluetooth Settings on laptop, select 'Nexus S' in Devices list
4. On Nexus S device, go to Settings -> Bluetooth -> Paired Devices, select 'ubuntu-0'.
5. Connection in laptop Bluetooth Settings panel briefly goes 'ON'
6. The following lines appear in syslog (bluetoothd debug logging is enabled) :

BEGIN /var/log/syslog
Mar 20 11:31:44 vulpes rsyslogd-2177: imuxsock lost 125 messages from pid 6070 due to rate-limiting
Mar 20 11:31:44 vulpes bluetoothd[6070]: plugins/mgmtops.c:mgmt_event() cond 1
Mar 20 11:31:44 vulpes bluetoothd[6070]: plugins/mgmtops.c:mgmt_event() Received 33 bytes from management socket
Mar 20 11:31:44 vulpes bluetoothd[6070]: plugins/mgmtops.c:mgmt_device_connected() hci0 device 04:18:0F:46:C8:FB connected eir_len 14
Mar 20 11:31:44 vulpes bluetoothd[6070]: src/adapter.c:adapter_get_device() 04:18:0F:46:C8:FB
Mar 20 11:31:44 vulpes bluetoothd[6070]: audio/media.c:gateway_state_changed() 
Mar 20 11:31:44 vulpes bluetoothd[6070]: audio/media.c:media_endpoint_async_call() Calling SetConfiguration: name = :1.59 path = /MediaEndpoint/HFPHS
Mar 20 11:31:44 vulpes bluetoothd[6070]: Can't find device agent
Mar 20 11:31:44 vulpes bluetoothd[6070]: audio/manager.c:hf_io_cb() Authorization denied: Operation not permitted
Mar 20 11:31:44 vulpes bluetoothd[6070]: audio/media.c:gateway_state_changed() 
Mar 20 11:31:44 vulpes bluetoothd[6070]: audio/media.c:gateway_state_changed() Clear endpoint 0x7fbb43e36ce0
Mar 20 11:31:44 vulpes bluetoothd[6070]: audio/media.c:gateway_state_changed() 
Mar 20 11:31:44 vulpes bluetoothd[6070]: audio/media.c:media_endpoint_async_call() Calling SetConfiguration: name = :1.59 path = /MediaEndpoint/HFPHS
Mar 20 11:31:44 vulpes bluetoothd[6070]: Can't find device agent
Mar 20 11:31:44 vulpes bluetoothd[6070]: audio/manager.c:hf_io_cb() Authorization denied: Operation not permitted
Mar 20 11:31:44 vulpes bluetoothd[6070]: audio/media.c:gateway_state_changed() 
Mar 20 11:31:44 vulpes bluetoothd[6070]: audio/media.c:gateway_state_changed() Clear endpoint 0x7fbb43e36ce0
Mar 20 11:31:45 vulpes bluetoothd[6070]: audio/avdtp.c:avdtp_confirm_cb() AVDTP: incoming connect from 04:18:0F:46:C8:FB
Mar 20 11:31:45 vulpes bluetoothd[6070]: Can't find device agent
Mar 20 11:31:45 vulpes bluetoothd[6070]: audio/avdtp.c:avdtp_unref() 0x7fbb43e38120: ref=0
Mar 20 11:31:45 vulpes bluetoothd[6070]: audio/avdtp.c:avdtp_unref() 0x7fbb43e38120: freeing session and removing from list
Mar 20 11:31:45 vulpes bluetoothd[6070]: audio/avdtp.c:session_cb() 
Mar 20 11:31:48 vulpes bluetoothd[6070]: plugins/mgmtops.c:mgmt_event() cond 1
Mar 20 11:31:48 vulpes bluetoothd[6070]: plugins/mgmtops.c:mgmt_event() Received 14 bytes from management socket
Mar 20 11:31:48 vulpes bluetoothd[6070]: plugins/mgmtops.c:mgmt_device_disconnected() hci0 device 04:18:0F:46:C8:FB disconnected
Mar 20 11:31:48 vulpes bluetoothd[6070]: src/event.c:btd_event_disconn_complete() 
Mar 20 11:31:48 vulpes bluetoothd[6070]: src/adapter.c:adapter_remove_connection() 
END /var/log/syslog

7. Connection in gnome-bluetooth-applet returns to 'OFF'


The bluetooth adaptor is up and running:

$ hciconfig 
hci0:   Type: BR/EDR  Bus: USB
        BD Address: F8:2F:A8:E9:D7:4B  ACL MTU: 1021:8  SCO MTU: 64:1
        UP RUNNING PSCAN ISCAN 
        RX bytes:4325 acl:92 sco:0 events:151 errors:0
        TX bytes:6518 acl:101 sco:0 commands:57 errors:0

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: linux-image-3.11.0-18-generic 3.11.0-18.32
ProcVersionSignature: Ubuntu 3.11.0-18.32-generic 3.11.10.4
Uname: Linux 3.11.0-18-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  mars       2258 F.... pulseaudio
Date: Thu Mar 20 11:33:02 2014
HibernationDevice: RESUME=UUID=fddd22ef-285f-477e-a5fc-d9e9bdf9db1d
InstallationDate: Installed on 2013-09-21 (180 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MachineType: LENOVO 2320HQU
MarkForUpload: True
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.11.0-18-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.11.0-18-generic N/A
 linux-backports-modules-3.11.0-18-generic  N/A
 linux-firmware                             1.116.2
SourcePackage: linux
UpgradeStatus: Upgraded to saucy on 2013-10-18 (153 days ago)
dmi.bios.date: 07/09/2013
dmi.bios.vendor: LENOVO
dmi.bios.version: G2ET95WW (2.55 )
dmi.board.asset.tag: Not Available
dmi.board.name: 2320HQU
dmi.board.vendor: LENOVO
dmi.board.version: 0B98401 Pro
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvrG2ET95WW(2.55):bd07/09/2013:svnLENOVO:pn2320HQU:pvrThinkPadX230:rvnLENOVO:rn2320HQU:rvr0B98401Pro:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 2320HQU
dmi.product.version: ThinkPad X230
dmi.sys.vendor: LENOVO

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug saucy

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

Title:
  [Thinkpad X230] bluetoothd 'Can't find device agent', will not pair
  with phone

Status in “linux” package in Ubuntu:
  New

Bug description:
  Providing additional information in response to bug 1244764, "[ASUS
  U31SD] ubuntu 13.10 bluetooth not working correctly".

  Attempting to re-estabilish a bluetooth connection between my phone
  (Nexus S) and my Thinkpad X230 laptop.   The devices have been
  successfully paired in the past.  The connection is briefly
  established, then drops.

  Verified that the bluetooth radio is on.  gnome-bluetooth-applet shows
  one paired device (Nexus S): Bluethooth is 'ON', Device visibility is
  'ON', Connection is 'OFF'.

  Steps to reproduce the failure:

  1. Resume laptop
  2. syslog says that bluetoothd has failed to start: bluetooth-indicator is missing.  Workaround by restarting the bluetooth service with 'sudo service bluetooth restart'.  bluetooth-indicator re-appears.
  3. Open Bluetooth Settings on laptop, select 'Nexus S' in Devices list
  4. On Nexus S device, go to Settings -> Bluetooth -> Paired Devices, select 'ubuntu-0'.
  5. Connection in laptop Bluetooth Settings panel briefly goes 'ON'
  6. The following lines appear in syslog (bluetoothd debug logging is enabled) :

  BEGIN /var/log/syslog
  Mar 20 11:31:44 vulpes rsyslogd-2177: imuxsock lost 125 messages from pid 6070 due to rate-limiting
  Mar 20 11:31:44 vulpes bluetoothd[6070]: plugins/mgmtops.c:mgmt_event() cond 1
  Mar 20 11:31:44 vulpes bluetoothd[6070]: plugins/mgmtops.c:mgmt_event() Received 33 bytes from management socket
  Mar 20 11:31:44 vulpes bluetoothd[6070]: plugins/mgmtops.c:mgmt_device_connected() hci0 device 04:18:0F:46:C8:FB connected eir_len 14
  Mar 20 11:31:44 vulpes bluetoothd[6070]: src/adapter.c:adapter_get_device() 04:18:0F:46:C8:FB
  Mar 20 11:31:44 vulpes bluetoothd[6070]: audio/media.c:gateway_state_changed() 
  Mar 20 11:31:44 vulpes bluetoothd[6070]: audio/media.c:media_endpoint_async_call() Calling SetConfiguration: name = :1.59 path = /MediaEndpoint/HFPHS
  Mar 20 11:31:44 vulpes bluetoothd[6070]: Can't find device agent
  Mar 20 11:31:44 vulpes bluetoothd[6070]: audio/manager.c:hf_io_cb() Authorization denied: Operation not permitted
  Mar 20 11:31:44 vulpes bluetoothd[6070]: audio/media.c:gateway_state_changed() 
  Mar 20 11:31:44 vulpes bluetoothd[6070]: audio/media.c:gateway_state_changed() Clear endpoint 0x7fbb43e36ce0
  Mar 20 11:31:44 vulpes bluetoothd[6070]: audio/media.c:gateway_state_changed() 
  Mar 20 11:31:44 vulpes bluetoothd[6070]: audio/media.c:media_endpoint_async_call() Calling SetConfiguration: name = :1.59 path = /MediaEndpoint/HFPHS
  Mar 20 11:31:44 vulpes bluetoothd[6070]: Can't find device agent
  Mar 20 11:31:44 vulpes bluetoothd[6070]: audio/manager.c:hf_io_cb() Authorization denied: Operation not permitted
  Mar 20 11:31:44 vulpes bluetoothd[6070]: audio/media.c:gateway_state_changed() 
  Mar 20 11:31:44 vulpes bluetoothd[6070]: audio/media.c:gateway_state_changed() Clear endpoint 0x7fbb43e36ce0
  Mar 20 11:31:45 vulpes bluetoothd[6070]: audio/avdtp.c:avdtp_confirm_cb() AVDTP: incoming connect from 04:18:0F:46:C8:FB
  Mar 20 11:31:45 vulpes bluetoothd[6070]: Can't find device agent
  Mar 20 11:31:45 vulpes bluetoothd[6070]: audio/avdtp.c:avdtp_unref() 0x7fbb43e38120: ref=0
  Mar 20 11:31:45 vulpes bluetoothd[6070]: audio/avdtp.c:avdtp_unref() 0x7fbb43e38120: freeing session and removing from list
  Mar 20 11:31:45 vulpes bluetoothd[6070]: audio/avdtp.c:session_cb() 
  Mar 20 11:31:48 vulpes bluetoothd[6070]: plugins/mgmtops.c:mgmt_event() cond 1
  Mar 20 11:31:48 vulpes bluetoothd[6070]: plugins/mgmtops.c:mgmt_event() Received 14 bytes from management socket
  Mar 20 11:31:48 vulpes bluetoothd[6070]: plugins/mgmtops.c:mgmt_device_disconnected() hci0 device 04:18:0F:46:C8:FB disconnected
  Mar 20 11:31:48 vulpes bluetoothd[6070]: src/event.c:btd_event_disconn_complete() 
  Mar 20 11:31:48 vulpes bluetoothd[6070]: src/adapter.c:adapter_remove_connection() 
  END /var/log/syslog

  7. Connection in gnome-bluetooth-applet returns to 'OFF'


  The bluetooth adaptor is up and running:

  $ hciconfig 
  hci0:   Type: BR/EDR  Bus: USB
          BD Address: F8:2F:A8:E9:D7:4B  ACL MTU: 1021:8  SCO MTU: 64:1
          UP RUNNING PSCAN ISCAN 
          RX bytes:4325 acl:92 sco:0 events:151 errors:0
          TX bytes:6518 acl:101 sco:0 commands:57 errors:0

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: linux-image-3.11.0-18-generic 3.11.0-18.32
  ProcVersionSignature: Ubuntu 3.11.0-18.32-generic 3.11.10.4
  Uname: Linux 3.11.0-18-generic x86_64
  ApportVersion: 2.12.5-0ubuntu2.2
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  mars       2258 F.... pulseaudio
  Date: Thu Mar 20 11:33:02 2014
  HibernationDevice: RESUME=UUID=fddd22ef-285f-477e-a5fc-d9e9bdf9db1d
  InstallationDate: Installed on 2013-09-21 (180 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  MachineType: LENOVO 2320HQU
  MarkForUpload: True
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.11.0-18-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.11.0-18-generic N/A
   linux-backports-modules-3.11.0-18-generic  N/A
   linux-firmware                             1.116.2
  SourcePackage: linux
  UpgradeStatus: Upgraded to saucy on 2013-10-18 (153 days ago)
  dmi.bios.date: 07/09/2013
  dmi.bios.vendor: LENOVO
  dmi.bios.version: G2ET95WW (2.55 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 2320HQU
  dmi.board.vendor: LENOVO
  dmi.board.version: 0B98401 Pro
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: dmi:bvnLENOVO:bvrG2ET95WW(2.55):bd07/09/2013:svnLENOVO:pn2320HQU:pvrThinkPadX230:rvnLENOVO:rn2320HQU:rvr0B98401Pro:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 2320HQU
  dmi.product.version: ThinkPad X230
  dmi.sys.vendor: LENOVO

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


Follow ups

References