Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Nicolas Boichat <nicolas@boichat.ch>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@lists.sourceforge.net,
	mactel-linux-devel@lists.sourceforge.net,
	Tino Keitel <tino.keitel+mactel-devel@tikei.de>
Subject: Re: Macmini pins in sigmatel_audio
Date: Sat, 17 Mar 2007 13:58:51 +0800	[thread overview]
Message-ID: <45FB839B.6040309@boichat.ch> (raw)
In-Reply-To: <s5hird178fb.wl%tiwai@suse.de>

Hi,

Takashi Iwai wrote:
> At Fri, 16 Mar 2007 17:50:33 +0800,
> Nicolas Boichat wrote:
>> Hi,
>>
>> I just got this input from a Macmini user (subsys id: 0x106b0800), after
>> asking him to try different pins settings. (the sound doesn't work
>> properly with a vanilla 2.6.21-rc3 kernel)
>>
>> Tino Keitel wrote:
>>> On Thu, Mar 15, 2007 at 18:12:30 +0800, Nicolas Boichat wrote:
>>>
>>> [...]
>>>
>>>   
>>>> Considered it worked with the mactel patches, you should try
>>>> STAC_MACBOOK_PRO_V1 first....
>>>>     
>>> You are right, with STAC_MACBOOK_PRO_V1 I can use all required
>>> features. Here are the results:
>>>
>>> - analog line in works, if "Line In as Output" is muted
>>>
>>> - analog line out works, it is controlled by  the "Front" channel in
>>>   alsamixer
>>>
>>> - digital line out works
>>>
>>> - the internal speaker works, it is controlled by the "Master" channel
>>>   in alsamixer
>>>
>>> - the internal speaker is silent if there is an analog plug in line out
>>>
>>> - the internal speker still works if a (optical) digital cable is
>>>   plugged in line out, I guess because the optical plastic cable
>>>   doesn't short circuit the line out plug
>>>
>>> Minor glitches:
>>>
>>> There is an input selector that has the options "Line", "Mic" and
>>> "Front Mic". However, I think that only "Line" is really usable, as I
>>> had so signal when I connected a Mic to line in and a "Front Mic" is
>>> also not present in the mini.
>>>
>>> There is a "Mic as output" switch in alsamixer, but there is not "Mic"
>>> jack.
>>>   
>> Considering these pins have been used for a long time on mactel-linux,
> 
> Grrr, someone should have informed us.  I didn't know of this.

Sorry... Was quite busy recently, and I'm trying to get all our patches
upstream now...

>> and that they are working fine with MacBook (1st generation at least),
>> Macmini and Macbook Pro (1st generation only), I think the following
>> patch is appropriate (please apply it after the patch sent yesterday).
> 
> But the glitches above don't appear on your macbook-pro-v1, right?

Yeah I have some glitches too... For "Input source" I have "Front Mic",
"Mic" and "Line", while only "Mic" and "Line" are useful. I also have a
Mic as Output which is not relevant (no Mic jack)... I'll try to have a
look at this.

Also, to get the Mic to work, even if the "Input Source" is set to Mic
at boot time, I have to switch to Line or Front Mic and then back to Mic.

> Then I suppose macmini requires slightly different pin configs for
> inputs.  As for now, I think it's OK to use macbook-pro-v1 pin configs
> for macmini since it's much better.  So, how about to just keep the
> models and change the pin definitions to use the same table?

I saw your patch. Thx.

Best regards,

Nicolas

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

      parent reply	other threads:[~2007-03-17  5:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1HRY1h-0003Y6-2M@sc8-pr-svn1.sourceforge.net>
     [not found] ` <20070314192940.GA18255@dose.home.local>
     [not found]   ` <45F8DD78.9020508@boichat.ch>
     [not found]     ` <20070315080134.GA22654@dose.home.local>
     [not found]       ` <45F91C0E.7020600@boichat.ch>
     [not found]         ` <20070315185433.GA10186@dose.home.local>
2007-03-16  9:50           ` Macmini pins in sigmatel_audio Nicolas Boichat
2007-03-16 11:08             ` Takashi Iwai
2007-03-16 14:28               ` [Alsa-devel] " Takashi Iwai
2007-03-17  5:58               ` Nicolas Boichat [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45FB839B.6040309@boichat.ch \
    --to=nicolas@boichat.ch \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=mactel-linux-devel@lists.sourceforge.net \
    --cc=tino.keitel+mactel-devel@tikei.de \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox