Re: ALSA Intel HDA MacBook

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

 



At Mon, 10 Jul 2006 14:00:40 +0200,
Nicolas Boichat wrote:
> 
> Hi,
> 
> Rene Rebe wrote:
> > Hi,
> >
> > On Monday 10 July 2006 12:32, Takashi Iwai wrote:
> >   
> >> At Sat, 8 Jul 2006 21:20:02 +0200,
> >> Rene Rebe wrote:
> >>     
> >>> +static unsigned int apple_pin_configs[10] = {
> >>> +	0x0121E230, 0x90A70120, 0x9017E110, 0x400000FE,
> >>> +	0x400000FD, 0x0181E021, 0x1145E040, 0x400000FA,
> >>> +	0x400000FC, 0x400000FB,
> >>> +};
> >>> +
> >>>       
> >> Interesting.  How did yo figure this out?
> >>     
> >
> > No idea, as I wrote the best patch "I found" on the internet. I think
> > it was Nicolas who came up with it.
> >   
> I also don't know .-) I picked these from an old patch provided by gimli
> (mactel-linux), the only infos I have are:
> 
> +/* These come from the windows inf files from bootcamp*/
> +#if 0
> +/*This has mic/line in*/
> +static unsigned int minimac_pin_configs[10] = {
> +       0x0121E230, 0x90A70120, 0x9017E110, 0x400000FE,
> +       0x400000FD, 0x0181E021, 0x1145E040, 0x400000FA,
> +       0x400000FC, 0x400000FB,
> +};
> +#else
> +/*This has only line in*/
> +static unsigned int minimac_pin_configs[10] = {
> +       0x0121E220, 0x400000FF, 0x9017E110, 0x400000FE,
> +       0x400000FD, 0x0181E040, 0x1145E030, 0x11C5E040,
> +       0x400000FC, 0x400000FB,
> +};
> +#endif
> +
> 
> I picked up the first one so the mic works.
> 
> I have no which inf he got these infos.

OK then it's somewhat another black magic :)

Linus made a patch to make MacMini to work.  The patch is below (and
it's already merged to ALSA HG tree, too).
Could you check whether it works for other Intel Mac models?
At least, we need to check that it doesn't break something...


thanks,

Takashi


Subject: x86 MacMini: make built-in speaker sound actually work

The MacMini board table seems to largely look like any bog-standard
Intel 945 board.

Signed-off-by: Linus Torvalds <torvalds@xxxxxxxx>

---
commit 7c3dec0679c66ce177726802adbe2f403942fc27
tree 62d286f0b477a62d6996b6ba2cacdc3cdd4579a9
parent c80dc60b03d633047c7f96be87fd59cdcdbb929f
author Linus Torvalds <torvalds@xxxxxxxxxxxxxxxx> Mon, 10 Jul 2006 22:21:43 -0700
committer Linus Torvalds <torvalds@xxxxxxxxxxxxxxxx> Mon, 10 Jul 2006 22:21:43 -0700

 sound/pci/hda/patch_sigmatel.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index fb4bed0..ea99083 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -351,6 +351,7 @@ static unsigned int *stac922x_brd_tbl[ST
 	[STAC_REF] =	ref922x_pin_configs,
 	[STAC_D945GTP3] = d945gtp3_pin_configs,
 	[STAC_D945GTP5] = d945gtp5_pin_configs,
+	[STAC_MACMINI] = d945gtp5_pin_configs,
 	[STAC_D965_2112] = d965_2112_pin_configs,
 };
 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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