TL;DR : The issue was within my Radius Speaker. [post=8115886]Some devices cannot be paired with multiple operating systems[/post] from the same bluetooth MAC address, which is the case with multi-boot between Windows and Linux... or when the operating system was replaced, which is true in my case.
All in all I only had to remove the paired device and set pairing again, then connect succeeded.
____________
FTR I'm running Gentoo on my laptop without systemd nor pulseaudio. I have a Blutooth Radius speaker, which I'd like to use to stream audio to. Since I don't have pulseaudio I have installed bluez-alsa.
When I try to connect my laptop with Bluetooth to my Radius speaker I get the following error:
Code: Select all
blueman.bluez.errors.DBusFailedError: Resource temporarily unavailable...If I try to connect to the speaker with bluetoothctl (under root account, just to be sure), here's what I have:
Code: Select all
finn ~ # bluetoothctl
[NEW] Controller 24:FD:52:2F:ED:C4 Finn [default]
[NEW] Device FC:58:FA:52:1E:AA Radius Speaker
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# devices
Device FC:58:FA:52:1E:AA Radius Speaker
[bluetooth]# connect FC:58:FA:52:1E:AA
Attempting to connect to FC:58:FA:52:1E:AA
Failed to connect: org.bluez.Error.Failed
[bluetooth]# connect FC:58:FA:52:1E:AA
Attempting to connect to FC:58:FA:52:1E:AA
[CHG] Device FC:58:FA:52:1E:AA Connected: yes
Failed to connect: org.bluez.Error.Failed
[CHG] Device FC:58:FA:52:1E:AA Connected: no
[CHG] Controller 24:FD:52:2F:ED:C4 Discoverable: yes
[CHG] Controller 24:FD:52:2F:ED:C4 DiscoverableTimeout: 0x00003c
[CHG] Device FC:58:FA:52:1E:AA Connected: yes
[CHG] Device FC:58:FA:52:1E:AA Connected: no
[CHG] Controller 24:FD:52:2F:ED:C4 Discoverable: noI don't know what to do, I just know that when I had Arch installed all of this was working so I guess I just overlooked something. I'm not sure whether I should load some firmware, if that's a problem with a kernel module... On the other hand I've successfully paired my laptop with my Android phone and exchanged files both ways so at least the BT stack is working properly, at least for the most part, I guess. Can anyone help me nail down this issue?
For the record, here's an example of what I can see in the logs.
Code: Select all
Sep 9 14:01:53 finn bluetoothd[24347]: Unable to get connect data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
Sep 9 14:01:53 finn bluetoothd[24347]: connect error: Connection refused (111)
Sep 9 14:01:53 finn bluetoothd[24347]: GLib: Source ID 751 was not found when attempting to remove it
Sep 9 14:01:56 finn bluetoothd[24347]: connect error: Connection refused (111)
Sep 9 14:02:10 finn bluetoothd[24347]: Unable to get connect data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
Sep 9 14:02:10 finn bluetoothd[24347]: connect error: Connection refused (111)
Sep 9 14:02:10 finn bluetoothd[24347]: GLib: Source ID 813 was not found when attempting to remove it
Sep 9 14:02:12 finn bluetoothd[24347]: connect error: Too many levels of symbolic links (40)
Sep 9 14:07:24 finn bluetoothd[24347]: Endpoint unregistered: sender=:1.194 path=/MediaEndpoint/A2DP_MPEG24_Source
Sep 9 14:07:24 finn bluetoothd[24347]: Endpoint unregistered: sender=:1.194 path=/MediaEndpoint/A2DPSource
Sep 9 14:07:24 finn bluetoothd[24347]: Endpoint unregistered: sender=:1.194 path=/MediaEndpoint/A2DP_MPEG24_Sink
Sep 9 14:07:24 finn bluetoothd[24347]: Endpoint unregistered: sender=:1.194 path=/MediaEndpoint/A2DPSink
Sep 9 14:07:24 finn bluetoothd[24347]: Terminating
Sep 9 14:07:24 finn bluetoothd[24347]: GLib: Source ID 879 was not found when attempting to remove it
Sep 9 14:07:24 finn bluetoothd[24347]: Stopping SDP server
Sep 9 14:07:24 finn bluetoothd[24347]: ExitCode: Select all
Sep 9 17:49:51 finn bluetoothd[3705]: Can't open input device: No such file or directory (2)
Sep 9 17:49:51 finn bluetoothd[3705]: AVRCP: failed to init uinput for F4:F1:E1:D9:AD:04
Sep 9 17:49:56 finn bluetoothd[3705]: Unable to get io data for Hands-Free unit: getpeername: Transport endpoint is not connected (107)
Sep 9 17:50:01 finn CROND[6668]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons)
Sep 9 17:50:02 finn bluetoothd[3705]: Unable to get io data for Hands-Free unit: getpeername: Transport endpoint is not connected (107)
