All of lore.kernel.org
 help / color / mirror / Atom feed
From: zhejiang <zhe.jiang@intel.com>
To: alsa-devel@alsa-project.org
Cc: tiwai@suse.de
Subject: Re: patch for Dell 1210 which using stac9221 codec
Date: Fri, 19 Oct 2007 14:02:43 +0800	[thread overview]
Message-ID: <1192773763.4306.31.camel@localhost.localdomain> (raw)
In-Reply-To: <s5hve94zd3a.wl%tiwai@suse.de>

On Thu, 2007-10-18 at 22:55 +0800, Takashi Iwai wrote:
> At Thu, 18 Oct 2007 10:49:16 +0800,
> zhejiang wrote:
> >
> > Hi,
> >
> > Dell 1210 have three jacks on the front.
> > Two of them serve as output jack and one serve as microphone.
> > The microphone can be switched to output model too.
> >
> > There are some problems with current dell 1210 driver:
> > 1.Unable to use the front microphone
> > 2.Unable to switch the microphone
> > 3.If plug the left hp,another hp will be muted,so it's impossible to
> > work as 6-channel
> >
> > According to the issue 0003427 on alsa-bugzilla,
> 
> Oops is bad.  Does it still happen with the latest HG tree?
> This should be fixed urgently at first.
> 
The oops won't happen with the latest HG tree.
The reason of the oops is that there is no input pin.

Now the snd_hda_input_mux_put() will check the input_mux.num_items,
if it is equal to zero,snd_hda_input_mux_put() will return directly
and avoid the oops.

> > I wrote a patch and the reporter helped me to test it on his
> machine.
> > It can support the front microphone. When switch the microphone to
> > output model, it can mute/unmute the internal speaker with
> jack-sensing.
> 
> Thanks for the patch.  I have little time right now for checking in
> details, but the changes appear in fairly deep level.

Yes,It's hard to support such kind of machine with current
stac92xx_parse_auto_config().So my patch changed so many generic
functions. :-).

> I think we should rather fix the current code to handle multiple
> headphones better than the ad-hoc fixes.  Surely there will be other
> models that require similar fixes (if you see Dell has shipped how
> many different variants :)
> Takashi
> 

Great!
I think this model should support:
1.Each headphone can mute the internal speaker.
2.Even the Front mic can work output jack
3.When mic works as output jack,it can mute the internal speaker too.

Does this make sense? Thanks!

I would like to try to do it. 


> >
> > 
> 
> 

  reply	other threads:[~2007-10-19  6:05 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-18  2:49 patch for Dell 1210 which using stac9221 codec zhejiang
2007-10-18 14:55 ` Takashi Iwai
2007-10-19  6:02   ` zhejiang [this message]
2007-10-19  5:38     ` Takashi Iwai
2007-10-19  7:42       ` zhejiang
2007-10-19  8:39         ` Takashi Iwai
2007-10-22  6:08           ` zhejiang
2007-10-23  9:11             ` Takashi Iwai
2007-10-25  7:44               ` zhejiang
2007-10-25  9:07                 ` Takashi Iwai
2007-10-30  9:05                   ` zhejiang
2007-10-30 13:53                     ` Takashi Iwai
2007-10-31  8:49                       ` zhejiang
2007-10-31  8:39                         ` Takashi Iwai
2007-10-31 14:25                           ` Takashi Iwai
2007-11-01  2:14                           ` zhejiang
2007-11-08  7:06                           ` zhejiang
2007-11-08  4:48                             ` Takashi Iwai
2007-11-09  4:53                               ` zhejiang
2007-11-13  9:16                                 ` Jiang, Zhe
2007-11-13  8:10                                   ` Takashi Iwai
2007-10-30 15:48                 ` Tobin Davis
2007-10-30 13:51                   ` Takashi Iwai
2007-10-31  8:43                   ` zhejiang

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=1192773763.4306.31.camel@localhost.localdomain \
    --to=zhe.jiang@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.