[Solved - kind of] Audio / webcam not working for 2013 Macbook Air
We have had a Macbook Air (A1466) laying around for years after it became useless due to not getting any more updates so modern browsers wouldn't run, etc. etc.
Today I decided to dust it off and install Ubuntu - that all went great. No issues with wifi drivers or anything. The only issues I am having are that I have no audio input or output (only device available is "dummy output") and no webcam.
I'm not really sure where to start. I have used linux before, but it has been years (Ubuntu 11 or 12 was the latest I ever touched).
Any suggestions?
EDIT:
This is what I get from running lspci -V
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 09)
Subsystem: Apple Inc. Haswell-ULT HD Audio Controller
Flags: bus master, fast devsel, latency 0, IRQ 73
Memory at b0a10000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 09)
Subsystem: Apple Inc. Haswell-ULT HD Audio Controller
Flags: bus master, fast devsel, latency 0, IRQ 73
Memory at b0a10000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
Thank you for the help @infeeeee@lemm.ee@BaumGeist@lemmy.ml - I believe the issue with the audio is hardware related. I reinstalled Mac OSX using the built in recovery tool and that does not detect the sound card either. So sometime in between it being used last and me installing Ubuntu on it the hardware failed. I don't think I will bother replacing the logic board as it is a 10 year old laptop and is otherwise working just fine.
I was able to get alsamixer to show the HDMI audio output by adding options snd-hda-intel model=generic to the alsa-base.conf file, but that is all it can see, and that doesn't utilize the speakers on the laptop.
pacmd list-cards gives this - it looks like it is only the HDMI audio
Looks like some people had success setting their specific model (auto detection failed for whatever reason), try changing to options snd-hda-intel model=mba42 (or model=mba6)—per kernel docs—in alsa-base.conf. This may (read: "probably will") require a reboot for each model.
Should this not work: we may have to dig into dmesg to figure out where it's erroring. This is currently beyond my remote troubleshooting ability (I don't know what I'm looking for, but might know it when I see it)... Also, will you please take note of the output from lsmod | grep 'snd' during each attempt, and share what you find if they both fail?