I am new to Linux and am trying to start using Linux on my 2017 iMac Pro that has an Intel Xeon W chip. I was able to successfully install Ubuntu 22.04.4 and dual-boot, however, it does not look like my sound card is being recognized. For output I'm only seeing Dummy Output, and no input options. I have tried plugging in my headphones, but those aren't recognized either. I have tried a bunch of recommendations out there while perusing Google but have had no luck. If it helps, I have run this command and here is the output:
sudo lspci -vv | grep -i audio
ubuntu@who-iMacPro:~$ sudo lspci -vv | grep -i audio02:00.3 Multimedia audio controller: Apple Inc. Apple Audio Device (rev 01)Subsystem: Apple Inc. Apple Audio Devicef3:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 HDMI Audio [Radeon Vega 56/64]Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 HDMI Audio [Radeon Vega 56/64]
Alsamixer is also only currently seeing Vega 10 HDMI Audio.
EDIT:Thank you for the response guiverc, I'll make sure to add more details in the future. I am using the desktop version and here is the output you requested:
ubuntu@who-iMacPro:~$ sudo lshw -C sound*-multimedia UNCLAIMED description: Multimedia audio controller product: Apple Audio Device vendor: Apple Inc. physical id: 0.3 bus info: pci@0000:02:00.3 version: 01 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list configuration: latency=0 resources: memory:7f800000-7fbfffff memory:7fd80000-7fdfffff memory:7fe30000-7fe3ffff*-multimedia description: Audio device product: Vega 10 HDMI Audio [Radeon Vega 56/64] vendor: Advanced Micro Devices, Inc. [AMD/ATI] physical id: 0.1 bus info: pci@0000:f3:00.1 logical name: card0 logical name: /dev/snd/controlC0 logical name: /dev/snd/hwC0D0 logical name: /dev/snd/pcmC0D10p logical name: /dev/snd/pcmC0D11p logical name: /dev/snd/pcmC0D3p logical name: /dev/snd/pcmC0D7p logical name: /dev/snd/pcmC0D8p logical name: /dev/snd/pcmC0D9p version: 00 width: 32 bits clock: 33MHz capabilities: pm pciexpress msi bus_master cap_list configuration: driver=snd_hda_intel latency=0 resources: irq:98 memory:f02a0000-f02a3fff
EDIT2: Adding output for the command Archisman Panigrahi's recommended.
ubuntu@who-iMacPro:~$ cd snd_hda_macbookpro && sudo ./install.cirrus.driver.sh linux-source-6.5.0/sound/pci/hda/ linux-source-6.5.0/sound/pci/hda/hda_jack.h linux-source-6.5.0/sound/pci/hda/hda_beep.c linux-source-6.5.0/sound/pci/hda/hda_local.h linux-source-6.5.0/sound/pci/hda/hda_generic.c linux-source-6.5.0/sound/pci/hda/ca0132_regs.h linux-source-6.5.0/sound/pci/hda/hp_x360_helper.c linux-source-6.5.0/sound/pci/hda/hda_beep.h linux-source-6.5.0/sound/pci/hda/patch_analog.c linux-source-6.5.0/sound/pci/hda/cs35l41_hda.c linux-source-6.5.0/sound/pci/hda/patch_si3054.c linux-source-6.5.0/sound/pci/hda/hda_tegra.c linux-source-6.5.0/sound/pci/hda/patch_ca0110.c linux-source-6.5.0/sound/pci/hda/patch_cs8409-tables.c linux-source-6.5.0/sound/pci/hda/hda_controller.c linux-source-6.5.0/sound/pci/hda/patch_conexant.c linux-source-6.5.0/sound/pci/hda/patch_cs8409.h linux-source-6.5.0/sound/pci/hda/hda_eld.c linux-source-6.5.0/sound/pci/hda/cs35l41_hda_i2c.c linux-source-6.5.0/sound/pci/hda/patch_ca0132.c linux-source-6.5.0/sound/pci/hda/hda_controller.h linux-source-6.5.0/sound/pci/hda/hda_cs_dsp_ctl.c linux-source-6.5.0/sound/pci/hda/hda_codec.c linux-source-6.5.0/sound/pci/hda/thinkpad_helper.c linux-source-6.5.0/sound/pci/hda/hda_generic.h linux-source-6.5.0/sound/pci/hda/patch_sigmatel.c linux-source-6.5.0/sound/pci/hda/cs35l41_hda_property.c linux-source-6.5.0/sound/pci/hda/hda_intel.c linux-source-6.5.0/sound/pci/hda/hda_auto_parser.c linux-source-6.5.0/sound/pci/hda/hda_sysfs.c linux-source-6.5.0/sound/pci/hda/Kconfig linux-source-6.5.0/sound/pci/hda/hda_intel_trace.h linux-source-6.5.0/sound/pci/hda/cs35l41_hda_spi.c linux-source-6.5.0/sound/pci/hda/hda_intel.h linux-source-6.5.0/sound/pci/hda/patch_cirrus.c linux-source-6.5.0/sound/pci/hda/hda_hwdep.c linux-source-6.5.0/sound/pci/hda/hda_bind.c linux-source-6.5.0/sound/pci/hda/hda_jack.c linux-source-6.5.0/sound/pci/hda/ideapad_s740_helper.c linux-source-6.5.0/sound/pci/hda/patch_hdmi.c linux-source-6.5.0/sound/pci/hda/hda_component.h linux-source-6.5.0/sound/pci/hda/hda_proc.c linux-source-6.5.0/sound/pci/hda/patch_cmedia.c linux-source-6.5.0/sound/pci/hda/cs35l41_hda.h linux-source-6.5.0/sound/pci/hda/Makefile linux-source-6.5.0/sound/pci/hda/patch_via.c linux-source-6.5.0/sound/pci/hda/patch_realtek.c linux-source-6.5.0/sound/pci/hda/hda_controller_trace.h linux-source-6.5.0/sound/pci/hda/hda_auto_parser.h linux-source-6.5.0/sound/pci/hda/cs35l41_hda_property.h linux-source-6.5.0/sound/pci/hda/hda_cs_dsp_ctl.h linux-source-6.5.0/sound/pci/hda/patch_cs8409.cKernel version later than implemented version - there may be build problemspatching file patch_cs8409.cHunk #1 succeeded at 1445 (offset 175 lines).Hunk #2 succeeded at 1454 (offset 175 lines).Hunk #3 succeeded at 1483 (offset 175 lines).patching file patch_cs8409.hHunk #2 succeeded at 304 (offset 2 lines).Hunk #3 succeeded at 331 (offset 2 lines).Hunk #4 succeeded at 367 (offset 2 lines).patching file patch_cirrus_apple.hmake -C /lib/modules/6.5.0-27-generic/build CFLAGS_MODULE="-DAPPLE_PINSENSE_FIXUP -DAPPLE_CODECS -DCONFIG_SND_HDA_RECONFIG=1 -Wno-unused-variable -Wno-unused-function" M=/home/cd/snd_hda_macbookpro/build/hda modulesmake[1]: Entering directory '/usr/src/linux-headers-6.5.0-27-generic'warning: the compiler differs from the one used to build the kernelThe kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0You are using: CC [M] /home/cd/snd_hda_macbookpro/build/hda/patch_cs8409.o/bin/sh: 1: gcc-12: not foundmake[3]: *** [scripts/Makefile.build:251: /home/cd snd_hda_macbookpro/build/hda/patch_cs8409.o] Error 127make[2]: *** [/usr/src/linux-headers-6.5.0-27-generic/Makefile:2039: /home/cd/snd_hda_macbookpro/build/hda] Error 2make[1]: *** [Makefile:234: __sub-make] Error 2make[1]: Leaving directory '/usr/src/linux-headers-6.5.0-27-generic'make: *** [Makefile:16: all] Error 2
EDIT 3: Output for commands
ubuntu@who-iMacPro:~/snd-hda-codec-cs8409$ makemake -C /lib/modules/6.5.0-27-generic/build CFLAGS_MODULE="- DAPPLE_PINSENSE_FIXUP -DAPPLE_CODECS -DCONFIG_SND_HDA_RECONFIG=1 -Wno- unused-variable -Wno-unused-function" M=/home/cd/snd-hda-codec-cs8409 modulesmake[1]: Entering directory '/usr/src/linux-headers-6.5.0-27-generic'warning: the compiler differs from the one used to build the kernelThe kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0You are using: CC [M] /home/cd/snd-hda-codec-cs8409/patch_cs8409.o/bin/sh: 1: gcc-12: not foundmake[3]: *** [scripts/Makefile.build:251: /home/cd/snd-hda-codec- cs8409/patch_cs8409.o] Error 127make[2]: *** [/usr/src/linux-headers-6.5.0-27-generic/Makefile:2039: /home/cd/snd-hda-codec-cs8409] Error 2make[1]: *** [Makefile:234: __sub-make] Error 2make[1]: Leaving directory '/usr/src/linux-headers-6.5.0-27-generic'make: *** [Makefile:16: all] Error 2ubuntu@who-iMacPro:~/snd-hda-codec-cs8409$ sudo make installmkdir -p /lib/modules/6.5.0-27-generic/updates/cp snd-hda-codec-cs8409.ko /lib/modules/6.5.0-27-generic/updates/cp: cannot stat 'snd-hda-codec-cs8409.ko': No such file or directorymake: *** [Makefile:22: install] Error 1