All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zhihe Tu <tuzhihe@pcasl.com>
To: alsa-devel@alsa-project.org
Subject: Re: Intel  Cherry Trail platform sound issue
Date: Fri, 6 Nov 2015 17:15:22 +0800	[thread overview]
Message-ID: <000301d11873$ac76af60$05640e20$@com> (raw)
In-Reply-To: 

Can anyone give some suggestions?

Thanks 
Tu

发件人: 涂治河 [mailto:tuzhihe@pcasl.com] 
发送时间: 2015年11月5日 19:37
收件人: 'alsa-devel@alsa-project.org'
主题: Intel Cherry Trail platform sound issue

Hi All,

I get cherry trail tablet, and install ubuntu14.04.3, Kernel verison is 3.19.  The table using rt5672 codec with no sound output in ubuntu, but it works in win8.

I get intel sst firmware fw_sst_22a8.bin from https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/intel
The driver load the firmware successfully and I change some alsa mixer items:
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

But there are some errors with dmesg:

 [   16.359646]  Audio Port: ASoC: no backend DAIs enabled for Audio Port
…
[   16.382156] sst-mfld-platform sst-mfld-platform: Enter: enable=0 port_name=ssp2-port
[   16.383984] sst-mfld-platform sst-mfld-platform: Enter: enable=1 port_name=ssp2-port
[   16.541809] intel_sst_acpi 808622A8:00: Alloc for str 1 pipe 0x90
[   17.545512] intel_sst_acpi 808622A8:00: Wait timed-out condition:0x0, msg_id:0x1 fw_state 0x2
[   17.555207] intel_sst_acpi 808622A8:00: fw returned err -16
[   18.605859] intel_sst_acpi 808622A8:00: Wait timed-out condition:0x0, msg_id:0x1 fw_state 0x3
[   18.615908] intel_sst_acpi 808622A8:00: fw returned err -16
[   19.621943] intel_sst_acpi 808622A8:00: Wait timed-out condition:0x0, msg_id:0x2 fw_state 0x3
[   19.631499] intel_sst_acpi 808622A8:00: fw returned err -16
[   20.637527] intel_sst_acpi 808622A8:00: Wait timed-out condition:0x0, msg_id:0x2 fw_state 0x3
[   20.647083] intel_sst_acpi 808622A8:00: fw returned err -16
[   20.682979] sst-mfld-platform sst-mfld-platform: Enter: enable=0 port_name=ssp2-port
[   21.681280] intel_sst_acpi 808622A8:00: Wait timed-out condition:0x0, msg_id:0x2 fw_state 0x3
[   21.690836] intel_sst_acpi 808622A8:00: fw returned err -16
[   21.697087] intel_sst_acpi 808622A8:00: free stream returned err -19
[   22.757082] intel_sst_acpi 808622A8:00: Wait timed-out condition:0x0, msg_id:0x1 fw_state 0x3
[   22.766640] intel_sst_acpi 808622A8:00: fw returned err -16
[   23.772867] intel_sst_acpi 808622A8:00: Wait timed-out condition:0x0, msg_id:0x1 fw_state 0x3
[   23.782432] intel_sst_acpi 808622A8:00: fw returned err -16
[   23.857938] sst-mfld-platform sst-mfld-platform: Enter: enable=1 port_name=ssp2-port
[   23.989254] intel_sst_acpi 808622A8:00: Alloc for str 1 pipe 0x90
[   23.989491] intel_sst_acpi 808622A8:00: FW sent error response 0x40034
[   23.996864] intel_sst_acpi 808622A8:00: FW alloc failed ret -4
[   24.003399] intel_sst_acpi 808622A8:00: sst_get_stream returned err -5
[   24.010737] sst-mfld-platform sst-mfld-platform: ASoC: DAI prepare error: -5
[   24.018652]  Audio Port: ASoC: prepare FE Audio Port failed
[   25.024622] intel_sst_acpi 808622A8:00: Wait timed-out condition:0x0, msg_id:0x1 fw_state 0x3
[   25.034180] intel_sst_acpi 808622A8:00: fw returned err -16
[   26.040399] intel_sst_acpi 808622A8:00: Wait timed-out condition:0x0, msg_id:0x1 fw_state 0x3
[   26.049955] intel_sst_acpi 808622A8:00: fw returned err -16
[   27.056333] intel_sst_acpi 808622A8:00: Wait timed-out condition:0x0, msg_id:0x2 fw_state 0x3
[   27.065890] intel_sst_acpi 808622A8:00: fw returned err -16
[   28.072032] intel_sst_acpi 808622A8:00: Wait timed-out condition:0x0, msg_id:0x2 fw_state 0x3
[   28.081591] intel_sst_acpi 808622A8:00: fw returned err -16
[   28.117427]  Audio Port: sst: error code = -22
[   28.122401] snd_pcm_update_hw_ptr0: 120 callbacks suppressed
[   28.122409] cht-bsw-rt5672 cht-bsw-rt5672: BUG: , pos = -22, buffer size = 96000, period size = 48000
[   28.132784]  Audio Port: sst: error code = -22
[   28.137749] cht-bsw-rt5672 cht-bsw-rt5672: BUG: , pos = -22, buffer size = 96000, period size = 48000
[   28.372967]  Audio Port: sst: error code = -22
[   28.377946] cht-bsw-rt5672 cht-bsw-rt5672: BUG: , pos = -22, buffer size = 96000, period size = 48000
[   28.388317]  Audio Port: sst: error code = -22
[   28.393289] cht-bsw-rt5672 cht-bsw-rt5672: BUG: , pos = -22, buffer size = 96000, period size = 48000
[   28.403687]  Audio Port: sst: error code = -22

lsmod info:
snd_soc_sst_cht_bsw_rt5672    16384  0 
snd_intel_sst_acpi     16384  1 
snd_intel_sst_core     73728  1 snd_intel_sst_acpi
snd_soc_sst_mfld_platform    77824  3 snd_intel_sst_core
snd_soc_rt5670        106496  1 
snd_soc_rl6231         16384  1 snd_soc_rt5670
snd_soc_core          196608  4 snd_soc_rt5670,snd_soc_sst_cht_bsw_rt5672,snd_soc_sst_mfld_platform
snd_seq_midi           16384  0 
snd_seq_midi_event     16384  1 snd_seq_midi
snd_compress           20480  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_rawmidi            32768  1 snd_seq_midi
snd_pcm               106496  5 snd_soc_rt5670,snd_soc_core,snd_soc_sst_cht_bsw_rt5672,snd_soc_sst_mfld_platform,snd_pcm_dmaengine
snd_seq                65536  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         16384  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              32768  2 snd_pcm,snd_seq
snd                    86016  10 snd_soc_core,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_soc_sst_mfld_platform,snd_seq_device,snd_compress
soundcore              16384  1 snd

I have no idea with the next step, so can anyone give a look? 

Thanks 
Tu


__________ Information from ESET Smart Security, version of virus signature database 4468 (20090929) __________

The message was checked by ESET Smart Security.

http://www.eset.com
 

__________ Information from ESET Smart Security, version of virus signature database 4468 (20090929) __________

The message was checked by ESET Smart Security.

http://www.eset.com
 

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

             reply	other threads:[~2015-11-06  9:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-06  9:15 Zhihe Tu [this message]
2016-11-05 15:01 ` Intel Cherry Trail platform sound issue Koul, Vinod
  -- strict thread matches above, loose matches on Subject: below --
2015-11-06  9:16 Zhihe Tu

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='000301d11873$ac76af60$05640e20$@com' \
    --to=tuzhihe@pcasl.com \
    --cc=alsa-devel@alsa-project.org \
    /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.