Raymond Yau | 1 May 2011 02:35
Picon

Re: [PATCH 0/10] Realtek auto-parser updates

2011/4/30 Takashi Iwai <tiwai <at> suse.de>

> At Sat, 30 Apr 2011 10:44:13 +0800,
> Raymond Yau wrote:
> >
> > [1  <text/plain; ISO-8859-1 (7bit)>]
> > 2011/4/30 Takashi Iwai <tiwai <at> suse.de>
> >
> > > Hi, this is a series of patches I'm going to apply as 2.6.40 material.
> > > Basically this adds the missing features to BIOS auto-parser mode, the
> > > support of multi-channel setup (2/4/6-channels) and the auto-mute of
> > > line-out jacks as well as speakers.
> > >
> > > Many changes have been done but mostly in systematic manner.
> > > I've checked through hda-emu and a few machines with Realtek codecs,
> > > but of course can't cover all changes I made.
> > >
> > > If you see any issues with the updated tree, please let me know.
> > >
> > >
> > How about those 4 jacks 8 channels notebook (e.g. ms-1656)  ?
>
> Currently, the detection of LO/MIC extension depends on the location
> of the jacks.  It assumes that these jacks are located at the same
> place as the corresponding line-out jack(s).
>
> I wrote in that way to avoid mis-detection.  It'd be easy to change it
> to look through other locations.
>
>
(Continue reading)

Raymond Yau | 2 May 2011 02:56
Picon

Re: [PATCH 08/10] ALSA: hda - Add support for Line-Out automute to Realtek auto-parser

2011/4/30 Takashi Iwai <tiwai <at> suse.de>

> At Sat, 30 Apr 2011 08:52:58 +0200,
> David Henningsson wrote:
> >
> > On 2011-04-29 19:18, Takashi Iwai wrote:
> > > By popular demands, I add the functionality to mute / unmute the
> > > line-out jacks per the headphone plug / unplug.  For achieving this
> > > and keeping the compatibility with the old behavior, the new mixer
> > > enum "Auto-Mute Mode" is added.  With this, user can control the
> > > auto-mute behavior either disabled, speaker-only or lineout+speaker.
> >
> > Hi Takashi,
> >
> > Great to see these improvements! I have a question about this patch:
> >
> > There are three ways we can auto-mute:
> >
> > Headphones might mute Internal Speakers.
> > Headphones might mute Line out.
>

Why just only HPs just mute one line out ?

as all HDA codec except ad1986 use copy-front mode, stereo are copy to all
output jacks at rear panel for a motherboard with a 6 , 8 or 10 channel HDA
codec

> > Line out might mute Internal Speakers.
> >
(Continue reading)

Mike Rapoport | 2 May 2011 07:34
Picon
Favicon

Re: [PATCH v3] ASoC: tegra: TrimSlice machine support

Mark,
Any updates on this?

On 04/26/11 11:52, Mike Rapoport wrote:
> Signed-off-by: Mike Rapoport <mike <at> compulab.co.il>
> ---
> v3 changes:
> * s/SND_TEGRA_SOC/SND_SOC_TEGRA
> * drop 'default' setting in Kconfig
> 
> v2 changes:
> * address Stephen and Mark comments
> * rebase against Mark's for-next branch
> * switch to data based specification of widgets and routes
> * explicitly disable unused codec pins
> 
>  sound/soc/tegra/Kconfig     |    8 ++
>  sound/soc/tegra/Makefile    |    2 +
>  sound/soc/tegra/trimslice.c |  228 +++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 238 insertions(+), 0 deletions(-)
>  create mode 100644 sound/soc/tegra/trimslice.c
> 
> diff --git a/sound/soc/tegra/Kconfig b/sound/soc/tegra/Kconfig
> index 14f7119..1e75da3 100644
> --- a/sound/soc/tegra/Kconfig
> +++ b/sound/soc/tegra/Kconfig
>  <at>  <at>  -26,3 +26,11  <at>  <at>  config SND_SOC_TEGRA_WM8903
>  	  boards using the WM8093 codec. Currently, the supported boards are
>  	  Harmony, Ventana, Seaboard, Kaen, and Aebl.
>  
(Continue reading)

Raymond Yau | 2 May 2011 07:55
Picon

Re: [PATCH 08/10] ALSA: hda - Add support for Line-Out automute to Realtek auto-parser

2011/4/30 Takashi Iwai <tiwai <at> suse.de>

> A
> I guess this should cover most of use-cases, and flexible enough for
> covering both old and new behavior.
>
>
>
But it still not easy to implement multi streaming playback using Front
Panel HP for those 8 or channels codec for the desktop

This would require switch "Independent HP" switch ON will need to turn off
"Auto mute" control and make this control  write protect and inactive
Takashi Iwai | 2 May 2011 08:27
Picon

Re: [PATCH 02/10] ALSA: hda - Add channel-mode support to Realtek auto-parser

At Mon, 2 May 2011 10:06:15 +0800,
Raymond Yau wrote:
> 
> 2011/4/30 Takashi Iwai <tiwai <at> suse.de>
> 
> > This patch adds the support of "Channel Mode" enum control to Realtek
> > auto-parser.  When line-in or mic-in jacks are capable to output and
> > free DACs are available, the driver allows to switch to multi-channel
> > mode via "Channel Mode" enum switch, as already implemented in some
> > preset cases.
> >
> > Not implemented in all Realtek codecs.  Currently, ALC880, 882, 861,
> > 662 and the compatible codecs are supported.
> >
> > Signed-off-by: Takashi Iwai <tiwai <at> suse.de>
> > ---
> >
> 
> Why the line out become "speaker" for G41M-ES2L with 3 audio jacks at rear
> panel ?
> The driver won't  create "Channel Mode" control and it cannot support
> surround51

It's just because of pin fixup that I'm going to revert.

Takashi
Takashi Iwai | 2 May 2011 08:32
Picon

Re: [PATCH 08/10] ALSA: hda - Add support for Line-Out automute to Realtek auto-parser

At Mon, 2 May 2011 08:56:07 +0800,
Raymond Yau wrote:
> 
> 2011/4/30 Takashi Iwai <tiwai <at> suse.de>
> 
> > At Sat, 30 Apr 2011 08:52:58 +0200,
> > David Henningsson wrote:
> > >
> > > On 2011-04-29 19:18, Takashi Iwai wrote:
> > > > By popular demands, I add the functionality to mute / unmute the
> > > > line-out jacks per the headphone plug / unplug.  For achieving this
> > > > and keeping the compatibility with the old behavior, the new mixer
> > > > enum "Auto-Mute Mode" is added.  With this, user can control the
> > > > auto-mute behavior either disabled, speaker-only or lineout+speaker.
> > >
> > > Hi Takashi,
> > >
> > > Great to see these improvements! I have a question about this patch:
> > >
> > > There are three ways we can auto-mute:
> > >
> > > Headphones might mute Internal Speakers.
> > > Headphones might mute Line out.
> >
> 
> Why just only HPs just mute one line out ?

Who said that it mutes only one line out? :)
Actually it mutes all line-outs.

(Continue reading)

Raymond Yau | 2 May 2011 08:57
Picon

Re: [PATCH 02/10] ALSA: hda - Add channel-mode support to Realtek auto-parser

2011/5/2 Takashi Iwai <tiwai <at> suse.de>

> At Mon, 2 May 2011 10:06:15 +0800,
> Raymond Yau wrote:
> >
> > 2011/4/30 Takashi Iwai <tiwai <at> suse.de>
> >
> > > This patch adds the support of "Channel Mode" enum control to Realtek
> > > auto-parser.  When line-in or mic-in jacks are capable to output and
> > > free DACs are available, the driver allows to switch to multi-channel
> > > mode via "Channel Mode" enum switch, as already implemented in some
> > > preset cases.
> > >
> > > Not implemented in all Realtek codecs.  Currently, ALC880, 882, 861,
> > > 662 and the compatible codecs are supported.
> > >
> > > Signed-off-by: Takashi Iwai <tiwai <at> suse.de>
> > > ---
> > >
> >
> > Why the line out become "speaker" for G41M-ES2L with 3 audio jacks at
> rear
> > panel ?
> > The driver won't  create "Channel Mode" control and it cannot support
> > surround51
>
> It's just because of pin fixup that I'm going to revert.
>
> Even revert  the pin config, and distable auto mute,
the channel mode still allow 2, 4 or 6 channels
(Continue reading)

Takashi Iwai | 2 May 2011 09:16
Picon

Re: [PATCH 02/10] ALSA: hda - Add channel-mode support to Realtek auto-parser

At Mon, 2 May 2011 14:57:51 +0800,
Raymond Yau wrote:
> 
> 2011/5/2 Takashi Iwai <tiwai <at> suse.de>
> 
> > At Mon, 2 May 2011 10:06:15 +0800,
> > Raymond Yau wrote:
> > >
> > > 2011/4/30 Takashi Iwai <tiwai <at> suse.de>
> > >
> > > > This patch adds the support of "Channel Mode" enum control to Realtek
> > > > auto-parser.  When line-in or mic-in jacks are capable to output and
> > > > free DACs are available, the driver allows to switch to multi-channel
> > > > mode via "Channel Mode" enum switch, as already implemented in some
> > > > preset cases.
> > > >
> > > > Not implemented in all Realtek codecs.  Currently, ALC880, 882, 861,
> > > > 662 and the compatible codecs are supported.
> > > >
> > > > Signed-off-by: Takashi Iwai <tiwai <at> suse.de>
> > > > ---
> > > >
> > >
> > > Why the line out become "speaker" for G41M-ES2L with 3 audio jacks at
> > rear
> > > panel ?
> > > The driver won't  create "Channel Mode" control and it cannot support
> > > surround51
> >
> > It's just because of pin fixup that I'm going to revert.
(Continue reading)

Takashi Iwai | 2 May 2011 09:18
Picon

Re: [PATCH 08/10] ALSA: hda - Add support for Line-Out automute to Realtek auto-parser

At Mon, 2 May 2011 13:55:55 +0800,
Raymond Yau wrote:
> 
> 2011/4/30 Takashi Iwai <tiwai <at> suse.de>
> 
> > A
> > I guess this should cover most of use-cases, and flexible enough for
> > covering both old and new behavior.
> >
> >
> >
> But it still not easy to implement multi streaming playback using Front
> Panel HP for those 8 or channels codec for the desktop
> 
> This would require switch "Independent HP" switch ON will need to turn off
> "Auto mute" control and make this control  write protect and inactive

The independent-HP switch and the 8-channel automute using hp as side
are different issues.  The latter can be implemented without the
former.  Of course, when the former switch is implemented, the
conflict has to be resolved.

Takashi
Takashi Iwai | 2 May 2011 09:22
Picon

Re: [PATCH 0/10] Realtek auto-parser updates

At Sun, 1 May 2011 08:35:17 +0800,
Raymond Yau wrote:
> 
> 2011/4/30 Takashi Iwai <tiwai <at> suse.de>
> 
> > At Sat, 30 Apr 2011 10:44:13 +0800,
> > Raymond Yau wrote:
> > >
> > > [1  <text/plain; ISO-8859-1 (7bit)>]
> > > 2011/4/30 Takashi Iwai <tiwai <at> suse.de>
> > >
> > > > Hi, this is a series of patches I'm going to apply as 2.6.40 material.
> > > > Basically this adds the missing features to BIOS auto-parser mode, the
> > > > support of multi-channel setup (2/4/6-channels) and the auto-mute of
> > > > line-out jacks as well as speakers.
> > > >
> > > > Many changes have been done but mostly in systematic manner.
> > > > I've checked through hda-emu and a few machines with Realtek codecs,
> > > > but of course can't cover all changes I made.
> > > >
> > > > If you see any issues with the updated tree, please let me know.
> > > >
> > > >
> > > How about those 4 jacks 8 channels notebook (e.g. ms-1656)  ?
> >
> > Currently, the detection of LO/MIC extension depends on the location
> > of the jacks.  It assumes that these jacks are located at the same
> > place as the corresponding line-out jack(s).
> >
> > I wrote in that way to avoid mis-detection.  It'd be easy to change it
(Continue reading)


Gmane