
Originally Posted by
audiomechanic
Ok, here's the pastebin URL:
pastebin - Shane - post number 1672405[/code]
OK, thanks. That tells me/confirms a MacBook-1 running a 32-bit openSUSE-11.2 with the 2.6.31.5-0.1-desktop kernel. The MacBook as a stack9221 hardware audio codec.
A question on your headphones. ... Are they USB headphones ?
If it is a nominal input jack headphone, then the Headphone sound should be working from what I can see from the diagnostic script. So lets 1st investigate if the mixer has mislabeled one of the mixer settings ... I note this:
#!!Amixer output
#!!-------------
#!!-------Mixer controls for card 0 [Intel]
#Card hw:0 'Intel'/'HDA Intel at 0x90440000 irq 22'
# Mixer name : 'SigmaTel STAC9221 A1'
#Simple mixer control 'Speaker',1
# Capabilities: pvolume pswitch
# Playback channels: Front Left - Front Right
# Limits: Playback 0 - 64
# Mono:
# Front Left: Playback 64 [100%] [0.00dB] [off]
# Front Right: Playback 64 [100%] [0.00dB] [off]
Note Speaker-1 control is muted to OFF. In the off chance that is a mislabeled headphone control, can you unmute that and test your headphones?
If that does not work, and if these are regular headphones (not usb) there is a slight chance the alsa sound driver autoprobe did not properly configure your MacBook upon boot for sound. Hence we can try forcing a boot configuration for sound. There is a list in the 1.0.21 alsa documentation in a the HD-Audio-Models.txt file that gives a list for the stac9221. That list is copied and pasted below:
Code:
STAC9220/9221
=============
ref Reference board
3stack D945 3stack
5stack D945 5stack + SPDIF
intel-mac-v1 Intel Mac Type 1
intel-mac-v2 Intel Mac Type 2
intel-mac-v3 Intel Mac Type 3
intel-mac-v4 Intel Mac Type 4
intel-mac-v5 Intel Mac Type 5
intel-mac-auto Intel Mac (detect type according to subsystem id)
macmini Intel Mac Mini (equivalent with type 3)
macbook Intel Mac Book (eq. type 5)
macbook-pro-v1 Intel Mac Book Pro 1st generation (eq. type 3)
macbook-pro Intel Mac Book Pro 2nd generation (eq. type 3)
imac-intel Intel iMac (eq. type 2)
imac-intel-20 Intel iMac (newer version) (eq. type 3)
ecs202 ECS/PC chips
dell-d81 Dell (unknown)
dell-d82 Dell (unknown)
dell-m81 Dell (unknown)
dell-m82 Dell XPS M1210
auto BIOS setup (default)
Now I do not know one Mac from another
... but what you can do is one at a time test each item from that list. You can ONLY test one at a time, as anything else will not work for certain.
So assume these are regular headphones, to apply an item from the list and test it, you need to edit your /etc/modprobe.d/50-sound.conf file. Lets say you start off by trying the model option intel-mac-v1 (I picked that at random from the list). You can edit that file with root permissions - in gnome by typing: gnomesu gedit /etc/modprobe.d/50-sound.conf
- in kde4 by typing: kdesu 'kwrite /etc/modprobe.d/50-sound.conf'
and then add an extra line to the front of the /etc/modprobe.d/50-sound.conf file so that the file looks like:
Code:
options snd-hda-intel model=intel-mac-v1
options snd slots=snd-hda-intel
# u1Nb.FM5qfmnQDA7:82801G (ICH7 Family) High Definition Audio Controller
alias snd-card-0 snd-hda-intel
then save the change and restart your alsa sound driver by typing in a terminal su -c 'rcalsasound restart' and enter root password when prompted and then restart your mixer (kmix in kde and alsamixer in gnome) and test your sound and test your headphones.
If that does not work, then go on to the next item in the list, say intel-mac-v2, and in the /etc/modprobe.d/50-sound.conf file replace intel-mac-v1 with intel-mac-v2 and save the change and restart your alsa sound driver by typing in a terminal su -c 'rcalsasound restart' and enter root password when prompted and then restart your mixer (kmix in kde and alsamixer in gnome) and test your sound and test your headphones.
Keep doing that for each one in the list until you either find one that works, or you try them all. Note some may actually break your sound. No worries. just move on to the next, and keep trying.
Good luck !
Bookmarks