From: Junichi U. <da...@ne...> - 2008-12-05 14:29:03
|
Hi, I've got things working with options snd-hda-intel model=mbp3 on stock Debian 2.6.26 kernel. At Tue, 02 Dec 2008 23:14:05 +0100, Magnus Rosenbaum wrote: > > Hi everybody, > > after using PPC Macs under Linux for 5 years, I bought myself now a new > MacBook. It's the latest white one, calling itself "MacBook4,1". > > I got most of the things to working, but my biggest sorrow remains the > sound. Sound works, but it's very low volume and at least through the > built in speakers it sounds like through a telefone without any bass. In > MacOSX it sounds fine. > > I have searched the web for the issue and found many similar complaints, > but no solution. Does anyone know about the current state of this? Is this > model maybe not yet supported? > > from lspci -v: > ---8<--- > 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio > Controller (rev 04) > Subsystem: Apple Computer Inc. Device 00a1 > Flags: bus master, fast devsel, latency 0, IRQ 20 > Memory at 50700000 (64-bit, non-prefetchable) [size=16K] > Capabilities: [50] Power Management version 2 > Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ > Queue=0/0 Enable- > Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00 > Capabilities: [100] Virtual Channel <?> > Capabilities: [130] Root Complex Link <?> > Kernel driver in use: HDA Intel > Kernel modules: snd-hda-intel > ---8<--- > > /etc/modules.d/alsa > ---8<--- > alias /dev/mixer snd-mixer-oss > alias /dev/dsp snd-pcm-oss > alias /dev/midi snd-seq-oss > options snd-hda-intel index=0 model=mbp3 > alias snd-card-0 snd-hda-intel > alias sound-slot-0 snd-hda-intel > ---8<--- > > I also tried without index and with model=macbook. > > The model paramete is also correctly set: > ---8<--- > cat /sys/module/snd_hda_intel/parameters/model > mbp3,<NULL>,<NULL>,<NULL>,[...] > ---8<--- > > from dmesg: > ---8<--- > HDA Intel 0000:00:1b.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20 > HDA Intel 0000:00:1b.0: setting latency timer to 64 > ---8<--- > > I switched sound debugging on the the kernel config: > grep sound /var/log/messages > ---8<--- > Dec 2 23:03:53 macbook ALSA sound/pci/hda/hda_intel.c:2209: chipset > global capabilities = 0x4401 > Dec 2 23:03:53 macbook ALSA sound/pci/hda/hda_intel.c:775: codec_mask = 0x1 > Dec 2 23:03:53 macbook ALSA sound/pci/hda/hda_codec.c:2342: hda_codec: > model 'mbp3' is selected > Dec 2 23:03:53 macbook ALSA sound/pci/hda/hda_codec.c:1127: Cannot find > slave Surround Playback Volume, skipped > Dec 2 23:03:53 macbook ALSA sound/pci/hda/hda_codec.c:1127: Cannot find > slave Center Playback Volume, skipped > Dec 2 23:03:53 macbook ALSA sound/pci/hda/hda_codec.c:1127: Cannot find > slave LFE Playback Volume, skipped > Dec 2 23:03:53 macbook ALSA sound/pci/hda/hda_codec.c:1127: Cannot find > slave Side Playback Volume, skipped > Dec 2 23:03:53 macbook ALSA sound/pci/hda/hda_codec.c:1127: Cannot find > slave Headphone Playback Volume, skipped > Dec 2 23:03:53 macbook ALSA sound/pci/hda/hda_codec.c:1127: Cannot find > slave Speaker Playback Volume, skipped > Dec 2 23:03:53 macbook ALSA sound/pci/hda/hda_codec.c:1127: Cannot find > slave Mono Playback Volume, skipped > Dec 2 23:03:53 macbook ALSA sound/pci/hda/hda_codec.c:1127: Cannot find > slave Surround Playback Switch, skipped > Dec 2 23:03:53 macbook ALSA sound/pci/hda/hda_codec.c:1127: Cannot find > slave Center Playback Switch, skipped > Dec 2 23:03:53 macbook ALSA sound/pci/hda/hda_codec.c:1127: Cannot find > slave LFE Playback Switch, skipped > Dec 2 23:03:53 macbook ALSA sound/pci/hda/hda_codec.c:1127: Cannot find > slave Side Playback Switch, skipped > Dec 2 23:03:53 macbook ALSA sound/pci/hda/hda_codec.c:1127: Cannot find > slave Headphone Playback Switch, skipped > Dec 2 23:03:53 macbook ALSA sound/pci/hda/hda_codec.c:1127: Cannot find > slave Mono Playback Switch, skipped > Dec 2 23:04:49 macbook ALSA sound/pci/hda/hda_intel.c:1436: > azx_pcm_prepare: bufsize=0x10000, format=0x31 > Dec 2 23:04:49 macbook ALSA sound/pci/hda/hda_codec.c:725: > hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x31 > Dec 2 23:04:49 macbook ALSA sound/pci/hda/hda_codec.c:725: > hda_codec_setup_stream: NID=0x3, stream=0x5, channel=0, format=0x31 > Dec 2 23:04:49 macbook ALSA sound/pci/hda/hda_codec.c:725: > hda_codec_setup_stream: NID=0x4, stream=0x5, channel=0, format=0x31 > Dec 2 23:04:49 macbook ALSA sound/pci/hda/hda_codec.c:725: > hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, format=0x31 > Dec 2 23:04:49 macbook ALSA sound/pci/hda/hda_codec.c:737: > hda_codec_cleanup_stream: NID=0x2 > Dec 2 23:04:49 macbook ALSA sound/pci/hda/hda_codec.c:737: > hda_codec_cleanup_stream: NID=0x3 > Dec 2 23:04:49 macbook ALSA sound/pci/hda/hda_codec.c:737: > hda_codec_cleanup_stream: NID=0x4 > Dec 2 23:04:49 macbook ALSA sound/pci/hda/hda_codec.c:737: > hda_codec_cleanup_stream: NID=0x5 > Dec 2 23:04:49 macbook ALSA sound/pci/hda/hda_intel.c:1436: > azx_pcm_prepare: bufsize=0x10000, format=0x31 > Dec 2 23:04:49 macbook ALSA sound/pci/hda/hda_codec.c:725: > hda_codec_setup_stream: NID=0x2, stream=0x5, channel=0, format=0x31 > Dec 2 23:04:49 macbook ALSA sound/pci/hda/hda_codec.c:725: > hda_codec_setup_stream: NID=0x3, stream=0x5, channel=0, format=0x31 > Dec 2 23:04:49 macbook ALSA sound/pci/hda/hda_codec.c:725: > hda_codec_setup_stream: NID=0x4, stream=0x5, channel=0, format=0x31 > Dec 2 23:04:49 macbook ALSA sound/pci/hda/hda_codec.c:725: > hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, format=0x31 > Dec 2 23:05:01 macbook ALSA sound/pci/hda/hda_codec.c:737: > hda_codec_cleanup_stream: NID=0x2 > Dec 2 23:05:01 macbook ALSA sound/pci/hda/hda_codec.c:737: > hda_codec_cleanup_stream: NID=0x3 > Dec 2 23:05:01 macbook ALSA sound/pci/hda/hda_codec.c:737: > hda_codec_cleanup_stream: NID=0x4 > Dec 2 23:05:01 macbook ALSA sound/pci/hda/hda_codec.c:737: > hda_codec_cleanup_stream: NID=0x5 > ---8<--- > > uname -a > ---8<--- > Linux macbook 2.6.28-rc6 #1 SMP Mon Dec 1 04:07:54 CET 2008 x86_64 > Intel(R) Core(TM)2 Duo CPU T8100 @ 2.10GHz GenuineIntel GNU/Linux > ---8<--- > > Any ideas? > > cu, Magnus > > -- > Carl Magnus Rosenbaum M.A. > Administration - Programmierung - Weiterbildung http://cmr.cx/ > Tel: +49 89 70066626 Fax: +49 89 70066686 Mobil: +49 163 7006662 > PGP Fingerprint: DEBC 3C99 EF1D 74F0 D4C7 EFF5 C268 3690 0EA1 7641 > |