Apple, клавиатура a1016, спаривание не работает

Я не могу подключить беспроводную клавиатуру Apple a1016 Apple к ноутбуку Dell XPS, который запускает Ubuntu 17.10.

Я видел эти темы, инструкции от них не помогают в моем случае: Pair Apple Wireless Keyboard 3-й ген с Ubuntu 16.04? и Apple Wireless Keyboard не будет подключаться в 15.10

Я попытался с помощью графического интерфейса системных настроек, где устройство указано как «Не настроено». Я нажимаю на него, а иногда, когда я нажимаю кнопку на клавиатуре Bluetooth, я получаю окно запроса PIN-кода. Я набираю запрошенный PIN-код, затем Enter, но затем ничего не происходит (чаще всего), или окно обновляется, и запрашивается новый PIN-код.

Я также пробовал через терминал (командная строка bluetoothctl), пытался доверять устройство, а затем подключиться / пара, без везения. Ошибка - это ConnectionFailed или AuthenticationTimeout. Пробовал пакет blueman, который, похоже, является графическим интерфейсом для bluetoothctl. Нет!.

То же самое, что и клавиатура с iMac, так что это не проблема с оборудованием. Мысли?

UPD: журналы из bluetoothd & amp; hcidump для различных типов попыток, возможно, это может помочь

UPD

Bluetoothd logs:

Apr 4 09:44:35 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:connect_profiles() /org/bluez/hci0/dev_00_0A_95_3B_3B_4D (all), client :1.138 Apr 4 09:44:35 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:connect_profiles() Resolving services for /org/bluez/hci0/dev_00_0A_95_3B_3B_4D Apr 4 09:44:39 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:pin_code_request_callback() hci0 00:0A:95:3B:3B:4D Apr 4 09:44:39 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:new_auth() Requesting agent authentication for 00:0A:95:3B:3B:4D Apr 4 09:44:39 victor-XPS-13-9360 bluetoothd[8782]: src/agent.c:agent_ref() 0x55cc48f0fbb0: ref=2 Apr 4 09:45:07 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:connect_failed_callback() hci0 00:0A:95:3B:3B:4D status 8 Apr 4 09:45:07 victor-XPS-13-9360 bluetoothd[8782]: plugins/policy.c:conn_fail_cb() status 8 Apr 4 09:45:07 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr 00:0A:95:3B:3B:4D type 0 status 0x8 Apr 4 09:45:07 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:device_bonding_complete() bonding (nil) status 0x08 Apr 4 09:45:07 victor-XPS-13-9360 bluetoothd[8782]: src/agent.c:send_cancel_request() Sending Cancel request to :1.469, /org/bluez/agent Apr 4 09:45:07 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:device_cancel_authentication() Canceling authentication request for 00:0A:95:3B:3B:4D Apr 4 09:45:07 victor-XPS-13-9360 bluetoothd[8782]: src/agent.c:agent_unref() 0x55cc48f0fbb0: ref=1 Apr 4 09:45:07 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:device_bonding_failed() status 8 Apr 4 09:45:07 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:resume_discovery() Apr 4 09:45:07 victor-XPS-13-9360 bluetoothd[8782]: 00:0A:95:3B:3B:4D: error updating services: Function not implemented (38) Apr 4 09:45:07 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:device_svc_resolved() /org/bluez/hci0/dev_00_0A_95_3B_3B_4D err -38

Bluetoothd log:

> HCI Event: Command Status (0x0f) plen 4 Create Connection (0x01|0x0005) status 0x00 ncmd 1 > HCI Event: Connect Complete (0x03) plen 11 status 0x22 handle 6 bdaddr 00:0A:95:3B:3B:4D type ACL encrypt 0x00 Error: LMP Response Timeout

Попытка установить устройство из плагина bluetooth панели KDE:

bluetoothd logs:

Apr 4 09:46:22 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:remove_temp_devices() /org/bluez/hci0 Apr 4 09:46:22 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:device_remove() Removing device /org/bluez/hci0/dev_E4_04_12_F1_3D_BB Apr 4 09:46:22 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:btd_device_unref() Freeing device /org/bluez/hci0/dev_E4_04_12_F1_3D_BB Apr 4 09:46:22 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:device_free() 0x55cc48f36280 Apr 4 09:46:22 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:device_remove() Removing device /org/bluez/hci0/dev_4C_49_E3_C2_E1_A2 Apr 4 09:46:22 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:btd_device_unref() Freeing device /org/bluez/hci0/dev_4C_49_E3_C2_E1_A2 Apr 4 09:46:22 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:device_free() 0x55cc48f37b50 Apr 4 09:46:42 victor-XPS-13-9360 bluetoothd[8782]: src/agent.c:agent_ref() 0x55cc48f1e590: ref=1 Apr 4 09:46:42 victor-XPS-13-9360 bluetoothd[8782]: src/agent.c:register_agent() agent :1.531 Apr 4 09:46:42 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:start_discovery() sender :1.531 Apr 4 09:46:42 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:update_discovery_filter() Apr 4 09:46:42 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:discovery_filter_to_mgmt_cp() Apr 4 09:46:42 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:trigger_start_discovery() Apr 4 09:46:42 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:cancel_passive_scanning() Apr 4 09:46:42 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:start_discovery_timeout() Apr 4 09:46:42 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:start_discovery_timeout() adapter->current_discovery_filter == 0 Apr 4 09:46:43 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:start_discovery_complete() status 0x00 Apr 4 09:46:43 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:discovering_callback() hci0 type 7 discovering 1 method 0 Apr 4 09:46:43 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:device_found_callback() hci0 addr 39:28:52:C3:A3:C8, rssi -68 flags 0x0004 eir_len 31 Apr 4 09:46:43 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:device_found_callback() hci0 addr 5C:49:7D:A2:66:AD, rssi -78 flags 0x0004 eir_len 28 Apr 4 09:46:44 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:device_found_callback() hci0 addr 5C:49:7D:A2:62:C0, rssi -80 flags 0x0000 eir_len 31 Apr 4 09:46:44 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:device_found_callback() hci0 addr 5C:49:7D:A2:66:AD, rssi -79 flags 0x0004 eir_len 28 Apr 4 09:46:44 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:device_found_callback() hci0 addr E4:04:12:F1:3D:BB, rssi -70 flags 0x0000 eir_len 13 Apr 4 09:46:44 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:device_create() dst E4:04:12:F1:3D:BB Apr 4 09:46:44 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:device_new() address E4:04:12:F1:3D:BB Apr 4 09:46:44 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:device_new() Creating device /org/bluez/hci0/dev_E4_04_12_F1_3D_BB Apr 4 09:46:44 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:device_set_legacy() legacy 0 Apr 4 09:46:44 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:device_set_rssi_with_delta() rssi -70 Apr 4 09:46:44 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:device_set_flags() flags 6 Apr 4 09:46:44 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:device_found_callback() hci0 addr 5C:49:7D:A2:62:C0, rssi -79 flags 0x0000 eir_len 31 Apr 4 09:46:44 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:device_found_callback() hci0 addr 39:28:52:C3:A3:C8, rssi -71 flags 0x0004 eir_len 31 Apr 4 09:46:45 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:device_found_callback() hci0 addr 5C:49:7D:A2:66:AD, rssi -78 flags 0x0004 eir_len 28 Apr 4 09:46:45 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:device_found_callback() hci0 addr F4:F5:D8:E5:03:59, rssi -80 flags 0x0004 eir_len 38 Apr 4 09:46:46 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:stop_discovery() sender :1.531 Apr 4 09:46:46 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:stop_discovery_complete() status 0x00 Apr 4 09:46:46 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:trigger_passive_scanning() Apr 4 09:46:46 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:discovery_remove() owner :1.531 Apr 4 09:46:46 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:device_set_rssi_with_delta() rssi 0 Apr 4 09:46:46 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:discovering_callback() hci0 type 7 discovering 0 method 0 Apr 4 09:46:46 victor-XPS-13-9360 bluetoothd[8782]: src/agent.c:agent_ref() 0x55cc48f1e590: ref=2 Apr 4 09:46:46 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:bonding_request_new() Requesting bonding for 00:0A:95:3B:3B:4D Apr 4 09:46:46 victor-XPS-13-9360 bluetoothd[8782]: src/agent.c:agent_ref() 0x55cc48f1e590: ref=3 Apr 4 09:46:46 victor-XPS-13-9360 bluetoothd[8782]: src/agent.c:agent_unref() 0x55cc48f1e590: ref=2 Apr 4 09:46:46 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:suspend_discovery() Apr 4 09:46:46 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:adapter_bonding_attempt() hci0 bdaddr 00:0A:95:3B:3B:4D type 0 io_cap 0x01 Apr 4 09:46:51 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:connect_failed_callback() hci0 00:0A:95:3B:3B:4D status 4 Apr 4 09:46:51 victor-XPS-13-9360 bluetoothd[8782]: plugins/policy.c:conn_fail_cb() status 4 Apr 4 09:46:51 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr 00:0A:95:3B:3B:4D type 0 status 0x4 Apr 4 09:46:51 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:device_bonding_complete() bonding 0x55cc48f13ef0 status 0x04 Apr 4 09:46:51 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:device_bonding_failed() status 4 Apr 4 09:46:51 victor-XPS-13-9360 bluetoothd[8782]: src/agent.c:agent_unref() 0x55cc48f1e590: ref=1 Apr 4 09:46:51 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:resume_discovery() Apr 4 09:46:51 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:pair_device_complete() Connect Failed (0x04) Apr 4 09:46:51 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr 00:0A:95:3B:3B:4D type 0 status 0x4 Apr 4 09:46:51 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:device_bonding_complete() bonding (nil) status 0x04 Apr 4 09:46:51 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:device_bonding_failed() status 4 Apr 4 09:46:51 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:resume_discovery()

bluetoothd log:

> HCI Event: Command Complete (0x0e) plen 4 LE Set Random Address (0x08|0x0005) ncmd 1 status 0x00 > HCI Event: Command Complete (0x0e) plen 4 LE Set Scan Parameters (0x08|0x000b) ncmd 1 status 0x00 > HCI Event: Command Complete (0x0e) plen 4 LE Set Scan Enable (0x08|0x000c) ncmd 1 status 0x00 > HCI Event: Command Complete (0x0e) plen 4 LE Set Scan Enable (0x08|0x000c) ncmd 1 status 0x00 > HCI Event: Command Status (0x0f) plen 4 Create Connection (0x01|0x0005) status 0x00 ncmd 1 > HCI Event: Connect Complete (0x03) plen 11 status 0x04 handle 7 bdaddr 00:0A:95:3B:3B:4D type ACL encrypt 0x00 Error: Page Timeout

Попытка настроить устройство из плагина bluetooth панели KDE:

bluetoothd logs:

Apr 4 09:49:05 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:pair_device_complete() Connect Failed (0x04) Apr 4 09:49:05 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr 00:0A:95:3B:3B:4D type 0 status 0x4 Apr 4 09:49:05 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:device_bonding_complete() bonding (nil) status 0x04 Apr 4 09:49:05 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:device_bonding_failed() status 4 Apr 4 09:49:05 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:resume_discovery() Apr 4 09:49:11 victor-XPS-13-9360 bluetoothd[8782]: src/agent.c:agent_ref() 0x55cc48f0fbb0: ref=2 Apr 4 09:49:11 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:bonding_request_new() Requesting bonding for 00:0A:95:3B:3B:4D Apr 4 09:49:11 victor-XPS-13-9360 bluetoothd[8782]: src/agent.c:agent_ref() 0x55cc48f0fbb0: ref=3 Apr 4 09:49:11 victor-XPS-13-9360 bluetoothd[8782]: src/agent.c:agent_unref() 0x55cc48f0fbb0: ref=2 Apr 4 09:49:11 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:suspend_discovery() Apr 4 09:49:11 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:adapter_bonding_attempt() hci0 bdaddr 00:0A:95:3B:3B:4D type 0 io_cap 0x04 Apr 4 09:49:13 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:pin_code_request_callback() hci0 00:0A:95:3B:3B:4D Apr 4 09:49:13 victor-XPS-13-9360 bluetoothd[8782]: plugins/autopair.c:autopair_pincb() device 'Toetsenbord van duckuyk' (00:0A:95:3B:3B:4D) class: 0x2540 vid/pid: 0x0/0x0 Apr 4 09:49:13 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:new_auth() Requesting agent authentication for 00:0A:95:3B:3B:4D Apr 4 09:49:13 victor-XPS-13-9360 bluetoothd[8782]: src/agent.c:agent_ref() 0x55cc48f0fbb0: ref=3 Apr 4 09:49:13 victor-XPS-13-9360 bluetoothd[8782]: src/agent.c:agent_display_pincode() Calling Agent.DisplayPinCode: name=:1.469, path=/org/bluez/agent, pincode=567546 Apr 4 09:49:13 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:btd_adapter_pincode_reply() hci0 addr 00:0A:95:3B:3B:4D pinlen 6 Apr 4 09:49:13 victor-XPS-13-9360 bluetoothd[8782]: src/agent.c:agent_unref() 0x55cc48f0fbb0: ref=2 Apr 4 09:49:13 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:connect_failed_callback() hci0 00:0A:95:3B:3B:4D status 5 Apr 4 09:49:13 victor-XPS-13-9360 bluetoothd[8782]: plugins/policy.c:conn_fail_cb() status 5 Apr 4 09:49:13 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:device_cancel_authentication() Canceling authentication request for 00:0A:95:3B:3B:4D Apr 4 09:49:13 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr 00:0A:95:3B:3B:4D type 0 status 0x5 Apr 4 09:49:13 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:device_bonding_attempt_retry() scheduling retry Apr 4 09:49:13 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:pair_device_complete() Authentication Failed (0x05) Apr 4 09:49:13 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr 00:0A:95:3B:3B:4D type 0 status 0x5 Apr 4 09:49:16 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:device_bonding_retry() retrying bonding Apr 4 09:49:16 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:adapter_bonding_attempt() hci0 bdaddr 00:0A:95:3B:3B:4D type 0 io_cap 0x04 Apr 4 09:49:22 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:connect_failed_callback() hci0 00:0A:95:3B:3B:4D status 4 Apr 4 09:49:22 victor-XPS-13-9360 bluetoothd[8782]: plugins/policy.c:conn_fail_cb() status 4 Apr 4 09:49:22 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr 00:0A:95:3B:3B:4D type 0 status 0x4 Apr 4 09:49:22 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:device_bonding_complete() bonding 0x55cc48f12f20 status 0x04 Apr 4 09:49:22 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:device_bonding_failed() status 4 Apr 4 09:49:22 victor-XPS-13-9360 bluetoothd[8782]: src/agent.c:agent_unref() 0x55cc48f0fbb0: ref=1 Apr 4 09:49:22 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:resume_discovery() Apr 4 09:49:22 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:pair_device_complete() Connect Failed (0x04) Apr 4 09:49:22 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr 00:0A:95:3B:3B:4D type 0 status 0x4 Apr 4 09:49:22 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:device_bonding_complete() bonding (nil) status 0x04 Apr 4 09:49:22 victor-XPS-13-9360 bluetoothd[8782]: src/device.c:device_bonding_failed() status 4 Apr 4 09:49:22 victor-XPS-13-9360 bluetoothd[8782]: src/adapter.c:resume_discovery()

bluetoothd logs:

> HCI Event: Command Status (0x0f) plen 4 LE Create Connection (0x08|0x000d) status 0x00 ncmd 1 > HCI Event: Command Status (0x0f) plen 4 LE Read Remote Used Features (0x08|0x0016) status 0x00 ncmd 1 > HCI Event: Command Status (0x0f) plen 4 Disconnect (0x01|0x0006) status 0x00 ncmd 1 > HCI Event: Disconn Complete (0x05) plen 4 status 0x00 handle 7 reason 0x16 Reason: Connection Terminated by Local Host > HCI Event: Command Status (0x0f) plen 4 Create Connection (0x01|0x0005) status 0x00 ncmd 1 > HCI Event: Connect Complete (0x03) plen 11 status 0x04 handle 8 bdaddr 00:0A:95:3B:3B:4D type ACL encrypt 0x00 Error: Page Timeout > HCI Event: Command Status (0x0f) plen 4
1
задан 4 April 2018 в 10:58

2 ответа

Я попытался подключить эту конкретную клавиатуру к нескольким ноутбукам Dell XPS с Ubuntu с 16.04 по 18.04, и ни одна из этих попыток не работала с использованием всех видов программного обеспечения: bluetoothctl CLI tool, инструмент Bluetooth bluetooth, настройки Gnome bluetooth GUI, некоторые сторонние GUI (Я даже не помню название ATM).

Не было возможности попробовать с помощью другого оборудования, отказался и купил еще одну клавиатуру.

По-видимому, этот тип клавиатуры не будет подключаться к Dell XPS с ОС Ubuntu.

0
ответ дан 17 July 2018 в 17:47

Я попытался подключить эту конкретную клавиатуру к нескольким ноутбукам Dell XPS с Ubuntu с 16.04 по 18.04, и ни одна из этих попыток не работала с использованием всех видов программного обеспечения: bluetoothctl CLI tool, инструмент Bluetooth bluetooth, настройки Gnome bluetooth GUI, некоторые сторонние GUI (Я даже не помню название ATM).

Не было возможности попробовать с помощью другого оборудования, отказался и купил еще одну клавиатуру.

По-видимому, этот тип клавиатуры не будет подключаться к Dell XPS с ОС Ubuntu.

0
ответ дан 23 July 2018 в 18:39

Другие вопросы по тегам:

Похожие вопросы: