All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
To: alsa-devel@alsa-project.org, tuzhihe@pcasl.com
Subject: Re: Intel Cherry Trail -- No sound in linux
Date: Mon, 16 Nov 2015 19:54:17 -0600	[thread overview]
Message-ID: <564A88C9.7020008@linux.intel.com> (raw)
In-Reply-To: <20151116154335174375283@pcasl.com>


On 11/16/2015 01:43 AM, ZH Tu wrote:
> Hi Pierre-Louis, thanks for your reply.
> 
> Maybe I am not make myself clear. 
> 
> Actually I refer some configure from baytrail platform:
> amixer -c0 sset 'codec_out0 mix 0 pcm0_in' on
> amixer -c0 sset 'media0_out mix 0 media1_in' on
> amixer -c0 sset 'media1_in Gain 0' 80% 
> amixer -c0 sset 'media1_in Gain 0 Ramp Delay' 50
> amixer -c0 sset 'media1_in Gain 0' off
> amixer -c0 sset 'pcm0_in Gain 0' 80% 
> amixer -c0 sset 'pcm0_in Gain 0 Ramp Delay' 50
> amixer -c0 sset 'pcm0_in Gain 0' off
> amixer -c0 sset 'codec_out0 Gain 0' 80%
> amixer -c0 sset 'codec_out0 Gain 0 Ramp Delay' 50
> amixer -c0 sset 'codec_out0 Gain 0' off
> 
> Also there're some settings for the RT5672 codec, but I do not remember now.

it seems that the link is active with no data? Couple of suggestions:

1. try to enable a DSP loopback to see if the data isn't garbled by the driver
amixer cset "name='pcm1_out mix 0 pcm0_in" on

2. try a loopback from capture to playback to see if the data sampled by the codec can be played out.
amixer -c0 sset 'codec_out0 mix 0 codec_in0' on
amixer -c0 sset 'codec_out0 mix 0 codec_in1' on

3. replicate all the data on codec_out1 to make sure you have data on all 4 slots

amixer -c0 sset 'codec_out1 mix 0 pcm0_in' on
amixer -c0 sset 'codec_out1 Gain 0' 80%
amixer -c0 sset 'codec_out1 Gain 0 Ramp Delay' 50
amixer -c0 sset 'codec_out1 Gain 0' off

  reply	other threads:[~2015-11-17  1:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-10  8:38 Intel Cherry Trail -- No sound in linux Zhihe Tu
2015-11-10 19:00 ` Pierre-Louis Bossart
2015-11-12  6:45   ` Zhihe Tu
2015-11-12 17:20     ` Pierre-Louis Bossart
2015-11-16  7:43       ` ZH Tu
2015-11-17  1:54         ` Pierre-Louis Bossart [this message]
2015-12-12  8:25           ` ZH Tu
2015-12-14 22:54             ` Pierre-Louis Bossart
  -- strict thread matches above, loose matches on Subject: below --
2015-11-09  3:21 Zhihe Tu
2015-11-11 16:04 ` Pierre-Louis Bossart

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=564A88C9.7020008@linux.intel.com \
    --to=pierre-louis.bossart@linux.intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=tuzhihe@pcasl.com \
    /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.