14
submitted 1 year ago* (last edited 1 year ago) by Jtskywalker@lemm.ee to c/linux@lemmy.ml

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

you are viewing a single comment's thread
view the rest of the comments
[-] BaumGeist@lemmy.ml 2 points 1 year ago

Does alsamixer allow you to change to the correct soundcard? What does pacmd list-cards output?

[-] Jtskywalker@lemm.ee 2 points 1 year ago

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

1 card(s) available.
    index: 0
	name: 
	driver: 
	owner module: 22
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel HDMI"
		alsa.long_card_name = "HDA Intel HDMI at 0xb0a10000 irq 74"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:03.0"
		sysfs.path = "/devices/pci0000:00/0000:00:03.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "0a0c"
		device.product.name = "Haswell-ULT HD Audio Controller"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Built-in Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: 
	sinks:
		alsa_output.pci-0000_00_03.0.hdmi-stereo/#1: Built-in Audio Digital Stereo (HDMI)
	sources:
		alsa_output.pci-0000_00_03.0.hdmi-stereo.monitor/#1: Monitor of Built-in Audio Digital Stereo (HDMI)
	ports:
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "video-display"

[-] BaumGeist@lemmy.ml 2 points 1 year ago

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?

Also per the docs: do headphones still work?

[-] Jtskywalker@lemm.ee 2 points 1 year ago

Thank you! I will try that out and read through those pages. I never had sound through speakers or headphones.

I also changed to regular Debian desktop to see if that would fix the issue per the post about someone getting the same model working on plain Debian with no audio issues, but the behavior is the same. The post was a few years old so I'm guessing it's a version difference.

I will reply back with those outputs when I have a chance to try this. Currently the laptop is kind of unwieldy to use as I accidentally broke the teackpad (or track pad cable) while replacing the keyboard so I'm waiting on parts. External inputs work I just need to clear space to set it up for troubleshooting

load more comments (1 replies)
load more comments (1 replies)
load more comments (1 replies)
this post was submitted on 24 Sep 2023
14 points (100.0% liked)

Linux

48236 readers
615 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS