Repository navigation
j81: run Bluetooth at 3 Mbit/s - #195
Merged
Merged
Conversation
The iPad Air 2's Bluetooth link stayed at 115,200 baud, too slow for A2DP without crackles and for HFP's SCO audio. Set the device tree's max-speed to 3 Mbit/s, the ADT's transport-speed, so hci_bcm switches the UART up after loading the firmware patch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 20, 2026
ricktav
marked this pull request as ready for review
November 22, 2026 15:59
SmartIO on the A8/A8X (AppleA7IOP version 1), MCA version 1 in the S8000 MCA driver, the MAX98721 speaker amplifier driver, the T7001 NCO, the device tree and a UCM profile; both speakers play in stereo. The headphone jack and the microphones are not part of it. Squashed from ricktav's j81/audio (17aa5eb); patch files renumbered to follow main.
From ricktav's j81/bluetooth (988f955).
From ricktav's j81/power (2806bca).
The Lightning charger driver learns the iPad Air 2's D2207 PMIC, so a charging port or an Apple adapter gets up to 1.5 A instead of iBoot's 100 mA. From ricktav's j81/charging (2bbdaa3); patch files renumbered to follow main.
From ricktav's j81/bt-3m (473b742); patch file renumbered to follow main.
…harging Assisted-by: LLM
Patch numbers follow main's, and the changelog, compatibility table and driver catalog are combined with the other J81 changes. ricktav's patches are unchanged.
Contributor
|
Thanks @ricktav, all five J81 PRs are merged (#192, #193, #194, #197, #195): speakers, Bluetooth, sleep, charging and the 3 Mbit/s link. Your patches are unchanged; we only renumbered them after main's and combined the changelog, compatibility table and driver catalog. One request: the charging patches (#197) and the 3 Mbit/s patch (#195) carry no |
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.
Summary
The iPad Air 2's (J81) Bluetooth link ran at 115,200 baud, the controller's starting speed. The device tree set
current-speedbut nomax-speed, sohci_bcmnever switched up, and all Bluetooth traffic went through about 11 KB/s. This setsmax-speed = <3000000>, thetransport-speedof the ADT'suart3/bluetoothnode. One line int7001-air2.dtsi, plus its comment.The UART gets there exactly from its 24 MHz reference: the T8010-style divider picks oversampling 8 and divisor 1.
Testing
iPad Air 2 Wi-Fi (J81, iPad5,3) running an installed Omarchy (#188), with Bose QC45 headphones. For the test I replaced only the installed DTB with one that adds this property (decompiled and diffed against the installed one: that line is the only difference), and booted with
orchard launch.pw-record, and look at the samples.brcm,bt-pcm-int-params = [01 02 00 01 01], routing to the transport). It made no difference: CVSD recorded with and without it, and mSBC stayed silent either way. The controller already routes SCO over HCI, so this PR leaves the property out.kernel/audit-patches.pypasses for j81 and j71b. The patch is exported withtools/kernel-tree/export.pyfrom a branch on OrchardLinux/linuxmain. I compiled the J81 DTB from it, and the Bluetooth node has the new property.Not included
bluetooth_audiostays as it is here; j81: Bluetooth audio and input work #193 sets it toworking.#192 also adds patches in
devices/t7001, so whichever of the two merges later needs its patch renumbered.🤖 Generated with Claude Code