14:15:05 here the car infotainment system is discovered during the
device discovery process. The bluez correctly handles the device.

src/adapter.c:device_found_callback() hci0 addr 38:C0:96:BC:D1:10, rssi -52 
flags 0x0003 eir_len 5
src/device.c:device_create() dst 38:C0:96:BC:D1:10
src/device.c:device_new() address 38:C0:96:BC:D1:10
src/device.c:device_new() Creating device /org/bluez/hci0/dev_38_C0_96_BC_D1_10
src/device.c:device_set_legacy() legacy 1
src/device.c:device_set_rssi_with_delta() rssi -52
src/device.c:device_set_class() /org/bluez/hci0/dev_38_C0_96_BC_D1_10 0x340408

14:15:08 there is a pairing request that gets denied. The status 5 means
Status Auth Failed. At the end the bonding is rescheduled for an another
attempt.

src/device.c:bonding_request_new() Requesting bonding for 38:C0:96:BC:D1:10
src/agent.c:agent_ref() 0xb7e242c0: ref=3
src/agent.c:agent_unref() 0xb7e242c0: ref=2
src/adapter.c:suspend_discovery()
src/adapter.c:adapter_bonding_attempt() hci0 bdaddr 38:C0:96:BC:D1:10 type 0 
io_cap 0x04
src/adapter.c:add_whitelist_complete() 38:C0:96:BC:D1:10 added to kernel 
whitelist
src/adapter.c:pin_code_request_callback() hci0 38:C0:96:BC:D1:10
plugins/autopair.c:autopair_pincb() device 38:C0:96:BC:D1:10 0x340408
src/adapter.c:btd_adapter_pincode_reply() hci0 addr 38:C0:96:BC:D1:10 pinlen 4
src/adapter.c:connect_failed_callback() hci0 38:C0:96:BC:D1:10 status 5
plugins/policy.c:conn_fail_cb() status 5
src/adapter.c:bonding_attempt_complete() hci0 bdaddr 38:C0:96:BC:D1:10 type 0 
status 0x5
src/device.c:device_bonding_attempt_retry() scheduling retry
src/adapter.c:pair_device_complete() Authentication Failed (0x05)
src/adapter.c:bonding_attempt_complete() hci0 bdaddr 38:C0:96:BC:D1:10 type 0 
status 0x5

14:15:12 the 2nd pairing attempt is made. Consequently this attempts
fails too however this time with Status Rejected code. (status 11 means
Status Rejected`). It is important to note that this happens immediately
w/o any waiting time in between (timeout).

src/device.c:device_bonding_retry() retrying bonding
src/adapter.c:adapter_bonding_attempt() hci0 bdaddr 38:C0:96:BC:D1:10 type 0 
io_cap 0x04
src/adapter.c:connect_failed_callback() hci0 38:C0:96:BC:D1:10 status 11
plugins/policy.c:conn_fail_cb() status 11
src/adapter.c:bonding_attempt_complete() hci0 bdaddr 38:C0:96:BC:D1:10 type 0 
status 0xb
src/device.c:device_bonding_complete() bonding 0xb7e24170 status 0x0b
src/device.c:device_bonding_failed() status 11
src/agent.c:agent_unref() 0xb7e242c0: ref=1
src/adapter.c:resume_discovery()
src/adapter.c:pair_device_complete() Rejected (0x0b)
src/adapter.c:bonding_attempt_complete() hci0 bdaddr 38:C0:96:BC:D1:10 type 0 
status 0xb
src/device.c:device_bonding_complete() bonding (nil) status 0x0b
src/device.c:device_bonding_failed() status 11

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/1552410

Title:
  Cannot pair mako with 2014 Subaru Forester

Status in Canonical System Image:
  Confirmed
Status in bluez package in Ubuntu:
  Confirmed

Bug description:
  Since the bluez5 transition my mako has not been able to pair with the
  radio in my 2014 Subaru Forester. When the radio is put into pairing
  mode the phone sees the CAR_M_MEDIA device, but when I click "connect"
  the radio immediately shows "failed" and no PIN prompt is shown on the
  phone. Additionally, the entry in system-settings for the car stereo
  is left in a limbo state with the "forget" button inactive. The only
  way to remove the entry is to use bluetoothctl from the command line.

  Here's what the phone is currently running:
  current build number: 252
  device name: mako
  channel: ubuntu-touch/rc-proposed/bq-aquaris.en
  last update: 2016-03-02 00:31:33
  version version: 252
  version ubuntu: 20160302
  version device: 20160112
  version custom: 20160201-5-vivid

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1552410/+subscriptions

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

Reply via email to