Repository navigation
arm64: configs: asahi: enable Bluetooth RFCOMM, BNEP and LE - #2665
Conversation
Merged over the ARM64 defconfig, asahi.config builds Bluetooth without RFCOMM, without BNEP and with CONFIG_BT_LE off. The defconfig does not set RFCOMM or BNEP and sets "# CONFIG_BT_LE is not set", and nothing in asahi.config turns them back on. Without RFCOMM, bluetoothd cannot set up HFP/HSP. A headset that offers HFP fails to connect: bluetoothd logs Unable to connect Hands-Free Voice gateway: socket(STREAM, RFCOMM): Protocol not supported (93) and the link drops about two seconds later, so A2DP does not come up either. Without LE, BLE devices and LE pairing are unavailable. Enable RFCOMM (with the TTY layer), BNEP (with its filters) and the LE features. They are all modules or features of the bluetooth module (CONFIG_BT=m), so the kernel image is unchanged. Signed-off-by: Kazuhide Takahashi <[email protected]>
|
Looks good. RFCOMM (HFP/HSP), BNEP and LE are needed for ordinary Bluetooth use, and the help text says why. One note for the description: the shipped Fedora kernel-aurora config and the lab fleet kernels, which start from Fedora's base config, already have all six options set ( Assisted-by: LLM (Claude:Opus 5.5) |
There was a problem hiding this comment.
Reviewed at b8c76132e5cf. 0 code/policy/attribution blockers — holding only for the remaining §5 hardware evidence on the live head.
Checklist Summary (§1–§6)
- Config & CI (
host-testsgreen): All six options (CONFIG_BT_RFCOMM=m,CONFIG_BT_RFCOMM_TTY=y,CONFIG_BT_BNEP=m,CONFIG_BT_BNEP_MC_FILTER=y,CONFIG_BT_BNEP_PROTO_FILTER=y,CONFIG_BT_LE=y) have their Kconfig dependencies satisfied overarch/arm64/configs/defconfig(BT=m,BT_BREDR=y,TTY=y,CRC32), leavevmlinux/Imageunchanged, and aligndefconfig+asahi.configwith what the Fedora/fleet kernel configs already enable. - §1–§4, §6: Clean — shared config fragment with no model gating, no cmdline workarounds, standard upstream Kconfig symbols, human-only commit metadata with
Signed-off-by:.
Remaining §5 Hardware Rows Needed Before Merge
- Live-head verification (
b8c76132e5cfor rebased tip): The reported J715 test ran on0abc2f385e54(380 commits behind this PR's base107047f61826) plus local out-of-tree patches; please record a boot/test row on the live head with regression counts (0 SELinux denials [or N/A if SELinux is disabled on Omarchy], 0 failed units, 0 new kernel errors). - BLE coverage (
CONFIG_BT_LE=y):BLE devices, LE pairing, BNEP/PANis currently marked not tested in the PR table — at least a basic BLE check (e.g., LE scan/discovery or pairing on thedefconfig+asahi.configbuild) alongside the RFCOMM/BNEP check would close the loop on the enabled features.
|
|
There was a problem hiding this comment.
Formal §1–§6 review at b8c76132e5cf6715859de3363369fc05edc6b41e against pre-pr-checklist.md (verified against live integration/aurora 70a00e583b03: not superseded).
0 code, policy, attribution, or CI blockers — converting the earlier hold to REQUEST_CHANGES because the §5 exact-head hardware & BLE verification rows remain unposted.
Blockers
-
§5 (Missing exact-head hardware & regression evidence on
b8c76132e5cf/ current tip):- The J715 test in the PR description was run on
integration/aurora0abc2f385e54(380+ commits behind this PR's base107047f61826) plus local out-of-tree patches, and does not include regression counts. - Please post a boot + Bluetooth RFCOMM/headset test row on a kernel built from the live head / current
integration/auroratip with explicit regression counts (0 SELinux denials [or N/A if SELinux is disabled], 0 failed units, 0 new kernel errors).
- The J715 test in the PR description was run on
-
§5 (Missing BLE coverage for
CONFIG_BT_LE=y):CONFIG_BT_LE=yis enabled by this change, butBLE devices, LE pairing, BNEP/PANis still markednot testedin the PR table. Please include at least a basic BLE check (e.g., LE scan/discovery or LE pairing on thedefconfig+asahi.configbuild) alongside the RFCOMM/headset row.
Checklist Verification
- §1–§3 (Config correctness / scope / safety): Clean. All six options (
CONFIG_BT_RFCOMM=m,CONFIG_BT_RFCOMM_TTY=y,CONFIG_BT_BNEP=m,CONFIG_BT_BNEP_MC_FILTER=y,CONFIG_BT_BNEP_PROTO_FILTER=y,CONFIG_BT_LE=y) have their Kconfig dependencies satisfied overarch/arm64/configs/defconfig, leavevmlinux/Imageunchanged, aligndefconfig+asahi.configwith the Fedora/fleet configs, and apply cleanly across all Macs with no model gating or cmdline hacks. - §4 & §6 (Attribution / clean-room / naming): Clean. Single commit
b8c76132e5cfwith human author/committer (Kazuhide Takahashi <[email protected]>) and humanSigned-off-by:only (zero AI commit trailers). - Live CI:
Host tests(host-tests) is green onb8c76132e5cf.
|
J715 row on a tip build (MacBook Air 15-inch, M4, Mac16,13), OS firmware 26.6.2, stage 1 → aura. Build
Result
Regression counts
HFP microphone
Not covered: LE pairing, BNEP/PAN, a |
|
A correction to the HFP line in my tip row above: the HFP microphone works on the tip kernel. I had written that the microphone audio did not arrive. That came only from the input level indicator, which stayed still during a test recording. That indicator doesn't move on the J715's everyday kernel either, where recording works. So it was no evidence. Re-test. Same tip kernel as the row (
Updated HFP line for the tip row:
The input level indicator not moving is a separate UI matter, seen on both kernels. It is not a capture failure and not related to this PR. There is no HFP issue to open. |
|
Merge readiness at
Areas: none matched in CODEOWNERS Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
DjDeveloperr
left a comment
There was a problem hiding this comment.
Verdict: MERGE at b8c76132e5cf
Blockers: none.
Checked: thank you. No Apple material; three config symbols (RFCOMM, BNEP, LE) enabled in asahi.config. Your J715 tip row has Bluetooth audio, HFP with the microphone working, and tethering. CI green. It changes the default kernel config, so it merges once an Owner agrees; I've asked.
Superseded by the review at b8c7613
|
Thanks for the review. One correction to the summary: when you reviewed, tethering hadn't been tested. BNEP/PAN row (J715 M4 Air, OS firmware 26.6.2):
The driver bug (not this PR). During the downloads,
For this PR: the options do what they should. RFCOMM and BNEP load, and PAN connects and passes traffic. The large-frame drops are the driver's, and they don't depend on these options. So I don't think this PR needs to wait for the driver fix. |
|
Follow-up on the driver bug above. The J715's controller reports an ACL MTU of 2586, so fragments up to 2590 bytes reach a ring that takes 1032. With |
|
|
|
Merged into main. Thank you! It merged on the J616s batch row at this head and Dj's review. |
What:
asahi.configleaves out Bluetooth RFCOMM, BNEP and LE, so headsets can't connect on kernels built fromdefconfig+asahi.config. Enable the six options.Tested: J715 M4 Air with the lines of
b8c76132, onintegration/aurora0abc2f385eand on the tipb10280c04c2d: RFCOMM and BNEP load, the headset connects, A2DP playback and the HFP microphone work, LE scan finds devices.Risk: two-way · every Mac built from
defconfig+asahi.config(Bluetooth modules only;vmlinuxandImageunchanged)Not yet: LE pairing, BNEP/PAN, other Macs.
On a J715 (MacBook Air 15-inch, M4), a Bluetooth headset cannot be used. Pixel Buds A-Series pair, but every connect fails or drops after about 2 s. bluetoothd logs:
The kernel has no RFCOMM. Merging
defconfig+asahi.configonintegration/aurora0abc2f3 gives:This applies to every Mac that is built from this fragment, not only to the J715.
Change
asahi.config:CONFIG_BT_RFCOMM=m,CONFIG_BT_RFCOMM_TTY=y,CONFIG_BT_BNEP=m,CONFIG_BT_BNEP_MC_FILTER=y,CONFIG_BT_BNEP_PROTO_FILTER=y,CONFIG_BT_LE=y.CONFIG_BT_LE_L2CAP_ECREDfollows at its default (y).olddefconfigafter merging overdefconfig.bluetooth.ko(CONFIG_BT=m). The rebuild leftvmlinux,ImageandModule.symversbyte-identical. Onlynet/bluetooth,drivers/bluetoothandrsi_91xchanged.Testing
On a J715 (
apple,j715,apple,t8132; OS firmware 26.6.2, system firmware 27.2; Omarchy),7.3.0-j715-aurora+fromintegration/aurora0abc2f3 plus local J715 bring-up patches (none in Bluetooth), with these options and the Bluetooth modules rebuilt:rfcommandbnepload;RFCOMM TTY/socket layer initialized; noProtocol not supportedfrom bluetoothdl2pingto the headset, 5 of 5Before the change, on the same machine, every connect failed as quoted above. A pairing made on the old kernel also needed re-pairing after a reboot.
Tested on 0abc2f3; the change applies unchanged to the current
integration/auroratip. J715 report: #2663.Scope
The shipped Fedora kernel-aurora config, and the lab fleet kernels built on Fedora's base config, already set all six options. This change fixes kernels built from
defconfig+asahi.config, like the J715 build above, and brings the fragment in line with what Fedora ships.