You are not logged in.
I am unable to connect my smartphone (Samsung Galaxy Ace GT-S5830) to my arch computer.
I tried to connect it through the gnome shell bluetooth interface: gnome-control-center bluetooth and using bluetoothctl with no effect.
I also tried two diferent bluetooth doongles with this chipset:
Bus 006 Device 008: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)This is the bluetoothctl traceback:
$ bluetoothctl -a
[NEW] Controller 00:15:83:0C:BF:EB arch [default]
Agent registered
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# pairable on
Changing pairable on succeeded
[bluetooth]# scan on
Discovery started
[CHG] Controller 00:15:83:0C:BF:EB Discovering: yes
[NEW] Device B0:EC:71:C2:76:17 GT-S5830
[bluetooth]# pair B0:EC:71:C2:76:17
Attempting to pair with B0:EC:71:C2:76:17
[CHG] Device B0:EC:71:C2:76:17 Connected: yes
Request PIN code
[agent] Enter PIN code: 1234
[CHG] Device B0:EC:71:C2:76:17 Modalias: bluetooth:v000Fp0000d0000
[CHG] Device B0:EC:71:C2:76:17 UUIDs:
00001105-0000-1000-8000-00805f9b34fb
00001106-0000-1000-8000-00805f9b34fb
0000110a-0000-1000-8000-00805f9b34fb
0000110c-0000-1000-8000-00805f9b34fb
00001112-0000-1000-8000-00805f9b34fb
0000111f-0000-1000-8000-00805f9b34fb
0000112f-0000-1000-8000-00805f9b34fb
00001200-0000-1000-8000-00805f9b34fb
[CHG] Device B0:EC:71:C2:76:17 Paired: yes
Pairing successful
[CHG] Device B0:EC:71:C2:76:17 Connected: no
Agent unregistered
[DEL] Device B0:EC:71:C2:76:17 GT-S5830
[CHG] Controller 00:15:83:0C:BF:EB Powered: no
[CHG] Controller 00:15:83:0C:BF:EB Discovering: no
[CHG] Controller 00:15:83:0C:BF:EB Class: 0x000000
[DEL] Controller 00:15:83:0C:BF:EB arch [default]
[bluetooth]# This is the out of $ sudo systemctl status bluetooth:
$ sudo systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; disabled)
Active: inactive (dead)
Docs: man:bluetoothd(8)
jun 26 16:31:11 arch bluetoothd[5319]: a2dp-source profile connect failed for B0:EC:71:C2:76:17: Protocol not available
jun 26 16:31:11 arch bluetoothd[5319]: a2dp-source profile connect failed for B0:EC:71:C2:76:17: Protocol not available
jun 26 16:31:12 arch bluetoothd[5319]: a2dp-source profile connect failed for B0:EC:71:C2:76:17: Protocol not available
jun 26 16:31:12 arch bluetoothd[5319]: a2dp-source profile connect failed for B0:EC:71:C2:76:17: Protocol not available
jun 26 16:31:13 arch bluetoothd[5319]: a2dp-source profile connect failed for B0:EC:71:C2:76:17: Protocol not available
jun 26 16:31:13 arch bluetoothd[5319]: a2dp-source profile connect failed for B0:EC:71:C2:76:17: Protocol not available
jun 26 16:31:14 arch bluetoothd[5319]: a2dp-source profile connect failed for B0:EC:71:C2:76:17: Protocol not available
jun 26 16:31:15 arch bluetoothd[5319]: Terminating
jun 26 16:31:15 arch systemd[1]: Stopping Bluetooth service...
jun 26 16:31:15 arch systemd[1]: Stopped Bluetooth service.And this is the out of $ sudo journalctl -n 50
(...)
jun 26 16:30:55 arch systemd[1]: Started Bluetooth service.
jun 26 16:31:09 arch systemd[1]: Starting Arp spoofing detector launcher every minute...
jun 26 16:31:09 arch systemd[1]: Started Arp spoofing detector launcher every minute.
jun 26 16:31:09 arch systemd[1]: Starting Minute Timer Target.
jun 26 16:31:09 arch systemd[1]: Reached target Minute Timer Target.
jun 26 16:31:09 arch systemd[1]: Service timer-minute.target is not needed anymore. Stopping.
jun 26 16:31:09 arch systemd[1]: Stopping Minute Timer Target.
jun 26 16:31:09 arch systemd[1]: Stopped target Minute Timer Target.
jun 26 16:31:11 arch bluetoothd[5319]: a2dp-source profile connect failed for B0:EC:71:C2:76:17: Protocol not available
jun 26 16:31:11 arch bluetoothd[5319]: a2dp-source profile connect failed for B0:EC:71:C2:76:17: Protocol not available
jun 26 16:31:12 arch bluetoothd[5319]: a2dp-source profile connect failed for B0:EC:71:C2:76:17: Protocol not available
jun 26 16:31:12 arch bluetoothd[5319]: a2dp-source profile connect failed for B0:EC:71:C2:76:17: Protocol not available
jun 26 16:31:13 arch bluetoothd[5319]: a2dp-source profile connect failed for B0:EC:71:C2:76:17: Protocol not available
jun 26 16:31:13 arch bluetoothd[5319]: a2dp-source profile connect failed for B0:EC:71:C2:76:17: Protocol not available
jun 26 16:31:14 arch bluetoothd[5319]: a2dp-source profile connect failed for B0:EC:71:C2:76:17: Protocol not available
jun 26 16:31:15 arch bluetoothd[5319]: Terminating
jun 26 16:31:15 arch systemd[1]: Stopping Bluetooth service...
jun 26 16:31:15 arch dbus[315]: [system] Rejected send message, 3 matched rules; type="method_return", sender=":1.62" (uid=1000 pid=2366 comm="/usr/lib/bluetooth/obexd ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.115" (uid=0 pid=5319 comm="/usr/lib/bluetooth/bluetoothd ")
jun 26 16:31:15 arch dbus[315]: [system] Rejected send message, 3 matched rules; type="method_return", sender=":1.62" (uid=1000 pid=2366 comm="/usr/lib/bluetooth/obexd ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.115" (uid=0 pid=5319 comm="/usr/lib/bluetooth/bluetoothd ")
jun 26 16:31:15 arch dbus[315]: [system] Rejected send message, 3 matched rules; type="method_return", sender=":1.62" (uid=1000 pid=2366 comm="/usr/lib/bluetooth/obexd ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.115" (uid=0 pid=5319 comm="/usr/lib/bluetooth/bluetoothd ")
jun 26 16:31:15 arch dbus[315]: [system] Rejected send message, 3 matched rules; type="method_return", sender=":1.62" (uid=1000 pid=2366 comm="/usr/lib/bluetooth/obexd ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.115" (uid=0 pid=5319 comm="/usr/lib/bluetooth/bluetoothd ")
jun 26 16:31:15 arch dbus[315]: [system] Rejected send message, 3 matched rules; type="method_return", sender=":1.62" (uid=1000 pid=2366 comm="/usr/lib/bluetooth/obexd ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.115" (uid=0 pid=5319 comm="/usr/lib/bluetooth/bluetoothd ")
jun 26 16:31:15 arch bluetoothd[5319]: Stopping SDP server
jun 26 16:31:15 arch bluetoothd[5319]: ExitBoth doongles works fine in other computers with other linux distributions.
What is the problem?? Does a2dp-source profile is right for this type of device (smartphone)?
Offline
This is the ouput of the HCI sniffer hcidump:
$ hcidump -i hci0
HCI sniffer - Bluetooth packet analyzer ver 5.19
device: hci0 snap_len: 1500 filter: 0xffffffffffffffff
> HCI Event: Inquiry Complete (0x01) plen 1
status 0x00
> HCI Event: Command Status (0x0f) plen 4
Inquiry (0x01|0x0001) status 0x00 ncmd 1
> HCI Event: Inquiry Result (0x02) plen 15
bdaddr B0:EC:71:C2:76:17 mode 1 clkoffset 0x274f class 0x58020c
> HCI Event: Command Complete (0x0e) plen 4
Inquiry Cancel (0x01|0x0002) 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 0x00 handle 2 bdaddr B0:EC:71:C2:76:17 type ACL encrypt 0x00
> HCI Event: Command Status (0x0f) plen 4
Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 1
> HCI Event: Read Remote Supported Features (0x0b) plen 11
status 0x00 handle 2
Features: 0xbf 0xfe 0x8f 0xfe 0x9b 0xff 0x79 0x87
> HCI Event: Command Status (0x0f) plen 4
Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
> HCI Event: Remote Name Req Complete (0x07) plen 255
status 0x00 bdaddr B0:EC:71:C2:76:17 name 'GT-S5830'
> HCI Event: Command Status (0x0f) plen 4
Authentication Requested (0x01|0x0011) status 0x00 ncmd 1
> HCI Event: Command Complete (0x0e) plen 10
Link Key Request Negative Reply (0x01|0x000c) ncmd 1
status 0x00 bdaddr B0:EC:71:C2:76:17
> HCI Event: Command Complete (0x0e) plen 10
PIN Code Request Reply (0x01|0x000d) ncmd 1
status 0x00 bdaddr B0:EC:71:C2:76:17
> HCI Event: Auth Complete (0x06) plen 3
status 0x00 handle 2
> HCI Event: Command Status (0x0f) plen 4
Disconnect (0x01|0x0006) status 0x00 ncmd 1
> HCI Event: Disconn Complete (0x05) plen 4
status 0x00 handle 2 reason 0x16
Reason: Connection Terminated by Local Host
> HCI Event: Command Complete (0x0e) plen 4
Write Scan Enable (0x03|0x001a) ncmd 1
status 0x00Offline