Repository navigation
btcentauri: LE pairing fixes for the N1 and the J815 bind - #1529
Merged
DjDeveloperr merged 5 commits intoNov 11, 2026
Merged
Conversation
Unless the native_startup diagnostic is set, the N1 is never given a
BD_ADDR. It then reports 00:00:00:00:00:00 and bluetoothd ignores the
controller ("No Bluetooth address for index 0").
When the device tree provides a valid local-bd-address (the loader fills
it from the ADT for the bluetooth0 alias), send it with WriteBdAddr in
the native startup sequence before the first HCI reset, as
btcentauri_t6050.c does. Without one, nothing changes.
factory_address=0 turns this off.
Tested on J815 (MacBook Air 15-inch, M5) with the other btcentauri
fixes in this series: an LE mouse pairs in about one second, its HID
input works, and it reconnects after being switched off and on and
after s2idle.
Assisted-by: Claude Opus 5.5
Signed-off-by: Nick <[email protected]>
…eports As on T6050, the N1 sets bits above the PHY value in LE Extended Advertising Reports. Unmasked, hci_le_ext_create_conn_sync() matches no PHY, so LE Extended Create Connection goes out with no initiating PHY and LE devices are found but never connect. Set HCI_QUIRK_FIXUP_LE_EXT_ADV_REPORT_PHY, as btcentauri_t6050.c does. fixup_adv_phy=0 turns it off. Tested on J815 (MacBook Air 15-inch, M5) with the other btcentauri fixes in this series: an LE mouse pairs in about one second, its HID input works, and it reconnects after being switched off and on and after s2idle. Assisted-by: Claude Opus 5.5 Signed-off-by: Nick <[email protected]>
The N1 does not reset its duplicate filter when scanning is enabled again. A discovery started 16 s after another one reported 11 of about 78 nearby addresses. The passive scan that hci_sync starts for a pending LE connection only reported addresses the controller had not sent before. A mouse found in discovery therefore never matched pend_le_conns, and no LE Create Connection was sent. Rewrite Filter_Duplicates to 0 in LE Set (Extended) Scan Enable. The host copes with repeated reports. scan_dup_filter=1 restores controller filtering. debugfs status counts the rewrites. Tested on J815 (MacBook Air 15-inch, M5) with the other btcentauri fixes in this series: an LE mouse pairs in about one second, its HID input works, and it reconnects after being switched off and on and after s2idle. Assisted-by: Claude Opus 5.5 Signed-off-by: Nick <[email protected]>
…ctions After pairing finds an LE device, hci_sync puts it on the accept list and scans passively with filter policy 1. With that policy, the N1 sent no advertising report and no other event for 29 s, so LE Extended Create Connection was never sent and the pairing was cancelled. Report an LE accept list size of 0. hci_update_accept_list_sync() then finds no room and scans with filter policy 0, and the host matches pend_le_conns itself, as for a controller whose list is full. accept_list=1 restores the controller's list. debugfs status counts the rewritten replies. Tested on J815 (MacBook Air 15-inch, M5) with the other btcentauri fixes in this series: an LE mouse pairs in about one second, its HID input works, and it reconnects after being switched off and on and after s2idle. Assisted-by: Claude Opus 5.5 Signed-off-by: Nick <[email protected]>
J815 carries the same N1 as J813 (function 2, device 0x1903) behind the same T8142 port, started by the centauri Wi-Fi function. Accept its machine compatible so the HCI side probes there too. Tested on J815: LE HID mouse pairing, reconnect after power cycling the mouse and after s2idle. Assisted-by: Claude Opus 5.5 Signed-off-by: Nick <[email protected]>
DjDeveloperr
approved these changes
Nov 11, 2026
DjDeveloperr
left a comment
Contributor
There was a problem hiding this comment.
Codex (GPT-6.1 Sol), reviewing on @DjDeveloperr’s behalf.
No blocking source findings in the reviewed net change. Reviewed the N1 LE-pairing and J815 binding changes: status/admission and event flow remain scoped to the intended controller path. Concrete owner pairing reports support the bugfix; no broader Bluetooth-feature qualification is inferred.
Hosted contributor workflow approvals were unblocked; source approval does not waive any pending CI/native build or dependency gate. Hardware reports are attributed to their authors, not new tests by this thread. No images/default-loader/hardware changes were performed.
DjDeveloperr
merged commit Nov 11, 2026
b788f8e
into
aurora-silicon:integration/aurora
1 of 2 checks passed
This was referenced Nov 20, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes that take LE pairing on the N1 from "found but never connects" to working, plus the J815 bind:
local-bd-addressvia WriteBdAddr in the native startup (asbtcentauri_t6050.c); without it the controller reports 00:00:00:00:00:00 and bluetoothd ignores it.factory_address=0turns it off.HCI_QUIRK_FIXUP_LE_EXT_ADV_REPORT_PHY, as on T6050).fixup_adv_phy=0turns it off.scan_dup_filter=1restores it.pend_le_connsitself.accept_list=1restores it.Each knob is a module parameter so a regression can be isolated; debugfs
statuscounts the rewrites.Tested on J815: a Logitech LE mouse pairs in about one second, HID input works, and it reconnects after being switched off and on and after s2idle.
Part of the J815 (MacBook Air 15-inch, M5, T8142) bring-up: board results are summarised in discussion #135. Tested on a J815 with a macOS 27.0 stub (firmware 27.0) through aura Stage 2.
Assisted-by: Claude Opus 5.5