Hello,
I would like to share an experimental result for the 2017 27-inch Retina 5K iMac (iMac18,3) with the Cirrus Logic CS8409 audio codec.
I confirmed stable playback from the built-in speakers with the following environment:
- Hardware: iMac18,3, 27-inch Retina 5K, 2017
- Distribution: Fedora 43
- Kernel: 6.19.12
- Output profile: Analog Stereo
- Audio stack: ALSA / PipeWire
The built-in audio device was detected by Fedora, but the internal speakers initially remained silent.
During the investigation, I found that the speaker path required additional TAS576 boot/reset initialization. I also found that clearing the speaker DACs 0x02 and 0x03 during cleanup caused the working speaker state to be lost.
After adding the initialization and preserving those speaker DAC states during cleanup, built-in speaker playback became stable across repeated playback and stop cycles.
Current status
Working:
- Built-in speaker playback
- Analog Stereo output
- Normal desktop audio
- YouTube playback
- ALSA / PipeWire playback
Known limitations:
- Headphone switching is not working yet
- Built-in and external microphone input are not working yet
- Tested on only one iMac18,3
- Other Fedora releases, kernels, and Mac models are untested
- This does not reproduce Apple’s original acoustic tuning
Patch and documentation
Experimental patch and documentation:
Technical report in Japanese:
Narrative record of the investigation in Japanese:
I also shared this result with the upstream CS8409 project:
This result is still experimental, but I hope it may help other iMac18,3 users.
Testing reports would be welcome. Useful details would include:
- Mac model identifier
- Fedora version
- Kernel version
- Whether the patch builds
- Whether the built-in speakers work
- Headphone and microphone behavior
Thank you.