Re: trying to get sound working at a mac book pro (core 2 duo)

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

 



> OK, now I committed the (slightly modified) patch to HG tree.
> If you find more better pin configs, please create a patch on the top
> of HG tree and submit it here (and me to Cc).

Looking at the ioreg output on mac os I was able to find 4 different configs:

static unsigned int macbook_pro_pin_configs_2[10] = {
        0x012b4050, 0x90a00110, 0x90100140, 0x400000f0,
        0x400000f0, 0x018b3020, 0x014be060, 0x01cbe030,
        0x400000f0, 0x400000f0,
};

static unsigned int macbook_pro_pin_configs_4[10] = {
        0x012b4050, 0x90a00110, 0x90100140, 0x90100141,
        0x400000f0, 0x018b3020, 0x014be060, 0x01cbe030,
        0x400000f0, 0x400000f0
};

static unsigned int macbook_pro_pin_configs_6[10] = {
        0x012b4040, 0x90a00110, 0x90100130, 0x400000f0,
        0x400000f0, 0x018b3020, 0x014be050, 0x400000f0,
        0x400000f0, 0x400000f0
};

static unsigned int macbook_pro_pin_configs_8[10] = {
        0x012b4040, 0x400000f0, 0x90100130, 0x400000f0,
        0x400000f0, 0x018b3010, 0x014be050, 0x01cbe020,
        0x400000f0, 0x400000f0
};

the config number 2 almost works. I had to replace 0x018b3020, with
0x010b3020. I.e. replace the line-in with an dummy line-out. With this
modification I have the following items on alsamixer:

headphone, PCM, Front, Mic as Output, IEC958, Capture, Input Source,
Mux, Speaker

Front and "Mic as Output" are dummy. The other ones work and I can set
different volumes for the headphone and the speaker :-)

If I add the line-in again, the speaker no longer works and the
control names in alsamixer are wrong. Any suggestions?

Thanks,
Rafael

P.S.: I have just remembered to upgrade the alsa libs and utils. I
will send another email if it works.

-------------------------------------------------------------------------
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