Solved MacPro5,1 (mid 2010) sound configuration issue

decuser

Active Member

Reaction score: 83
Messages: 228

I've been running FreeBSD 12.1 on my MacPro for a couple of weeks and just noticed that sound doesn't appear to be working. Here's what I've done to troubleshoot:


Bash:
sudo cat /dev/sndstat
Installed devices:
pcm0: <Realtek ALC889A (Analog)> (play/rec)
pcm1: <Realtek ALC889A (Rear Digital)> (play/rec)
pcm2: <Realtek ALC889A (Rear Analog)> (play/rec)
pcm3: <Realtek ALC889A (Rear Analog Line-out)> (play) default
No devices installed from userspace.

Since I'm not sure which device is correlated with my rear audio out, I did the following:

Bash:
sudo sysctl hw.snd.default_unit=0
sudo sysctl hw.snd.default_unit=1
sudo sysctl hw.snd.default_unit=2
sudo sysctl hw.snd.default_unit=3

Nothing seems to have any noticeable impact (no sound comes out of the speaker).

The speaker's working, nothing's muted. In KDE, it seems to know about the Realtek ALC889A, so it seems like it oughtta work. Firefox isn't muted... etc.

What else can I do to troubleshoot this and get my audio output working?
 

trev

Aspiring Daemon

Reaction score: 260
Messages: 978

This worked for a late-2009 Mac mini:
sysctl dev.hdaa.0.gpio_config="0=set 1=set"
sysctl hw.snd.default_unit=2


Nothing ventured...
 
OP
decuser

decuser

Active Member

Reaction score: 83
Messages: 228

I did:
Bash:
sudo vi /etc/sysctl.conf
dev.hdaa.0.gpio_config="0=set 1=set"
hw.snd.default_unit=3
and all's well in the world!
 
Top