linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Connection to phone drops after a few seconds
@ 2018-10-17 19:26 el es
  2018-10-22 12:55 ` Szymon Janc
  0 siblings, 1 reply; 3+ messages in thread
From: el es @ 2018-10-17 19:26 UTC (permalink / raw)
  To: linux-bluetooth

[-- Attachment #1: Type: text/plain, Size: 800 bytes --]

Hi,

I have been trying to connect to a phone with bluetooth to use dial-up
networking.

Pairing is successful, but the connection drops after a few seconds.
No mobile connection shows up on network-manager.

I have attached some output from syslog, and the main error seems to be:

Oct 16 17:37:47 luke-Satellite-L635 kernel: [  121.005940] Bluetooth:
hci0: last event is not cmd complete (0x0f)
Oct 16 17:37:47 luke-Satellite-L635 bluetoothd[809]:
src/adapter.c:dev_disconnected() Device 00:19:2D:04:02:64
disconnected, reason 2

The bluetooth adapter is recorded by lsusb as:
Bus 002 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd
Bluetooth Dongle (HCI mode)

Is there anything else I should do?

I am not sure what other logs I should attach, but I will happily do so if told.

Thank you,

[-- Attachment #2: Bluetooth - bluez error.txt --]
[-- Type: text/plain, Size: 12425 bytes --]

Oct 16 17:37:37 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:device_found_callback() hci0 addr 48:9D:24:76:66:DC, rssi -83 flags 0x0003 eir_len 5
Oct 16 17:37:37 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_create() dst 48:9D:24:76:66:DC
Oct 16 17:37:37 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_new() address 48:9D:24:76:66:DC
Oct 16 17:37:37 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_new() Creating device /org/bluez/hci0/dev_48_9D_24_76_66_DC
Oct 16 17:37:37 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_legacy() legacy 1
Oct 16 17:37:37 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_rssi_with_delta() rssi -83
Oct 16 17:37:37 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_class() /org/bluez/hci0/dev_48_9D_24_76_66_DC 0x7A020C
Oct 16 17:37:37 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:confirm_name() hci0 bdaddr 48:9D:24:76:66:DC name_known 1
Oct 16 17:37:37 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:confirm_name_complete() Confirm name complete for hci0
Oct 16 17:37:38 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:device_found_callback() hci0 addr 00:19:2D:04:02:64, rssi -42 flags 0x0003 eir_len 5
Oct 16 17:37:38 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_legacy() legacy 1
Oct 16 17:37:38 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_rssi_with_delta() rssi -42
Oct 16 17:37:38 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:confirm_name() hci0 bdaddr 00:19:2D:04:02:64 name_known 1
Oct 16 17:37:38 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:confirm_name_complete() Confirm name complete for hci0
Oct 16 17:37:38 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:device_found_callback() hci0 addr 00:19:2D:04:02:64, rssi -39 flags 0x0002 eir_len 5
Oct 16 17:37:38 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_legacy() legacy 1
Oct 16 17:37:38 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:device_found_callback() hci0 addr 00:19:2D:04:02:64, rssi -39 flags 0x0002 eir_len 5
Oct 16 17:37:38 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_legacy() legacy 1
Oct 16 17:37:38 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:device_found_callback() hci0 addr 00:19:2D:04:02:64, rssi -43 flags 0x0002 eir_len 5
Oct 16 17:37:38 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_legacy() legacy 1
Oct 16 17:37:39 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:device_found_callback() hci0 addr 00:19:2D:04:02:64, rssi -43 flags 0x0002 eir_len 5
Oct 16 17:37:39 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_legacy() legacy 1
Oct 16 17:37:39 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:device_found_callback() hci0 addr 00:19:2D:04:02:64, rssi -44 flags 0x0002 eir_len 5
Oct 16 17:37:39 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_legacy() legacy 1
Oct 16 17:37:41 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:device_found_callback() hci0 addr 00:19:2D:04:02:64, rssi -42 flags 0x0002 eir_len 5
Oct 16 17:37:41 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_legacy() legacy 1
Oct 16 17:37:41 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:device_found_callback() hci0 addr 00:19:2D:04:02:64, rssi -43 flags 0x0002 eir_len 5
Oct 16 17:37:41 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_legacy() legacy 1
Oct 16 17:37:41 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:device_found_callback() hci0 addr 00:19:2D:04:02:64, rssi -42 flags 0x0002 eir_len 5
Oct 16 17:37:41 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_legacy() legacy 1
Oct 16 17:37:41 luke-Satellite-L635 bluetoothd[809]: src/device.c:connect_profiles() /org/bluez/hci0/dev_00_19_2D_04_02_64 (all), client :1.60
Oct 16 17:37:41 luke-Satellite-L635 bluetoothd[809]: src/device.c:connect_profiles() Resolving services for /org/bluez/hci0/dev_00_19_2D_04_02_64
Oct 16 17:37:41 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:discovering_callback() hci0 type 1 discovering 0 method 0
Oct 16 17:37:41 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:trigger_start_discovery()
Oct 16 17:37:42 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:connected_callback() hci0 device 00:19:2D:04:02:64 connected eir_len 16
Oct 16 17:37:42 luke-Satellite-L635 bluetoothd[809]: src/device.c:search_cb() 00:19:2D:04:02:64: No service update
Oct 16 17:37:42 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_svc_resolved() /org/bluez/hci0/dev_00_19_2D_04_02_64 err 0
Oct 16 17:37:42 luke-Satellite-L635 bluetoothd[809]: src/device.c:connect_profiles() /org/bluez/hci0/dev_00_19_2D_04_02_64 (all), client :1.60
Oct 16 17:37:47 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:start_discovery_timeout()
Oct 16 17:37:47 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:start_discovery_timeout() adapter->current_discovery_filter == 0
Oct 16 17:37:47 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:start_discovery_complete() status 0x00
Oct 16 17:37:47 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:discovering_callback() hci0 type 1 discovering 1 method 0
Oct 16 17:37:47 luke-Satellite-L635 kernel: [  121.005940] Bluetooth: hci0: last event is not cmd complete (0x0f)
Oct 16 17:37:47 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:dev_disconnected() Device 00:19:2D:04:02:64 disconnected, reason 2
Oct 16 17:37:47 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:adapter_remove_connection()
Oct 16 17:37:47 luke-Satellite-L635 bluetoothd[809]: plugins/policy.c:disconnect_cb() reason 2
Oct 16 17:37:47 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr 00:19:2D:04:02:64 type 0 status 0xe
Oct 16 17:37:47 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_bonding_complete() bonding (nil) status 0x0e
Oct 16 17:37:47 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_bonding_failed() status 14
Oct 16 17:37:47 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:resume_discovery()
Oct 16 17:37:47 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:trigger_start_discovery()
Oct 16 17:37:47 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:device_found_callback() hci0 addr 00:19:2D:04:02:64, rssi -42 flags 0x0003 eir_len 5
Oct 16 17:37:47 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_legacy() legacy 1
Oct 16 17:37:47 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:device_found_callback() hci0 addr 00:19:2D:04:02:64, rssi -43 flags 0x0003 eir_len 5
Oct 16 17:37:47 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_legacy() legacy 1
Oct 16 17:37:47 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:device_found_callback() hci0 addr 00:19:2D:04:02:64, rssi -41 flags 0x0003 eir_len 5
Oct 16 17:37:47 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_legacy() legacy 1
Oct 16 17:37:47 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:device_found_callback() hci0 addr 00:19:2D:04:02:64, rssi -45 flags 0x0003 eir_len 5
Oct 16 17:37:47 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_legacy() legacy 1
Oct 16 17:37:47 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:device_found_callback() hci0 addr 00:19:2D:04:02:64, rssi -43 flags 0x0003 eir_len 5
Oct 16 17:37:47 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_legacy() legacy 1
Oct 16 17:37:47 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:device_found_callback() hci0 addr 48:9D:24:76:66:DC, rssi -85 flags 0x0003 eir_len 5
Oct 16 17:37:47 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_legacy() legacy 1
Oct 16 17:37:48 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:device_found_callback() hci0 addr 00:19:2D:04:02:64, rssi -44 flags 0x0003 eir_len 5
Oct 16 17:37:48 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_legacy() legacy 1
Oct 16 17:37:48 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:device_found_callback() hci0 addr 00:19:2D:04:02:64, rssi -43 flags 0x0003 eir_len 5
Oct 16 17:37:48 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_legacy() legacy 1
Oct 16 17:37:49 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:device_found_callback() hci0 addr 00:19:2D:04:02:64, rssi -41 flags 0x0003 eir_len 5
Oct 16 17:37:49 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_legacy() legacy 1
Oct 16 17:37:49 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:device_found_callback() hci0 addr 00:19:2D:04:02:64, rssi -41 flags 0x0003 eir_len 5
Oct 16 17:37:49 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_legacy() legacy 1
Oct 16 17:37:52 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:start_discovery_timeout()
Oct 16 17:37:52 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:start_discovery_timeout() adapter->current_discovery_filter == 0
Oct 16 17:37:52 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:device_found_callback() hci0 addr 00:19:2D:04:02:64, rssi -41 flags 0x0003 eir_len 5
Oct 16 17:37:52 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_legacy() legacy 1
Oct 16 17:37:52 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:device_found_callback() hci0 addr 00:19:2D:04:02:64, rssi -41 flags 0x0003 eir_len 5
Oct 16 17:37:52 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_legacy() legacy 1
Oct 16 17:37:52 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:device_found_callback() hci0 addr 00:19:2D:04:02:64, rssi -42 flags 0x0003 eir_len 5
Oct 16 17:37:52 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_legacy() legacy 1
Oct 16 17:37:52 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:device_found_callback() hci0 addr 00:19:2D:04:02:64, rssi -41 flags 0x0003 eir_len 5
Oct 16 17:37:52 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_legacy() legacy 1
Oct 16 17:37:53 luke-Satellite-L635 dbus-daemon[1260]: [session uid=1000 pid=1260] Activating via systemd: service name='org.gnome.Terminal' unit='gnome-terminal-server.service' requested by ':1.83' (uid=1000 pid=3103 comm="/usr/bin/gnome-terminal.real " label="unconfined")
Oct 16 17:37:53 luke-Satellite-L635 systemd[1077]: Starting GNOME Terminal Server...
Oct 16 17:37:53 luke-Satellite-L635 dbus-daemon[1260]: [session uid=1000 pid=1260] Successfully activated service 'org.gnome.Terminal'
Oct 16 17:37:53 luke-Satellite-L635 systemd[1077]: Started GNOME Terminal Server.
Oct 16 17:37:55 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:device_found_callback() hci0 addr 00:19:2D:04:02:64, rssi -43 flags 0x0003 eir_len 5
Oct 16 17:37:55 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_legacy() legacy 1
Oct 16 17:37:56 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:device_found_callback() hci0 addr 00:19:2D:04:02:64, rssi -44 flags 0x0003 eir_len 5
Oct 16 17:37:56 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_legacy() legacy 1
Oct 16 17:37:56 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:device_found_callback() hci0 addr 48:9D:24:76:66:DC, rssi -85 flags 0x0003 eir_len 5
Oct 16 17:37:56 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_legacy() legacy 1
Oct 16 17:37:56 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:device_found_callback() hci0 addr 00:19:2D:04:02:64, rssi -43 flags 0x0003 eir_len 5
Oct 16 17:37:56 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_legacy() legacy 1
Oct 16 17:37:56 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:device_found_callback() hci0 addr 00:19:2D:04:02:64, rssi -44 flags 0x0003 eir_len 5
Oct 16 17:37:56 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_legacy() legacy 1
Oct 16 17:37:56 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:device_found_callback() hci0 addr 48:9D:24:76:66:DC, rssi -85 flags 0x0003 eir_len 5
Oct 16 17:37:56 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_legacy() legacy 1
Oct 16 17:37:57 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:device_found_callback() hci0 addr 00:19:2D:04:02:64, rssi -41 flags 0x0003 eir_len 5
Oct 16 17:37:57 luke-Satellite-L635 bluetoothd[809]: src/device.c:device_set_legacy() legacy 1
Oct 16 17:37:57 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:discovering_callback() hci0 type 1 discovering 0 method 0
Oct 16 17:37:57 luke-Satellite-L635 bluetoothd[809]: src/adapter.c:trigger_start_discovery()


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Connection to phone drops after a few seconds
  2018-10-17 19:26 Connection to phone drops after a few seconds el es
@ 2018-10-22 12:55 ` Szymon Janc
  0 siblings, 0 replies; 3+ messages in thread
From: Szymon Janc @ 2018-10-22 12:55 UTC (permalink / raw)
  To: el es; +Cc: linux-bluetooth

Hi,

On Wednesday, 17 October 2018 21:26:57 CEST el es wrote:
> Hi,
> 
> I have been trying to connect to a phone with bluetooth to use dial-up
> networking.
> 
> Pairing is successful, but the connection drops after a few seconds.
> No mobile connection shows up on network-manager.
> 
> I have attached some output from syslog, and the main error seems to be:
> 
> Oct 16 17:37:47 luke-Satellite-L635 kernel: [  121.005940] Bluetooth:
> hci0: last event is not cmd complete (0x0f)
> Oct 16 17:37:47 luke-Satellite-L635 bluetoothd[809]:
> src/adapter.c:dev_disconnected() Device 00:19:2D:04:02:64
> disconnected, reason 2
> 
> The bluetooth adapter is recorded by lsusb as:
> Bus 002 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd
> Bluetooth Dongle (HCI mode)
> 
> Is there anything else I should do?
> 
> I am not sure what other logs I should attach, but I will happily do so if
> told.
> 
> Thank you,

Link is disconnected after few seconds when no profiles are connected.

-- 
pozdrawiam
Szymon Janc



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Connection to phone drops after a few seconds
@ 2018-10-19 21:07 el es
  0 siblings, 0 replies; 3+ messages in thread
From: el es @ 2018-10-19 21:07 UTC (permalink / raw)
  To: linux-bluetooth

[-- Attachment #1: Type: text/plain, Size: 254 bytes --]

I neglected to give some important information, I'm sorry...

Ubuntu  18.04 x86_64
Kernel:  4.15.0.36
Bluez:   5.50 (from ppa)
Desktop:  Budgie (GTK2 based) / Xfce4

Also from btmon -w.

Please let me know if there is anything else I can do.

Thanks,

L

[-- Attachment #2: btmon_w --]
[-- Type: application/octet-stream, Size: 6365 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-10-22 12:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-17 19:26 Connection to phone drops after a few seconds el es
2018-10-22 12:55 ` Szymon Janc
2018-10-19 21:07 el es

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).