You are not logged in.

#1 2009-10-08 01:16:08

trvjillo
Member
Registered: 2008-10-27
Posts: 41

MacBook Pro 1,2 Sound Problems

AHOY!

A have a MBP1,2 and I'm having problems getting the sound to work properly.

Sound to the headphones comes out very low and the speakers don't auto-mute. The auto-mute isn't really a big deal, but even with the Speaker mixer muted via alsamixer/amixer they keep outputting.

I'm using the snd-hda-intel driver with no options passed to modprobe atm. I've tried a bunch of combinations and none seem to solve my problem.

Not long ago, in a previous arch installation, I recall having no problems with alsa, just by running alsaconf and then adding options snd-hda-intel model=macbook-pro-v1 position_fix=2 to modprobe.conf.


Here is some info that might help in finding a solution:

aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: STAC92xx Digital [STAC92xx Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

amixer |grep mixer

Simple mixer control 'Master',0
Simple mixer control 'Headphone',0
Simple mixer control 'Speaker',0
Simple mixer control 'PCM',0
Simple mixer control 'IEC958',0
Simple mixer control 'IEC958 Default PCM',0
Simple mixer control 'Capture',0
Simple mixer control 'Capture',1
Simple mixer control 'Input Source',0
Simple mixer control 'Input Source',1
Simple mixer control 'Mux',0
Simple mixer control 'Mux',1

rc.conf

...
MODULES=(!isight_firmware !sky2 !snd_pcsp !pcskpr !snd-mixer-oss snd-pcm !snd-pcm-oss snd snd-hda-intel soundcore acpi-cpufreq cpufreq_ondemand cpufreq_powersave)
DAEMONS=(syslog-ng !network !netfs crond !hal dbus wicd pommed powernowd alsa)
...

/etc/modprobe.d/sound.conf

alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel

lsmod |grep '^snd'

snd_seq_dummy           2792  0 
snd_seq_oss            32096  0 
snd_seq_midi_event      7012  1 snd_seq_oss
snd_seq                54416  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          7088  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_hda_codec_idt      60140  1 
snd_hda_intel          27904  1 
snd_hda_codec          76132  2 snd_hda_codec_idt,snd_hda_intel
snd_hwdep               7816  1 snd_hda_codec
snd_pcm                75048  2 snd_hda_intel,snd_hda_codec
snd_timer              21196  2 snd_seq,snd_pcm
snd                    59940  12 snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
snd_page_alloc          8908  2 snd_hda_intel,snd_pcm

Thanks in advance guys
-Trvjillo


PS: Any solution that only makes my headphones work would be more than enough wink

Last edited by trvjillo (2009-10-08 10:03:59)

Offline

#2 2009-10-23 13:58:07

trvjillo
Member
Registered: 2008-10-27
Posts: 41

Re: MacBook Pro 1,2 Sound Problems

/bump

Still haven't found any solution for this problem...

Is a really pita having to use the desktop pc (if I'm at home) everytime I want to listen to some music/film/series or worst, everytime I find some video on the web that I want to view. hmm

[EDIT]

Just though of giving ubuntu 9.10 a go, and well, sound is just fine over there. I'll look under the hood to see if I can come up with a solution to this.

Well as far as I can tell, both load the same sound modules. Tried loading snd_hda_intel with ubuntu's alsa-base.conf, but no luck.

# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
options snd-usb-caiaq index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Power down HDA controllers after 10 idle seconds
options snd-hda-intel power_save=10 power_save_controller=N

Lurked around synaptic and found some alsa related packages installed but can't make a connection between those and the ones arch as.

Here's the screenie,
alsa.th.png

Anyone?

Last edited by trvjillo (2009-10-23 21:46:42)

Offline

Board footer

Powered by FluxBB