All of lore.kernel.org
 help / color / mirror / Atom feed
* ALSA driver issue with the ssm2602.c
@ 2012-05-03 19:30 Bishop, Mark
  2012-05-04 17:56 ` Bishop, Mark
  0 siblings, 1 reply; 3+ messages in thread
From: Bishop, Mark @ 2012-05-03 19:30 UTC (permalink / raw)
  To: alsa-devel

When I enable the 'Output Mixer HiFi' using amixer it also powers up the
Mic input on this codec.  I believe this is incorrect.  I would like to
modify the driver to fix it but am having issues with the ALSA
structures in the driver.

 

Would I be off if I attempt to make my changes in the snd_soc_dapm_route
structures?  I am unsure how everything is hooked together in all those
structs{}.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ALSA driver issue with the ssm2602.c
  2012-05-03 19:30 ALSA driver issue with the ssm2602.c Bishop, Mark
@ 2012-05-04 17:56 ` Bishop, Mark
  2012-05-04 20:48   ` Alan Horstmann
  0 siblings, 1 reply; 3+ messages in thread
From: Bishop, Mark @ 2012-05-04 17:56 UTC (permalink / raw)
  To: alsa-devel

> -----Original Message-----
> From: alsa-devel-bounces@alsa-project.org [mailto:alsa-devel-
> bounces@alsa-project.org] On Behalf Of Bishop, Mark
> Sent: Thursday, May 03, 2012 3:31 PM
> To: alsa-devel@alsa-project.org
> Subject: [alsa-devel] ALSA driver issue with the ssm2602.c
> 
> When I enable the 'Output Mixer HiFi' using amixer it also powers up
> the
> Mic input on this codec.  I believe this is incorrect.  I would like
to
> modify the driver to fix it but am having issues with the ALSA
> structures in the driver.
> 
> 
> 
> Would I be off if I attempt to make my changes in the
> snd_soc_dapm_route
> structures?  I am unsure how everything is hooked together in all
those
> structs{}.
> 

Where in ALSA are the simple controls for the codecs created?  As an
example, on this ssm2602 I am looking for the 'Master' simple control
that I would modify in amixer, but these are the only two 'Master'
labels in ssm2602.c:

SOC_DOUBLE_R_TLV("Master Playback Volume", SSM2602_LOUT1V,
SSM2602_ROUT1V,
        0, 127, 0, ssm260x_outmix_tlv),
SOC_DOUBLE_R("Master Playback ZC Switch", SSM2602_LOUT1V,
SSM2602_ROUT1V,
        7, 1, 0),

And:
root:/> amixer |grep  Master
Simple mixer control 'Master',0
Simple mixer control 'Master Playback ZC',0

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ALSA driver issue with the ssm2602.c
  2012-05-04 17:56 ` Bishop, Mark
@ 2012-05-04 20:48   ` Alan Horstmann
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Horstmann @ 2012-05-04 20:48 UTC (permalink / raw)
  To: Bishop, Mark; +Cc: alsa-devel

Hi Mark, (same guys, different list!)

On Friday 04 May 2012 18:56, Bishop, Mark wrote:
> Where in ALSA are the simple controls for the codecs created?  As an
> example, on this ssm2602 I am looking for the 'Master' simple control
> that I would modify in amixer, but these are the only two 'Master'
> labels in ssm2602.c:
>
> SOC_DOUBLE_R_TLV("Master Playback Volume", SSM2602_LOUT1V,
> SSM2602_ROUT1V,
>         0, 127, 0, ssm260x_outmix_tlv),
> SOC_DOUBLE_R("Master Playback ZC Switch", SSM2602_LOUT1V,
> SSM2602_ROUT1V,
>         7, 1, 0),

As far as I understand it (hopefully others will correct me) the simple 
controls in amixer are an abstracted sub-set of the real controls, so
	amixer controls
shows the controls as generated by the card driver, and available through 
alsamixer.  But
	amixer scontrols
shows a simplified version, derived from the names(?).

Regards

Alan

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-05-04 20:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-03 19:30 ALSA driver issue with the ssm2602.c Bishop, Mark
2012-05-04 17:56 ` Bishop, Mark
2012-05-04 20:48   ` Alan Horstmann

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.