Skip to content

Conversation

@kajusnau
Copy link
Collaborator

@kajusnau kajusnau commented Jan 16, 2026

Description of Changes

  • Set default bluetooth adapter name to "Ghaf"
    • When the adapter is enabled and discoverable, other devices will be able to identify our system as "Ghaf" instead of "BlueZ [BlueZ version]"
    • Normally, BlueZ queries hostnamed for the hostname and uses that for the adapter name, but we don't have hostnamed enabled in most VMs, therefore we statically define the adapter name here.
  • Adjusted default BlueZ config:
    • Enabled FastConnectable
    • Enabled JustWorksRepairing
    • Set Privacy to device
    • Reduced the DiscoverableTimeout from 180 to 60s

Type of Change

  • New Feature
  • Bug Fix
  • Improvement / Refactor

Related Issues / Tickets

Checklist

  • Clear summary in PR description
  • Detailed and meaningful commit message(s)
  • Commits are logically organized and squashed if appropriate
  • Contribution guidelines followed
  • Ghaf documentation updated with the commit - https://tiiuae.github.io/ghaf/
  • Author has run make-checks and it passes
  • All automatic GitHub Action checks pass - see actions
  • Author has added reviewers and removed PR draft status

Testing Instructions

Applicable Targets

  • Orin AGX aarch64
  • Orin NX aarch64
  • Lenovo X1 x86_64
  • Dell Latitude x86_64
  • System 76 x86_64

Installation Method

  • Requires full re-installation
  • Can be updated with nixos-rebuild ... switch
  • Other:

Test Steps To Verify:

  1. Verify no regression in general bluetooth functionality:
    • Devices can still connect
    • Bluetooth audio works
  2. Verify Ghaf's bluetooth adapter can be identified as "Ghaf":
    • Open Bluetooth settings -> Bluetooth Adapters
    • Verify the adapter name is set to "Ghaf"

@kajusnau kajusnau requested a review from vunnyso January 16, 2026 09:58
@kajusnau kajusnau self-assigned this Jan 16, 2026
@kajusnau kajusnau added the Needs Testing CI Team to pre-verify label Jan 16, 2026
@milva-unikie
Copy link

Tested on Lenovo-X1 (nixos-rebuild switch) and Darter Pro (new image)

  • Bluetooth speaker and microphone both work
  • Bluetooth adapter is shown as Ghaf
  • Bluetooth is disabled after boot

@milva-unikie milva-unikie added Tested on Lenovo X1 Carbon This PR has been tested on Lenovo X1 Carbon Tested on System76 and removed Needs Testing CI Team to pre-verify labels Jan 16, 2026
@brianmcgillion brianmcgillion merged commit 9020c2e into tiiuae:main Jan 16, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Tested on Lenovo X1 Carbon This PR has been tested on Lenovo X1 Carbon Tested on System76

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants