Skip to content

Fix: Paired Bluetooth devices not showing in bluetooth settings#610

Closed
mohammadsyuhada wants to merge 1 commit intoLoveRetro:mainfrom
mohammadsyuhada:paired-bluetooth-device-not-listed
Closed

Fix: Paired Bluetooth devices not showing in bluetooth settings#610
mohammadsyuhada wants to merge 1 commit intoLoveRetro:mainfrom
mohammadsyuhada:paired-bluetooth-device-not-listed

Conversation

@mohammadsyuhada
Copy link
Copy Markdown

No devices shown in the bluetooth menu (Trimui Brick TG5040). But for paired device, it shows the bluetooth icon at the top (that mark a device is connected). Audio is playing via bluetooth device, but it was not listed in the device list.

The problem is the code used bluetoothctl paired-devices which doesn't exist. The correct command is bluetoothctl devices Paired

Changes

  • generic_bt.c: Use correct bluetoothctl devices Paired command
  • generic_bt.c: Handle non-zero exit codes when output is still valid
  • btmenu.cpp: Use MAC address as map key to prevent collisions with duplicate/empty device names

@frysee
Copy link
Copy Markdown
Member

frysee commented Jan 29, 2026

This might break tg5050, I'll have to check.

@frysee
Copy link
Copy Markdown
Member

frysee commented Jan 29, 2026

Closing this in favor of #615. I've pulled in your changes and handled tg5050 gracefully.

@frysee frysee closed this Jan 29, 2026
@mohammadsyuhada mohammadsyuhada deleted the paired-bluetooth-device-not-listed branch January 30, 2026 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants