Re: Intel HDA on Mac Pro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Could you do a simple test?  I need to see what the autoconfig detects for pins.  To do this, type:

modprobe -r snd-hda-intel
dmesg -c >/dev/null
modprobe snd-hda-intel model=auto
dmesg >dmesg.out  # send me this output

This should (hopefully) detect which port the headphones are on.  It won't enable sound, but it is useful for detecting pins from the bios settings.

Also, when you said sound was coming from the surround channels, do you know if the front output was coming from that?  To test this, reload the driver with "model=macpro" and type:
speaker-test -c 6 -t wav -Dplug:surround51

Thanks,

Tobin

On Fri, 2006-12-08 at 13:39 -0600, Shaw Terwilliger wrote:
Tobin Davis wrote:
> To test it, start with either the alsa-driver-hg20061130.tar.bz2 or
> download the recent 1.0.14rc1 and follow these instructions:
> tar -jxvf alsa-driver-<version>.tar.bz2   # <version> == hg20061130 or
> 1.0.14rc1
> cd alsa-driver-<version>/alsa-kernel
> patch -p1 <macpro.patch.1
> cd ..
> ./configure --with-cards=hda-intel --with-debug=detect ; make ; make install
> dmesg -c
> modprobe -r snd-hda-intel
> modprobe snd-hda-intel model=macpro
> dmesg >dmesg.out

Patch applies cleanly and builds with 1.0.14rc1, and macpro model
selection works.  The dmesg dump is attached (though it's pretty terse).

> Send me a copy of dmesg.out along with any differences that you see.  I
> may need to tweak which pins get enabled.

Great news: I have the correct volume!  Here are some mixer oddities:

- The "Surround" mixer channels actually control what comes out of the
line-out jack on the back of the Mac Pro (where I have my speakers
plugged in).  This was the case before.

- The "Front Mic" mixer channels actually control the line-in jack on
the back of the Mac Pro (where I have my radio's line-out plugged in).

- No combination of mixer channel volumes and "Headphone" switch setting
seems to control the headphone jack on the front of the Mac Pro (can't
get any sound from it).  Not a big deal for me, but might be for others.

- The "PC Speaker" mixer channel doesn't control the internal speaker.
I don't know if this is actually possible in OS X (don't have it installed).

Also, I don't have an optical cable to test the digital in/out.  Have
not tested the other analog channels (don't have a mic, etc.).

Thanks for your work fixing up the driver for the 885.

-- 
Shaw Terwilliger <sterwill@xxxxxxxxxxxxx>
Teamprise LLC
http://teamprise.com/



plain text document attachment (model-macpro.dmesg.out)
[352334.966359] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 23 (level, low) -> IRQ 225
[352334.967289] PCI: Setting latency timer of device 0000:00:1b.0 to 64
[352335.000095] ALSA /data/downloads/alsa-driver-1.0.14rc1/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:696: codec_mask = 0x1
[352335.177917] ALSA /data/downloads/alsa-driver-1.0.14rc1/pci/hda/hda_codec.c:1743: hda_codec: model 'macpro' is selected
--
Tobin Davis <tdavis@xxxxxxxxxxxx>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux