From c3c610320fc3b67223207d21dfeae02276671018 Mon Sep 17 00:00:00 2001 From: Grier Johnson Date: Fri, 4 Dec 2026 11:43:37 -0700 Subject: [PATCH] ucm2: ipad-pro2: match CS42L83 headphone jack control on I2C bus 2 On the A10X iPad Pro 2 boards (t8011-pro2.dtsi: J120, J121, J207, J208), i2c0 through i2c3 are all enabled and the CS42L83 headphone codec sits on i2c2, so ALSA exposes its jack control as "cs42l83.2-0048-jack Jack" rather than "cs42l83.1-0048-jack Jack". Because the UCM2 JackControl did not match the live control name, PipeWire saw the Headphones port as availability unknown instead of unavailable and defaulted to Headphones (priority 200) over the built-in speakers (priority 100) on boot even with no headphones plugged in, and ignored plug/unplug events. Point JackControl at "cs42l83.2-0048-jack Jack" so PipeWire tracks jack state across all four A10X iPad Pro 2 boards (paired with OrchardLinux/linux#168 for CS42L83 tip-sense detection). Assisted-by: LLM --- CHANGELOG.md | 3 +++ .../defaults/usr/share/alsa/ucm2/Orchard/ipad-pro2/HiFi.conf | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index adfe8afee..bfe41a826 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,9 @@ is missing or empty. ### Devices +- iPad Pro 2 (J120, J121, J207, J208): sound profile matches the headphone jack + control on I2C bus 2 so the desktop defaults to the built-in speakers when + headphones are unplugged and switches automatically on plug/unplug (grierj). - iPhone 8, 8 Plus and X: the GPU starts and runs compute work. Orchard installs its firmware from the iPhone's own IPSW. - iPad mini 2 (Wi-Fi): the accelerometer works. The installed desktop turns diff --git a/system/defaults/usr/share/alsa/ucm2/Orchard/ipad-pro2/HiFi.conf b/system/defaults/usr/share/alsa/ucm2/Orchard/ipad-pro2/HiFi.conf index 6a480660b..d9377da64 100644 --- a/system/defaults/usr/share/alsa/ucm2/Orchard/ipad-pro2/HiFi.conf +++ b/system/defaults/usr/share/alsa/ucm2/Orchard/ipad-pro2/HiFi.conf @@ -19,6 +19,6 @@ SectionDevice."Headphones" { PlaybackPCM "hw:${CardId},0" PlaybackChannels 2 PlaybackMixerElem "Jack Mixer" - JackControl "cs42l83.1-0048-jack Jack" + JackControl "cs42l83.2-0048-jack Jack" } }