Re: Can't connect a Xbox one controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2017-11-09 at 15:28 +0100, Bastien Nocera wrote:
> 
<snip>
> Here's the btmon output of a pairing attempt.

And this is a pairing attempt with disable_ertm set to 1.

You will see a gap of about a minute between 2 events:
@ MGMT Event: Device Disconnected (0x000c) plen 8                                                                                                                                        {0x0001} [hci0] 12.103542
        BR/EDR Address: C8:3F:26:80:BA:71 (Microsoft Corporation)
        Reason: Connection terminated by local host (0x02)
> HCI Event: Connect Request (0x04) plen 10                                                                                                                                                   #77 [hci0] 81.172351
        Address: C8:3F:26:80:BA:71 (Microsoft Corporation)
        Class: 0x000508
          Major class: Peripheral (mouse, joystick, keyboards)
          Minor class: 0x02
        Link type: ACL (0x01)

The pad carried on blinking expecting "something". I turned the pad off
by long pressing on the "XBox" button, and turned it on again. I got a
service authentication request:
[CHG] Device C8:3F:26:80:BA:71 Connected: yes
Authorize service
[agent] Authorize service 00001124-0000-1000-8000-00805f9b34fb (yes/no): yes

And it's now connected and working.
btsnoop�;;���3��inux version 4.14.0-0.rc8.git1.1.bt2.fc28.x86_64 (x86_64)!!���3��luetooth subsystem version 2.22�3���Dhci0�3��
�3����D���3��memcheck-amd64-���3��memcheck-amd64-���3��btmonAA��
�3�bluetoothdsrc/device.c:btd_device_set_temporary() temporary 066��
�3�bluetoothdsrc/agent.c:agent_ref() 0x8588ed0: ref=2YY��
�3�bluetoothdsrc/device.c:bonding_request_new() Requesting bonding for C8:3F:26:80:BA:7166��
�3�bluetoothdsrc/agent.c:agent_ref() 0x8588ed0: ref=388��
�3�bluetoothdsrc/agent.c:agent_unref() 0x8588ed0: ref=200��
�3�bluetoothdsrc/adapter.c:suspend_discovery() ff��
�3�bluetoothdsrc/adapter.c:adapter_bonding_attempt() hci0 bdaddr C8:3F:26:80:BA:71 type 0 io_cap 0x04�3�3q��&?��3�q��&?��3�q��&?��3�3q��&?�``��
�3�bluetoothdsrc/adapter.c:add_whitelist_complete() C8:3F:26:80:BA:71 added to kernel whitelist�3�q��&?��3�
q��&?���3��4'V1�&

�4'a�q��&?��4'c+�4'e~�4'��

�4'���>���{��4'���4'�d�4'��


�4'�G
q��&?��4'���4(HB�q��&?�box Wireless Controller22�4(H�q��&?�	Xbox Wireless Controller
22�4(H�q��&?�	Xbox Wireless Controller
22�4(H�q��&?�	Xbox Wireless Controller
�4(H��4(K�cc��
�4(Mbluetoothdsrc/adapter.c:connected_callback() hci0 device C8:3F:26:80:BA:71 connected eir_len 31�4(O�q��&?�		�4(O���&?��4(S�
q��&?��4(W�1q��&?��4(W�	q��&?��4([�
+q��&?��4(v�	q��&?��4,�p3
q��&?Ȅ?		�4-,q��&?��4-
,q��&?�		�42bR6q��&?��43%�q��&?ș��Ū����m�h
A�  �43%�	q��&?����Ū����m�h
A�  �43%�	q��&?����Ū����m�h
A�  �43%�	q��&?����Ū����m�h
A�tt��
�43)bluetoothdsrc/adapter.c:new_link_key_callback() hci0 new key for C8:3F:26:80:BA:71 type 4 pin_len 0 store_hint 1�43)�43)Z�43-//��
�43k�uetoothdsrc/device.c:device_set_bonded() RR��
�43mbluetoothdsrc/device.c:device_bonding_complete() bonding 0x9177360 status 0x00VV��
�43nbluetoothdsrc/device.c:device_bonding_complete() Proceeding with service discovery88��
�43q+bluetoothdsrc/agent.c:agent_unref() 0x8588ed0: ref=1//��
�43rbluetoothdsrc/adapter.c:resume_discovery() �43Z�43�		�43�C�43��q��&?��43��

AA��
�43�bluetoothdsrc/adapter.c:pair_device_complete() Success (0x00)ff��
�43��bluetoothdsrc/adapter.c:bonding_attempt_complete() hci0 bdaddr C8:3F:26:80:BA:71 type 0 status 0x0NN��
�43�*bluetoothdsrc/device.c:device_bonding_complete() bonding (nil) status 0x00//��
�43�Kbluetoothdsrc/adapter.c:resume_discovery() �44RP�44U�!�44U�@�44e��44i!@@�44ik@�44n%!@��44n]
@��44y7�44�
@�44�@5��5
���44��45	����45�!��@{w6�5�	
	5	
	5
5	5	5	5		en	j			55		%	%	%				^		��45�@5��5
���45)-���45-2!��@{w			(		67	
	5$	
	5
5	5	5	5		en	j			55$		
55
5	5	�452Y@5��5
���45@V���45Ej!��@{w%Xbox Bluetooth Gamepad	%Gamepad	%Microsoft Corporation					@	!	(	(	6:67"&2	���45KE@5��5
���45W����45]�!��@{w	�	0	1'���u���	3	4'���u��	2&��u
�%u��	5&��u
�%u��	9%5F;fu��Bu��45c�@5��5
���45����45�!��@{w%5Ee�	)
%u�
�%u��	���	�%�u�%u���	!��	�%u��%u��	p%du��	PfU�46�@5��5
���46�~~�46�!zv@qn&�u��	�&�u��eU	|&�u���	 &�u���55				(		(	
(				�	
(	(�46�@5��5
���46ֆ���46�!��@{w5�5�	
	5	
	5
5	5	5	5		en	j			55		%	%	%				^		��47%�@5��5
���474H�475|!@			(		``��
�47~zbluetoothdsrc/device.c:device_probe_profiles() Probing profiles for device C8:3F:26:80:BA:71cc��
�47��bluetoothdprofiles/input/device.c:input_device_register() /org/bluez/hci0/dev_C8_3F_26_80_BA_71>>��
�47�'bluetoothdsrc/service.c:btd_service_ref() 0x9247600: ref=2����
�47�pbluetoothdsrc/service.c:change_state() 0x9247600: device C8:3F:26:80:BA:71 profile input-hid state changed: unavailable -> disconnected (0)\\��
�47��bluetoothdsrc/device.c:device_svc_resolved() /org/bluez/hci0/dev_C8_3F_26_80_BA_71 err 0�4[V�@@�4[fK�4[�!@@�4{:�4{C�4|�$�4|�vq��&?��4|�vq��&?��4|�vq��&?�^^��
�4|�)bluetoothdsrc/adapter.c:dev_disconnected() Device C8:3F:26:80:BA:71 disconnected, reason 288��
�4|��bluetoothdsrc/adapter.c:adapter_remove_connection() 77��
�4|�,bluetoothdplugins/policy.c:disconnect_cb() reason 2ff��
�4|�Nbluetoothdsrc/adapter.c:bonding_attempt_complete() hci0 bdaddr C8:3F:26:80:BA:71 type 0 status 0xeNN��
�4|�Ibluetoothdsrc/device.c:device_bonding_complete() bonding (nil) status 0x0e<<��
�4|�tbluetoothdsrc/device.c:device_bonding_failed() status 14//��
�4|��bluetoothdsrc/adapter.c:resume_discovery() �8��
q��&?�

�8��9	q��&?��8��
	

�8�h�q��&?��8�;�&

�8���q��&?��8����8����8��

�8�ü�>���{��8���8�Ǿ�8��q��&?��8��q��&?ș��Ū����m�h
A��8��q��&?��8��

�8�e
q��&?��8�{

�8���8�XI�q��&?�box Wireless Controller22�8�Xyq��&?�	Xbox Wireless Controller
22�8�Xyq��&?�	Xbox Wireless Controller
22�8�Xyq��&?�	Xbox Wireless Controller
cc��
�8�[bluetoothdsrc/adapter.c:connected_callback() hci0 device C8:3F:26:80:BA:71 connected eir_len 31�8���8���8��!@�8�ܢ@@�8�ܯ

		�8���8��@@�8���8��@�8��!�8���8���8���8���8���8���!@��8���
@��8�?!
@mm��
�8�\bluetoothdprofiles/input/server.c:connect_event_cb() Incoming connection from C8:3F:26:80:BA:71 on PSM 17VV��
�8��bluetoothdprofiles/input/device.c:input_device_set_channel() idev 0x9249ef0 psm 17�8���8�m�!A�8�n2AA99��
�8�p�bluetoothdprofiles/input/server.c:confirm_event_cb() 66��
�8�tAbluetoothdsrc/agent.c:agent_ref() 0x8588ed0: ref=2����
�8�}�bluetoothdsrc/agent.c:agent_authorize_service() authorize service request was sent for /org/bluez/hci0/dev_C8_3F_26_80_BA_71�8��v66��
�8�bluetoothdsrc/agent.c:agent_ref() 0x8588ed0: ref=3�8�:AA�8�oA88��
�8��bluetoothdsrc/agent.c:agent_unref() 0x8588ed0: ref=288��
�8��bluetoothdsrc/agent.c:agent_unref() 0x8588ed0: ref=1�8�B�8��!A��8��
A��8���8�/!
Amm��
�8��luetoothdprofiles/input/server.c:connect_event_cb() Incoming connection from C8:3F:26:80:BA:71 on PSM 19VV��
�8�^bluetoothdprofiles/input/device.c:input_device_set_channel() idev 0x9249ef0 psm 19�8������
�8��bluetoothdsrc/service.c:change_state() 0x9247600: device C8:3F:26:80:BA:71 profile input-hid state changed: disconnected -> connected (0)>>��
�8��bluetoothdsrc/service.c:btd_service_ref() 0x9247600: ref=3GG��
�8�Gbluetoothdplugins/policy.c:service_cb() Added input-hid reconnect 077��
�8�Ebluetoothdprofiles/input/device.c:encrypt_notify() �8�Q�8�-!A���oy2��8��A���oy2��8���8�!A���:#e!A��

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux