Airpodsをペアリングすると、Bluezが認証で停止する

Airpodsをペアリングすると、Bluezが認証で停止する

LEDインジケーターが白に変わり、点滅するまでエアポットボタンを押した後

[bluetooth]# pair <mac-address>

返品

Attempting to pair with 18:F1:D8:36:53:FB

ただし、AirPodのLEDが再び緑色に変わるまで、長時間そのままになり、次のエラーが発生します。

Failed to pair: org.bluez.Error.AuthenticationCanceled

これは認証段階で輻輳しているようです。

私のAirPodは他のUbuntuコンピュータとAndroid携帯電話にペアリングできるため、これはこのコンピュータのBluetooth設定に問題があるようです。

出力btmon

> HCI Event: LE Meta Event (0x3e) plen 47                                                                                                                                                    #3020 [hci0] 511.195393
      LE Extended Advertising Report (0x0d)
        Num reports: 1
        Entry 0
          Event type: 0x0010
            Props: 0x0010
              Use legacy advertising PDUs
            Data status: Complete
          Legacy PDU Type: ADV_NONCONN_IND (0x0010)
          Address type: Public (0x00)
          Address: 18:F1:D8:36:53:FB (Apple, Inc.)
          Primary PHY: LE 1M
          Secondary PHY: No packets
          SID: no ADI field (0xff)
          TX power: 0 dBm
          RSSI: -50 dBm (0xce)
          Periodic advertising invteral: 0.00 msec (0x0000)
          Direct address type: Public (0x00)
          Direct address: 00:00:00:00:00:00 (OUI 00-00-00)
          Data length: 0x15
        14 ff 4c 00 07 0f 00 02 20 18 f1 d8 36 53 fb 15  ..L..... ...6S..
        e4 e4 52 01 00                                   ..R..

そして

> HCI Event: LE Meta Event (0x3e) plen 47                                                                                                                                                      #187 [hci0] 14.798946
      LE Extended Advertising Report (0x0d)
        Num reports: 1
        Entry 0
          Event type: 0x0010
            Props: 0x0010
              Use legacy advertising PDUs
            Data status: Complete
          Legacy PDU Type: ADV_NONCONN_IND (0x0010)
          Address type: Public (0x00)
          Address: 18:F1:D8:36:53:FB (Apple, Inc.)
          Primary PHY: LE 1M
          Secondary PHY: No packets
          SID: no ADI field (0xff)
          TX power: 0 dBm
          RSSI: -55 dBm (0xc9)
          Periodic advertising invteral: 0.00 msec (0x0000)
          Direct address type: Public (0x00)
          Direct address: 00:00:00:00:00:00 (OUI 00-00-00)
          Data length: 0x15
        14 ff 4c 00 07 0f 00 02 20 18 f1 d8 36 53 fb 15  ..L..... ...6S..
        64 e1 52 01 00                                   d.R..

最終出力は

= bluetoothd: Pair device timed out for hci0                                                                                                                                                       [hci0] 577.933884
@ MGMT Command: Cancel Pair Device (0x001a) plen 7                                                                                                                                        {0x0001} [hci0] 577.933864
        LE Address: 18:F1:D8:36:53:FB (Apple, Inc.)
@ MGMT Event: Command Complete (0x0001) plen 10                                                                                                                                           {0x0001} [hci0] 577.933875
      Pair Device (0x0019) plen 7
        Status: Cancelled (0x10)
        LE Address: 18:F1:D8:36:53:FB (Apple, Inc.)
@ MGMT Event: Command Complete (0x0001) plen 10                                                                                                                                           {0x0001} [hci0] 577.933886
      Cancel Pair Device (0x001a) plen 7
        Status: Success (0x00)
        LE Address: 18:F1:D8:36:53:FB (Apple, Inc.)

/var/log/syslog出力

bluetoothd[1069]: src/adapter.c:device_found_callback() hci0 addr 18:F1:D8:36:53:FB, rssi -47 flags 0x0004 eir_len 21
bluetoothd[1069]: src/device.c:device_set_legacy() legacy 0
bluetoothd[1069]: src/device.c:device_set_rssi_with_delta() rssi -47 delta 8
bluetoothd[1069]: src/device.c:device_set_flags() flags 0
bluetoothd[1069]: src/agent.c:agent_ref() 0x556fdd8f6a90: ref=2
bluetoothd[1069]: src/device.c:bonding_request_new() Requesting bonding for 18:F1:D8:36:53:FB
bluetoothd[1069]: src/agent.c:agent_ref() 0x556fdd8f6a90: ref=3
bluetoothd[1069]: src/agent.c:agent_unref() 0x556fdd8f6a90: ref=2
bluetoothd[1069]: src/adapter.c:suspend_discovery()
bluetoothd[1069]: src/adapter.c:adapter_bonding_attempt() hci0 bdaddr 18:F1:D8:36:53:FB type 1 io_cap 0x04
bluetoothd[1069]: src/adapter.c:suspend_discovery_complete() status 0x00
bluetoothd[1069]: src/adapter.c:discovering_callback() hci0 type 7 discovering 0 method 0
bluetoothd[1069]: Pair device timed out for hci0

ベストアンサー1

この回答私の問題を解決しました。特に、ControllerMode = bredr設定すべき事項は次のとおりです。/etc/bluetooth/main.conf

おすすめ記事