I have an iMac 2017 21.5 inch model, which I installed EndeavourOS on. The sound NEVER works, on Endeavour OS. I tried searching up on the internet and saw a solution on the Manjaro forums which called for running echo 'options snd-hda-intel model=imac27' | sudo tee -a /etc/modprobe.d/sound.conf
And yeah it did work but the sound quality was tinny and the solution was temporary, it just stopped working, the sound dosent work.
Here is my inxi output:
System:
Kernel: 6.1.23-1-lts arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
parameters: BOOT_IMAGE=/boot/vmlinuz-linux-lts
root=UUID=3ff9269d-dd56-4398-9f6d-729238a100de rw nowatchdog nvme_load=YES
loglevel=3
Desktop: KDE Plasma v: 5.27.4 tk: Qt v: 5.15.9 wm: kwin_x11 vt: 1 dm: SDDM
Distro: EndeavourOS base: Arch Linux
Machine:
Type: Laptop System: Apple product: iMac18,1 v: 1.0
serial: <superuser required> Chassis: type: 9 v: Mac-4B682C642B45593E
serial: <superuser required>
Mobo: Apple model: Mac-4B682C642B45593E v: iMac18,1
serial: <superuser required> UEFI: Apple v: 451.140.1.0.0 date: 04/11/2022
Battery:
Message: No system battery data found. Is one present?
Memory:
RAM: total: 7.63 GiB used: 3.04 GiB (39.9%)
RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: model: Intel Core i5-7360U bits: 64 type: MT MCP arch: Amber/Kaby Lake
note: check gen: core 7 level: v3 note: check built: 2017 process: Intel 14nm
family: 6 model-id: 0x8E (142) stepping: 9 microcode: 0xF0
Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB
L3: 4 MiB desc: 1x4 MiB
Speed (MHz): avg: 400 min/max: 400/3600 scaling: driver: intel_pstate
governor: powersave cores: 1: 400 2: 400 3: 400 4: 400 bogomips: 18406
Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
fsgsbase fxsr ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs ida
intel_pt invpcid invpcid_single lahf_lm lm mca mce md_clear mmx monitor
movbe mpx msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm
pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand rdseed rdtscp
rep_good sdbg sep smap smep smx ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp
syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi
vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
Type: retbleed mitigation: IBRS
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: IBRS, IBPB: conditional, STIBP: conditional,
RSB filling, PBRSB-eIBRS: Not affected
Type: srbds mitigation: Microcode
Type: tsx_async_abort mitigation: TSX disabled
Graphics:
Device-1: Intel Iris Plus Graphics 640 vendor: Apple driver: i915 v: kernel
arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports: active: eDP-1
empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:5926
class-ID: 0300
Device-2: Apple FaceTime HD Camera (Built-in) type: USB driver: uvcvideo
bus-ID: 1-3:2 chip-ID: 05ac:8511 class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org v: 21.1.8 compositor: kwin_x11 driver: X:
loaded: modesetting alternate: fbdev,intel,vesa dri: iris gpu: i915
display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: eDP-1 model: Apple iMac built: 2012 res: 1920x1080 hz: 60
dpi: 103 gamma: 1.2 size: 475x267mm (18.7x10.51") diag: 545mm (21.5")
ratio: 16:9 modes: 1920x1080
API: OpenGL v: 4.6 Mesa 23.0.2 renderer: Mesa Intel Iris Plus Graphics 640
(Kaby Lake GT3e) (KBL GT3) direct-render: Yes
Audio:
Device-1: Intel Sunrise Point-LP HD Audio driver: snd_hda_intel v: kernel
alternate: snd_soc_skl,snd_soc_avs bus-ID: 00:1f.3 chip-ID: 8086:9d71
class-ID: 0403
API: ALSA v: k6.1.23-1-lts status: kernel-api tools: alsamixer,amixer
Server-1: PipeWire v: 0.3.68 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Broadcom BCM43602 802.11ac Wireless LAN SoC vendor: Apple
driver: brcmfmac v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
bus-ID: 02:00.0 chip-ID: 14e4:43ba class-ID: 0280
IF: wlan0 state: up mac: <filter>
IP v4: <filter> type: noprefixroute scope: global broadcast: <filter>
IP v6: <filter> type: noprefixroute scope: link
Device-2: Broadcom NetXtreme BCM57766 Gigabit Ethernet PCIe driver: tg3
v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: N/A bus-ID: 03:00.0
chip-ID: 14e4:1686 class-ID: 0200
IF: enp3s0f0 state: down mac: <filter>
WAN IP: <filter>
Bluetooth:
Device-1: Apple Bluetooth USB Host Controller type: USB
driver: btusb,hid-generic,usbhid bus-ID: 1-9:6 chip-ID: 05ac:8296
class-ID: fe01
Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: disabled
rfk-block: hardware: no software: no address: see --recommends
Logical:
Message: No logical block device data found.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 931.51 GiB used: 23.09 GiB (2.5%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Apple model: HDD HTS541010A9E632
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s
type: HDD rpm: 5400 serial: <filter> rev: B5N0 scheme: GPT
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 735.54 GiB size: 722.92 GiB (98.28%) used: 22.97 GiB (3.2%)
fs: ext4 dev: /dev/sda4 maj-min: 8:4 label: endeavouros
uuid: 3ff9269d-dd56-4398-9f6d-729238a100de
ID-2: /boot/efi raw-size: 200 MiB size: 196.9 MiB (98.44%)
used: 128.3 MiB (65.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1 label: EFI
uuid: 2860-11F4
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 2 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/sda5 maj-min: 8:5 label: linux swap
uuid: 475097bd-9e15-40ee-adb3-b8e9a5eac863
Unmounted:
ID-1: /dev/sda2 maj-min: 8:2 size: 185.87 GiB fs: apfs label: N/A
uuid: 7ca69e63-8506-474d-804a-343d52996a1e
ID-2: /dev/sda3 maj-min: 8:3 size: 7.91 GiB fs: vfat label: EOS_202303
uuid: 6E2F-1F1B
USB:
Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 1-3:2 info: Apple FaceTime HD Camera (Built-in) type: Video
driver: uvcvideo interfaces: 3 rev: 2.0 speed: 480 Mb/s power: 500mA
chip-ID: 05ac:8511 class-ID: 0e02 serial: <filter>
Hub-2: 1-5:3 info: Apple Hub in Aluminum Keyboard ports: 3 rev: 2.0
speed: 480 Mb/s power: 300mA chip-ID: 05ac:1006 class-ID: 0900
Device-1: 1-5.2:5 info: Apple Aluminum Keyboard (ISO) type: Keyboard,HID
driver: apple,usbhid interfaces: 2 rev: 2.0 speed: 1.5 Mb/s power: 20mA
chip-ID: 05ac:0221 class-ID: 0300
Device-2: 1-6:4 info: Apple Mighty Mouse [Mitsumi M1152] type: Mouse
driver: apple,usbhid interfaces: 1 rev: 1.1 speed: 1.5 Mb/s power: 100mA
chip-ID: 05ac:0304 class-ID: 0301
Device-3: 1-9:6 info: Apple Bluetooth USB Host Controller
type: Keyboard,Mouse,Bluetooth driver: btusb,hid-generic,usbhid interfaces: 6
rev: 2.0 speed: 12 Mb/s chip-ID: 05ac:8296 class-ID: fe01
Hub-3: 2-0:1 info: Super-speed hub ports: 6 rev: 3.0 speed: 5 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Hub-4: 3-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Hub-5: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
System Temperatures: cpu: 34.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 194 Uptime: 3h 29m wakeups: 4 Init: systemd v: 253
default: graphical tool: systemctl Compilers: gcc: 12.2.1 Packages: 1162
pm: pacman pkgs: 1138 libs: 300 tools: trizen,yay pm: flatpak pkgs: 24
Shell: fish v: 3.6.1 running-in: kitty inxi: 3.3.26
Here is my output from lspci -v | grep -i audio
:
frizzfrizzlol@endeavourlxr ~> lspci -v | grep -i audio
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
Here is my output from aplay -lL
(lL is a lowercase L and an Uppercase L next to eachother):
frizzfrizzlol@endeavourlxr ~> aplay -lL
null
Discard all samples (playback) or generate zero samples (capture)
lavrate
Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
Rate Converter Plugin Using Samplerate Library
speexrate
Rate Converter Plugin Using Speex Resampler
jack
JACK Audio Connection Kit
oss
Open Sound System
pipewire
PipeWire Sound Server
pulse
PulseAudio Sound Server
speex
Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
Plugin for channel upmix (4,6,8)
vdownmix
Plugin for channel downmix (stereo) with a simple spacialization
default
Default ALSA Output (currently PipeWire Media Server)
sysdefault:CARD=PCH
HDA Intel PCH, CS8409/CS42L83 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, CS8409/CS42L83 Analog
Front output / input
surround21:CARD=PCH,DEV=0
HDA Intel PCH, CS8409/CS42L83 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, CS8409/CS42L83 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, CS8409/CS42L83 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, CS8409/CS42L83 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, CS8409/CS42L83 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, CS8409/CS42L83 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
HDA Intel PCH, HDMI 0
HDMI Audio Output
hdmi:CARD=PCH,DEV=1
HDA Intel PCH, HDMI 1
HDMI Audio Output
hdmi:CARD=PCH,DEV=2
HDA Intel PCH, HDMI 2
HDMI Audio Output
usbstream:CARD=PCH
HDA Intel PCH
USB Stream Output
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CS8409/CS42L83 Analog [CS8409/CS42L83 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 0/1
Subdevice #0: subdevice #0
Hope this helps you figure out the problem. I appreciate any help. Thank you.