GalaxyBudsClient icon indicating copy to clipboard operation
GalaxyBudsClient copied to clipboard

[BUG] Unable to connect to Buds+ on Manjaro Linux

Open ratcashdev opened this issue 2 years ago • 2 comments

Describe the bug
App is unable to connect to the earbuds (Buds +)

To Reproduce
earbuds paired with the OS. Start app, click the earbuds in the list to be paired. Click Finish

Expected behavior
Dashboard appears and battery levels are visible Instead, the progress bar keeps spinning in the top right corner, battery levels are not visible.

Desktop (please complete the following information):

  • OS: Linux manjaro 5.14.10-1-MANJARO # 1 SMP PREEMPT Thu Oct 7 06:43:34 UTC 2021 x86_64 GNU/Linux
  • Application version: 4.4.0

Additional context
Using pipewire, latest version, instead of pulseaudio

Log files

[10:48:47 INF] Using settings file at: /home/myuser/.local/share/GalaxyBudsClient/config.json
[10:48:48 INF] SingleInstanceWatcher: Server listening at tcp:host=::1,port=54532
[10:48:49 DBG] BluetoothImpl: Using Linux.BluetoothService
[10:48:49 INF] Translator mode file location: /home/myuser/.local/share/GalaxyBudsClient/custom_language.xaml
[10:48:49 INF] User script directory: /home/myuser/.local/share/GalaxyBudsClient/scripts
[10:48:49 INF] ScriptManager: 0 user script(s) found
[10:48:49 DBG] MainWindow.Instance: Initializing window with default WindowImpl
[10:48:49 WRN] StubDeviceSpec: initialized
[10:48:49 DBG] FirmwareRemoteClient: Searching for firmware binaries...
GalaxyBudsClient Warning: 0 : Attribute 'stroke-dasharray' cannot be set - type 'Svg.SvgPath' cannot convert from string 'null'.
GalaxyBudsClient Warning: 0 : Attribute 'stroke-width' cannot be set - type 'Svg.SvgPath' cannot convert from string 'null'.
[10:48:49 DBG] Linux.BluetoothService: No adapter preselected. Choosing default one.
[10:48:49 DBG] Linux.BluetoothService: Using Bluetooth adapter: hci0
[10:48:49 DBG] Linux.BluetoothService: Connecting... (attempt 1/5)
[10:48:49 DBG] Linux.BluetoothService: Device ready. Registering profile client for UUID 00001101-0000-1000-8000-00805f9b34fb...
[10:48:49 DBG] Linux.BluetoothService: Connecting to profile... (attempt 1/10)
[10:48:50 WRN] Dummy.HotkeyReceiver: Platform not supported
[10:48:50 DBG] Linux.BluetoothService: Using Bluetooth adapter: hci0
[10:48:50 DBG] FirmwareRemoteClient: 0 firmware found.
[10:48:50 DBG] Linux.BluetoothService: Failed: 'Input/output error'.
[10:48:50 DBG] Linux.BluetoothService: Connecting to profile... (attempt 2/10)
[10:48:50 DBG] Linux.BluetoothService: Failed: 'Input/output error'.
[10:48:50 DBG] Linux.BluetoothService: Connecting to profile... (attempt 3/10)
[10:48:50 DBG] Linux.BluetoothService: Failed: 'Input/output error'.
[10:48:50 DBG] Linux.BluetoothService: Connecting to profile... (attempt 4/10)
[10:48:51 DBG] Linux.BluetoothService: Failed: 'Input/output error'.
[10:48:51 DBG] Linux.BluetoothService: Connecting to profile... (attempt 5/10)
[10:48:51 DBG] Linux.BluetoothService: Failed: 'Input/output error'.
[10:48:51 DBG] Linux.BluetoothService: Connecting to profile... (attempt 6/10)
[10:48:51 DBG] Linux.BluetoothService: Failed: 'Input/output error'.
[10:48:51 DBG] Linux.BluetoothService: Connecting to profile... (attempt 7/10)
[10:48:51 DBG] Linux.BluetoothService: Failed: 'Input/output error'.
[10:48:52 DBG] Linux.BluetoothService: Connecting to profile... (attempt 8/10)
[10:48:52 DBG] Linux.BluetoothService: Failed: 'Input/output error'.
[10:48:52 DBG] Linux.BluetoothService: Connecting to profile... (attempt 9/10)
[10:48:52 DBG] Linux.BluetoothService: Failed: 'Input/output error'.
[10:48:52 DBG] Linux.BluetoothService: Connecting to profile... (attempt 10/10)
[10:48:52 DBG] Linux.BluetoothService: Failed: 'Input/output error'.
[10:48:52 ERR] Linux.BluetoothService: Gave up after 10 attempts. Timed out.

ratcashdev avatar Nov 11 '21 09:11 ratcashdev

We need to collect some more information about the earbuds:

  1. Install diagnostic stuff
sudo pacman -S bluez-tools
  1. Run bt-device -a hci0 -l to get all Bluetooth devices and their MAC addresses
  2. Run bt-device -a hci0 -i <insert MAC address here> with the correct MAC and post the output of the command here

timschneeb avatar Nov 13 '21 15:11 timschneeb

> bt-device -a hci0 -l
Added devices:
Galaxy Buds+ (2DE3) (18:4E:16:57:2D:E3)

> bt-device -a hci0 -i "18:4E:16:57:2D:E3"
[18:4E:16:57:2D:E3]
  Name: Galaxy Buds+ (2DE3)
  Alias: Galaxy Buds+ (2DE3) [rw]
  Address: 18:4E:16:57:2D:E3
  Icon: audio-card
  Class: 0x240404
  Paired: 1
  Trusted: 1 [rw]
  Blocked: 0 [rw]
  Connected: 0
  UUIDs: [SerialPort, AudioSink, AVRemoteControlTarget, AdvancedAudioDistribution, AVRemoteControl, Handsfree, PnPInformation, a23d00bc-217c-123b-9c00-fc44577136ee, e7ab2241-ca64-4a69-ac02-05f5c6fe2d62]

ratcashdev avatar Nov 15 '21 18:11 ratcashdev

Same error here, using Ubuntu 22:

$ bt-device -a hci0 -i 40:35:E6:00:22:51
[40:35:E6:00:22:51]
  Name: PEDRO's Buds2 Pro
  Alias: PEDRO's Buds2 Pro [rw]
  Address: 40:35:E6:00:22:51
  Icon: audio-headset
  Class: 0x244404
  Paired: 1
  Trusted: 1 [rw]
  Blocked: 0 [rw]
  Connected: 1
  UUIDs: [SerialPort, AudioSink, AVRemoteControlTarget, AdvancedAudioDistribution, AVRemoteControl, Handsfree, PnPInformation, 2e73a4ad-332d-41fc-90e2-16bef06523f2, a23d00bc-217c-123b-9c00-fc44577136ee, b4a9d6a0-b2e3-4e40-976d-a69f167ea895, e7ab2241-ca64-4a69-ac02-05f5c6fe2d62, f8620674-a1ed-41ab-a8b9-de9ad655729d]

marinipete avatar May 09 '23 13:05 marinipete

The current release should fix this problem. It contains fixes for the BlueZ backend.

timschneeb avatar Feb 10 '24 22:02 timschneeb