Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port












1














I am trying to bring up audio on my Baytrail- rt5640 on Ubuntu 16.04 for the last few weeks. But there is no sound even with your kernel patch on top 4.10-Rc5 +Ubuntu 16.04



I have rebuilt my kernel since my DSDT table doesn't have information about the CHAN for the Device (RTEK). I took the chan info from the windows.



Please check the logs.



Any suggestions??



Please see my kernel log



[ 6.427853] Audio Probbed BIOS Routing: AIF1 connected 
[ 6.427858] bytcr_rt5640 bytcr_rt5640: quirk IN1_MAP enabled
[ 6.427861] bytcr_rt5640 bytcr_rt5640: quirk DIFF_MIC enabled
[ 6.427863] bytcr_rt5640 bytcr_rt5640: quirk SSP0_AIF1 enabled
[ 6.427865] bytcr_rt5640 bytcr_rt5640: quirk MCLK_EN enabled
[ 6.427867] Audio Probbed byt_rt5640_cpu_dai_name ssp0-port
[ 6.427875] bytcr_rt5640 bytcr_rt5640: Failed to get MCLK from pmc_plt_clk_3: -2
[ 6.431975] Audio Probbed Failed to get MCLK from pmc_plt_clk_3: -2
[ 6.439096] rt5640_probe snd_soc_codec_force_bias_level
[ 6.442536] rt5640_probe sRT5640_ID_5640
[ 6.442758] rt5640_probe return Success now
[ 6.443609] bytcr_rt5640 bytcr_rt5640: snd-soc-dummy-dai <-> media-cpu-dai mapping ok
[ 6.443678] bytcr_rt5640 bytcr_rt5640: snd-soc-dummy-dai <-> deepbuffer-cpu-dai mapping ok
[ 6.443724] compress asoc: snd-soc-dummy-dai <-> compress-cpu-dai mapping ok
[ 6.444599] bytcr_rt5640 bytcr_rt5640: rt5640-aif1 <-> ssp0-port mapping ok
[ 6.447420] devm_snd_soc_register_card Success call platform_set_drvdata 0
[ 6.447422] Audio Probbed snd_byt_rt5640_mc_probe returns
[ 10.603446] ASoC: Baytrail Audio Port no valid capture route
[ 10.603455] soc_pcm_open caled
[ 10.603457] ASoC: cpu_dai->name media-cpu-dai
[ 10.654754] SST_IPC ***IPC_IA_FW_INIT_CMPLT_MRFLD: RX ***
[ 10.654757] SST_IPC *** FW Init msg came***
[ 10.654765] intel_sst_acpi 80860F28:00: FW Version 01.0c.00.01
[ 10.654766] FW Version RX 01.0c.00.01
[ 10.654768] Build date RX Mar 4 2015 Time 22:09:57
[ 10.654797] platform->component.name = sst-mfld-platform
[ 10.654800] ASoC: start codec cpu_dai->name media-cpu-dai
[ 10.655173] Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
[ 10.655711] Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
[ 10.655970] Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
----------------------------------------------------









share|improve this question





























    1














    I am trying to bring up audio on my Baytrail- rt5640 on Ubuntu 16.04 for the last few weeks. But there is no sound even with your kernel patch on top 4.10-Rc5 +Ubuntu 16.04



    I have rebuilt my kernel since my DSDT table doesn't have information about the CHAN for the Device (RTEK). I took the chan info from the windows.



    Please check the logs.



    Any suggestions??



    Please see my kernel log



    [ 6.427853] Audio Probbed BIOS Routing: AIF1 connected 
    [ 6.427858] bytcr_rt5640 bytcr_rt5640: quirk IN1_MAP enabled
    [ 6.427861] bytcr_rt5640 bytcr_rt5640: quirk DIFF_MIC enabled
    [ 6.427863] bytcr_rt5640 bytcr_rt5640: quirk SSP0_AIF1 enabled
    [ 6.427865] bytcr_rt5640 bytcr_rt5640: quirk MCLK_EN enabled
    [ 6.427867] Audio Probbed byt_rt5640_cpu_dai_name ssp0-port
    [ 6.427875] bytcr_rt5640 bytcr_rt5640: Failed to get MCLK from pmc_plt_clk_3: -2
    [ 6.431975] Audio Probbed Failed to get MCLK from pmc_plt_clk_3: -2
    [ 6.439096] rt5640_probe snd_soc_codec_force_bias_level
    [ 6.442536] rt5640_probe sRT5640_ID_5640
    [ 6.442758] rt5640_probe return Success now
    [ 6.443609] bytcr_rt5640 bytcr_rt5640: snd-soc-dummy-dai <-> media-cpu-dai mapping ok
    [ 6.443678] bytcr_rt5640 bytcr_rt5640: snd-soc-dummy-dai <-> deepbuffer-cpu-dai mapping ok
    [ 6.443724] compress asoc: snd-soc-dummy-dai <-> compress-cpu-dai mapping ok
    [ 6.444599] bytcr_rt5640 bytcr_rt5640: rt5640-aif1 <-> ssp0-port mapping ok
    [ 6.447420] devm_snd_soc_register_card Success call platform_set_drvdata 0
    [ 6.447422] Audio Probbed snd_byt_rt5640_mc_probe returns
    [ 10.603446] ASoC: Baytrail Audio Port no valid capture route
    [ 10.603455] soc_pcm_open caled
    [ 10.603457] ASoC: cpu_dai->name media-cpu-dai
    [ 10.654754] SST_IPC ***IPC_IA_FW_INIT_CMPLT_MRFLD: RX ***
    [ 10.654757] SST_IPC *** FW Init msg came***
    [ 10.654765] intel_sst_acpi 80860F28:00: FW Version 01.0c.00.01
    [ 10.654766] FW Version RX 01.0c.00.01
    [ 10.654768] Build date RX Mar 4 2015 Time 22:09:57
    [ 10.654797] platform->component.name = sst-mfld-platform
    [ 10.654800] ASoC: start codec cpu_dai->name media-cpu-dai
    [ 10.655173] Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
    [ 10.655711] Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
    [ 10.655970] Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
    ----------------------------------------------------









    share|improve this question



























      1












      1








      1







      I am trying to bring up audio on my Baytrail- rt5640 on Ubuntu 16.04 for the last few weeks. But there is no sound even with your kernel patch on top 4.10-Rc5 +Ubuntu 16.04



      I have rebuilt my kernel since my DSDT table doesn't have information about the CHAN for the Device (RTEK). I took the chan info from the windows.



      Please check the logs.



      Any suggestions??



      Please see my kernel log



      [ 6.427853] Audio Probbed BIOS Routing: AIF1 connected 
      [ 6.427858] bytcr_rt5640 bytcr_rt5640: quirk IN1_MAP enabled
      [ 6.427861] bytcr_rt5640 bytcr_rt5640: quirk DIFF_MIC enabled
      [ 6.427863] bytcr_rt5640 bytcr_rt5640: quirk SSP0_AIF1 enabled
      [ 6.427865] bytcr_rt5640 bytcr_rt5640: quirk MCLK_EN enabled
      [ 6.427867] Audio Probbed byt_rt5640_cpu_dai_name ssp0-port
      [ 6.427875] bytcr_rt5640 bytcr_rt5640: Failed to get MCLK from pmc_plt_clk_3: -2
      [ 6.431975] Audio Probbed Failed to get MCLK from pmc_plt_clk_3: -2
      [ 6.439096] rt5640_probe snd_soc_codec_force_bias_level
      [ 6.442536] rt5640_probe sRT5640_ID_5640
      [ 6.442758] rt5640_probe return Success now
      [ 6.443609] bytcr_rt5640 bytcr_rt5640: snd-soc-dummy-dai <-> media-cpu-dai mapping ok
      [ 6.443678] bytcr_rt5640 bytcr_rt5640: snd-soc-dummy-dai <-> deepbuffer-cpu-dai mapping ok
      [ 6.443724] compress asoc: snd-soc-dummy-dai <-> compress-cpu-dai mapping ok
      [ 6.444599] bytcr_rt5640 bytcr_rt5640: rt5640-aif1 <-> ssp0-port mapping ok
      [ 6.447420] devm_snd_soc_register_card Success call platform_set_drvdata 0
      [ 6.447422] Audio Probbed snd_byt_rt5640_mc_probe returns
      [ 10.603446] ASoC: Baytrail Audio Port no valid capture route
      [ 10.603455] soc_pcm_open caled
      [ 10.603457] ASoC: cpu_dai->name media-cpu-dai
      [ 10.654754] SST_IPC ***IPC_IA_FW_INIT_CMPLT_MRFLD: RX ***
      [ 10.654757] SST_IPC *** FW Init msg came***
      [ 10.654765] intel_sst_acpi 80860F28:00: FW Version 01.0c.00.01
      [ 10.654766] FW Version RX 01.0c.00.01
      [ 10.654768] Build date RX Mar 4 2015 Time 22:09:57
      [ 10.654797] platform->component.name = sst-mfld-platform
      [ 10.654800] ASoC: start codec cpu_dai->name media-cpu-dai
      [ 10.655173] Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
      [ 10.655711] Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
      [ 10.655970] Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
      ----------------------------------------------------









      share|improve this question















      I am trying to bring up audio on my Baytrail- rt5640 on Ubuntu 16.04 for the last few weeks. But there is no sound even with your kernel patch on top 4.10-Rc5 +Ubuntu 16.04



      I have rebuilt my kernel since my DSDT table doesn't have information about the CHAN for the Device (RTEK). I took the chan info from the windows.



      Please check the logs.



      Any suggestions??



      Please see my kernel log



      [ 6.427853] Audio Probbed BIOS Routing: AIF1 connected 
      [ 6.427858] bytcr_rt5640 bytcr_rt5640: quirk IN1_MAP enabled
      [ 6.427861] bytcr_rt5640 bytcr_rt5640: quirk DIFF_MIC enabled
      [ 6.427863] bytcr_rt5640 bytcr_rt5640: quirk SSP0_AIF1 enabled
      [ 6.427865] bytcr_rt5640 bytcr_rt5640: quirk MCLK_EN enabled
      [ 6.427867] Audio Probbed byt_rt5640_cpu_dai_name ssp0-port
      [ 6.427875] bytcr_rt5640 bytcr_rt5640: Failed to get MCLK from pmc_plt_clk_3: -2
      [ 6.431975] Audio Probbed Failed to get MCLK from pmc_plt_clk_3: -2
      [ 6.439096] rt5640_probe snd_soc_codec_force_bias_level
      [ 6.442536] rt5640_probe sRT5640_ID_5640
      [ 6.442758] rt5640_probe return Success now
      [ 6.443609] bytcr_rt5640 bytcr_rt5640: snd-soc-dummy-dai <-> media-cpu-dai mapping ok
      [ 6.443678] bytcr_rt5640 bytcr_rt5640: snd-soc-dummy-dai <-> deepbuffer-cpu-dai mapping ok
      [ 6.443724] compress asoc: snd-soc-dummy-dai <-> compress-cpu-dai mapping ok
      [ 6.444599] bytcr_rt5640 bytcr_rt5640: rt5640-aif1 <-> ssp0-port mapping ok
      [ 6.447420] devm_snd_soc_register_card Success call platform_set_drvdata 0
      [ 6.447422] Audio Probbed snd_byt_rt5640_mc_probe returns
      [ 10.603446] ASoC: Baytrail Audio Port no valid capture route
      [ 10.603455] soc_pcm_open caled
      [ 10.603457] ASoC: cpu_dai->name media-cpu-dai
      [ 10.654754] SST_IPC ***IPC_IA_FW_INIT_CMPLT_MRFLD: RX ***
      [ 10.654757] SST_IPC *** FW Init msg came***
      [ 10.654765] intel_sst_acpi 80860F28:00: FW Version 01.0c.00.01
      [ 10.654766] FW Version RX 01.0c.00.01
      [ 10.654768] Build date RX Mar 4 2015 Time 22:09:57
      [ 10.654797] platform->component.name = sst-mfld-platform
      [ 10.654800] ASoC: start codec cpu_dai->name media-cpu-dai
      [ 10.655173] Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
      [ 10.655711] Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
      [ 10.655970] Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
      ----------------------------------------------------






      sound intel






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 23 '17 at 13:49







      user589808

















      asked Feb 23 '17 at 13:31









      Ajith PrasadAjith Prasad

      613




      613






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Whilst installing Gentoo on a GPD Pocket I had the same problem, strangely I found that pulseaudio fixes the problem... run it and it quits with an error but after that you can use aplay to playback a wav file.



          Output of pulse audio when I run it:



          W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
          Killed


          This is the output of my dmesg if I try using aplay before running pulseaudio, I am using kernel 4.14.0 (just released at time of writing):



          [   98.209199] hci_uart_bcm serial0-0: BCM irq: 134
          [ 98.209250] usb 1-3: USB disconnect, device number 3
          [ 98.283103] Error: Driver 'pcspkr' is already registered, aborting...
          [ 98.350269] rt5645 i2c-10EC5645:00: i2c-10EC5645:00 supply avdd not found, using dummy regulator
          [ 98.350316] rt5645 i2c-10EC5645:00: i2c-10EC5645:00 supply cpvdd not found, using dummy regulator
          [ 98.431735] Bluetooth: hci0: BCM: chip id 101
          [ 98.432058] Bluetooth: hci0: BCM: features 0x2f
          [ 98.433075] Bluetooth: hci0: BCM4354A2
          [ 98.433080] Bluetooth: hci0: BCM4356A2 (001.003.015) build 0000
          [ 98.442394] bluetooth hci0: Direct firmware load for brcm/BCM4356A2.hcd failed with error -2
          [ 98.442398] Bluetooth: hci0: BCM: Patch brcm/BCM4356A2.hcd not found
          [ 98.547281] intel_sst_acpi 808622A8:00: LPE base: 0xa1600000 size:0x200000
          [ 98.547284] intel_sst_acpi 808622A8:00: IRAM base: 0xa16c0000
          [ 98.547346] intel_sst_acpi 808622A8:00: DRAM base: 0xa1700000
          [ 98.547359] intel_sst_acpi 808622A8:00: SHIM base: 0xa1740000
          [ 98.547366] intel_sst_acpi 808622A8:00: Mailbox base: 0xa1744000
          [ 98.547370] intel_sst_acpi 808622A8:00: DDR base: 0x20000000
          [ 98.547598] intel_sst_acpi 808622A8:00: Got drv data max stream 25
          [ 98.612056] cht-bsw-rt5645 cht-bsw-rt5645: snd-soc-dummy-dai <-> media-cpu-dai mapping ok
          [ 98.612107] cht-bsw-rt5645 cht-bsw-rt5645: snd-soc-dummy-dai <-> deepbuffer-cpu-dai mapping ok
          [ 98.612131] compress asoc: snd-soc-dummy-dai <-> compress-cpu-dai mapping ok
          [ 98.612461] cht-bsw-rt5645 cht-bsw-rt5645: rt5645-aif1 <-> ssp2-port mapping ok
          [ 98.668833] input: chtrt5645 Headset as /devices/pci0000:00/808622A8:00/cht-bsw-rt5645/sound/card1/input14
          [ 99.043453] hpet1: lost 9601 rtc interrupts
          [ 190.221386] intel_sst_acpi 808622A8:00: FW Version 01.0b.02.02
          [ 190.222291] Audio Port: ASoC: no backend DAIs enabled for Audio Port
          [ 230.054571] Audio Port: ASoC: no backend DAIs enabled for Audio Port


          If I try and play a plain WAV file with aplay -D hw:1,0 /file.wav then I get this error message:



          Playing WAVE '/file.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
          Warning: rate is not accurate (requested = 44100Hz, got = 48000Hz)
          please, try the plug plugin
          aplay: set_params:1361: Unable to install hw params:
          ACCESS: RW_INTERLEAVED
          FORMAT: S16_LE
          SUBFORMAT: STD
          SAMPLE_BITS: 16
          FRAME_BITS: 32
          CHANNELS: 2
          RATE: 48000
          PERIOD_TIME: 125000
          PERIOD_SIZE: 6000
          PERIOD_BYTES: 24000
          PERIODS: 4
          BUFFER_TIME: 500000
          BUFFER_SIZE: 24000
          BUFFER_BYTES: 96000
          TICK_TIME: 0


          Replacing hw with plughw does not make a big difference.



          I will try and find out which part of pulseaudio fixed the problem... it must be quite easy as after it fixed the problem it quit with an error.






          share|improve this answer





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f886512%2fbaytrail-audio-port-asoc-no-backend-dais-enabled-for-baytrail-audio-port%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Whilst installing Gentoo on a GPD Pocket I had the same problem, strangely I found that pulseaudio fixes the problem... run it and it quits with an error but after that you can use aplay to playback a wav file.



            Output of pulse audio when I run it:



            W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
            Killed


            This is the output of my dmesg if I try using aplay before running pulseaudio, I am using kernel 4.14.0 (just released at time of writing):



            [   98.209199] hci_uart_bcm serial0-0: BCM irq: 134
            [ 98.209250] usb 1-3: USB disconnect, device number 3
            [ 98.283103] Error: Driver 'pcspkr' is already registered, aborting...
            [ 98.350269] rt5645 i2c-10EC5645:00: i2c-10EC5645:00 supply avdd not found, using dummy regulator
            [ 98.350316] rt5645 i2c-10EC5645:00: i2c-10EC5645:00 supply cpvdd not found, using dummy regulator
            [ 98.431735] Bluetooth: hci0: BCM: chip id 101
            [ 98.432058] Bluetooth: hci0: BCM: features 0x2f
            [ 98.433075] Bluetooth: hci0: BCM4354A2
            [ 98.433080] Bluetooth: hci0: BCM4356A2 (001.003.015) build 0000
            [ 98.442394] bluetooth hci0: Direct firmware load for brcm/BCM4356A2.hcd failed with error -2
            [ 98.442398] Bluetooth: hci0: BCM: Patch brcm/BCM4356A2.hcd not found
            [ 98.547281] intel_sst_acpi 808622A8:00: LPE base: 0xa1600000 size:0x200000
            [ 98.547284] intel_sst_acpi 808622A8:00: IRAM base: 0xa16c0000
            [ 98.547346] intel_sst_acpi 808622A8:00: DRAM base: 0xa1700000
            [ 98.547359] intel_sst_acpi 808622A8:00: SHIM base: 0xa1740000
            [ 98.547366] intel_sst_acpi 808622A8:00: Mailbox base: 0xa1744000
            [ 98.547370] intel_sst_acpi 808622A8:00: DDR base: 0x20000000
            [ 98.547598] intel_sst_acpi 808622A8:00: Got drv data max stream 25
            [ 98.612056] cht-bsw-rt5645 cht-bsw-rt5645: snd-soc-dummy-dai <-> media-cpu-dai mapping ok
            [ 98.612107] cht-bsw-rt5645 cht-bsw-rt5645: snd-soc-dummy-dai <-> deepbuffer-cpu-dai mapping ok
            [ 98.612131] compress asoc: snd-soc-dummy-dai <-> compress-cpu-dai mapping ok
            [ 98.612461] cht-bsw-rt5645 cht-bsw-rt5645: rt5645-aif1 <-> ssp2-port mapping ok
            [ 98.668833] input: chtrt5645 Headset as /devices/pci0000:00/808622A8:00/cht-bsw-rt5645/sound/card1/input14
            [ 99.043453] hpet1: lost 9601 rtc interrupts
            [ 190.221386] intel_sst_acpi 808622A8:00: FW Version 01.0b.02.02
            [ 190.222291] Audio Port: ASoC: no backend DAIs enabled for Audio Port
            [ 230.054571] Audio Port: ASoC: no backend DAIs enabled for Audio Port


            If I try and play a plain WAV file with aplay -D hw:1,0 /file.wav then I get this error message:



            Playing WAVE '/file.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
            Warning: rate is not accurate (requested = 44100Hz, got = 48000Hz)
            please, try the plug plugin
            aplay: set_params:1361: Unable to install hw params:
            ACCESS: RW_INTERLEAVED
            FORMAT: S16_LE
            SUBFORMAT: STD
            SAMPLE_BITS: 16
            FRAME_BITS: 32
            CHANNELS: 2
            RATE: 48000
            PERIOD_TIME: 125000
            PERIOD_SIZE: 6000
            PERIOD_BYTES: 24000
            PERIODS: 4
            BUFFER_TIME: 500000
            BUFFER_SIZE: 24000
            BUFFER_BYTES: 96000
            TICK_TIME: 0


            Replacing hw with plughw does not make a big difference.



            I will try and find out which part of pulseaudio fixed the problem... it must be quite easy as after it fixed the problem it quit with an error.






            share|improve this answer


























              0














              Whilst installing Gentoo on a GPD Pocket I had the same problem, strangely I found that pulseaudio fixes the problem... run it and it quits with an error but after that you can use aplay to playback a wav file.



              Output of pulse audio when I run it:



              W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
              Killed


              This is the output of my dmesg if I try using aplay before running pulseaudio, I am using kernel 4.14.0 (just released at time of writing):



              [   98.209199] hci_uart_bcm serial0-0: BCM irq: 134
              [ 98.209250] usb 1-3: USB disconnect, device number 3
              [ 98.283103] Error: Driver 'pcspkr' is already registered, aborting...
              [ 98.350269] rt5645 i2c-10EC5645:00: i2c-10EC5645:00 supply avdd not found, using dummy regulator
              [ 98.350316] rt5645 i2c-10EC5645:00: i2c-10EC5645:00 supply cpvdd not found, using dummy regulator
              [ 98.431735] Bluetooth: hci0: BCM: chip id 101
              [ 98.432058] Bluetooth: hci0: BCM: features 0x2f
              [ 98.433075] Bluetooth: hci0: BCM4354A2
              [ 98.433080] Bluetooth: hci0: BCM4356A2 (001.003.015) build 0000
              [ 98.442394] bluetooth hci0: Direct firmware load for brcm/BCM4356A2.hcd failed with error -2
              [ 98.442398] Bluetooth: hci0: BCM: Patch brcm/BCM4356A2.hcd not found
              [ 98.547281] intel_sst_acpi 808622A8:00: LPE base: 0xa1600000 size:0x200000
              [ 98.547284] intel_sst_acpi 808622A8:00: IRAM base: 0xa16c0000
              [ 98.547346] intel_sst_acpi 808622A8:00: DRAM base: 0xa1700000
              [ 98.547359] intel_sst_acpi 808622A8:00: SHIM base: 0xa1740000
              [ 98.547366] intel_sst_acpi 808622A8:00: Mailbox base: 0xa1744000
              [ 98.547370] intel_sst_acpi 808622A8:00: DDR base: 0x20000000
              [ 98.547598] intel_sst_acpi 808622A8:00: Got drv data max stream 25
              [ 98.612056] cht-bsw-rt5645 cht-bsw-rt5645: snd-soc-dummy-dai <-> media-cpu-dai mapping ok
              [ 98.612107] cht-bsw-rt5645 cht-bsw-rt5645: snd-soc-dummy-dai <-> deepbuffer-cpu-dai mapping ok
              [ 98.612131] compress asoc: snd-soc-dummy-dai <-> compress-cpu-dai mapping ok
              [ 98.612461] cht-bsw-rt5645 cht-bsw-rt5645: rt5645-aif1 <-> ssp2-port mapping ok
              [ 98.668833] input: chtrt5645 Headset as /devices/pci0000:00/808622A8:00/cht-bsw-rt5645/sound/card1/input14
              [ 99.043453] hpet1: lost 9601 rtc interrupts
              [ 190.221386] intel_sst_acpi 808622A8:00: FW Version 01.0b.02.02
              [ 190.222291] Audio Port: ASoC: no backend DAIs enabled for Audio Port
              [ 230.054571] Audio Port: ASoC: no backend DAIs enabled for Audio Port


              If I try and play a plain WAV file with aplay -D hw:1,0 /file.wav then I get this error message:



              Playing WAVE '/file.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
              Warning: rate is not accurate (requested = 44100Hz, got = 48000Hz)
              please, try the plug plugin
              aplay: set_params:1361: Unable to install hw params:
              ACCESS: RW_INTERLEAVED
              FORMAT: S16_LE
              SUBFORMAT: STD
              SAMPLE_BITS: 16
              FRAME_BITS: 32
              CHANNELS: 2
              RATE: 48000
              PERIOD_TIME: 125000
              PERIOD_SIZE: 6000
              PERIOD_BYTES: 24000
              PERIODS: 4
              BUFFER_TIME: 500000
              BUFFER_SIZE: 24000
              BUFFER_BYTES: 96000
              TICK_TIME: 0


              Replacing hw with plughw does not make a big difference.



              I will try and find out which part of pulseaudio fixed the problem... it must be quite easy as after it fixed the problem it quit with an error.






              share|improve this answer
























                0












                0








                0






                Whilst installing Gentoo on a GPD Pocket I had the same problem, strangely I found that pulseaudio fixes the problem... run it and it quits with an error but after that you can use aplay to playback a wav file.



                Output of pulse audio when I run it:



                W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
                Killed


                This is the output of my dmesg if I try using aplay before running pulseaudio, I am using kernel 4.14.0 (just released at time of writing):



                [   98.209199] hci_uart_bcm serial0-0: BCM irq: 134
                [ 98.209250] usb 1-3: USB disconnect, device number 3
                [ 98.283103] Error: Driver 'pcspkr' is already registered, aborting...
                [ 98.350269] rt5645 i2c-10EC5645:00: i2c-10EC5645:00 supply avdd not found, using dummy regulator
                [ 98.350316] rt5645 i2c-10EC5645:00: i2c-10EC5645:00 supply cpvdd not found, using dummy regulator
                [ 98.431735] Bluetooth: hci0: BCM: chip id 101
                [ 98.432058] Bluetooth: hci0: BCM: features 0x2f
                [ 98.433075] Bluetooth: hci0: BCM4354A2
                [ 98.433080] Bluetooth: hci0: BCM4356A2 (001.003.015) build 0000
                [ 98.442394] bluetooth hci0: Direct firmware load for brcm/BCM4356A2.hcd failed with error -2
                [ 98.442398] Bluetooth: hci0: BCM: Patch brcm/BCM4356A2.hcd not found
                [ 98.547281] intel_sst_acpi 808622A8:00: LPE base: 0xa1600000 size:0x200000
                [ 98.547284] intel_sst_acpi 808622A8:00: IRAM base: 0xa16c0000
                [ 98.547346] intel_sst_acpi 808622A8:00: DRAM base: 0xa1700000
                [ 98.547359] intel_sst_acpi 808622A8:00: SHIM base: 0xa1740000
                [ 98.547366] intel_sst_acpi 808622A8:00: Mailbox base: 0xa1744000
                [ 98.547370] intel_sst_acpi 808622A8:00: DDR base: 0x20000000
                [ 98.547598] intel_sst_acpi 808622A8:00: Got drv data max stream 25
                [ 98.612056] cht-bsw-rt5645 cht-bsw-rt5645: snd-soc-dummy-dai <-> media-cpu-dai mapping ok
                [ 98.612107] cht-bsw-rt5645 cht-bsw-rt5645: snd-soc-dummy-dai <-> deepbuffer-cpu-dai mapping ok
                [ 98.612131] compress asoc: snd-soc-dummy-dai <-> compress-cpu-dai mapping ok
                [ 98.612461] cht-bsw-rt5645 cht-bsw-rt5645: rt5645-aif1 <-> ssp2-port mapping ok
                [ 98.668833] input: chtrt5645 Headset as /devices/pci0000:00/808622A8:00/cht-bsw-rt5645/sound/card1/input14
                [ 99.043453] hpet1: lost 9601 rtc interrupts
                [ 190.221386] intel_sst_acpi 808622A8:00: FW Version 01.0b.02.02
                [ 190.222291] Audio Port: ASoC: no backend DAIs enabled for Audio Port
                [ 230.054571] Audio Port: ASoC: no backend DAIs enabled for Audio Port


                If I try and play a plain WAV file with aplay -D hw:1,0 /file.wav then I get this error message:



                Playing WAVE '/file.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
                Warning: rate is not accurate (requested = 44100Hz, got = 48000Hz)
                please, try the plug plugin
                aplay: set_params:1361: Unable to install hw params:
                ACCESS: RW_INTERLEAVED
                FORMAT: S16_LE
                SUBFORMAT: STD
                SAMPLE_BITS: 16
                FRAME_BITS: 32
                CHANNELS: 2
                RATE: 48000
                PERIOD_TIME: 125000
                PERIOD_SIZE: 6000
                PERIOD_BYTES: 24000
                PERIODS: 4
                BUFFER_TIME: 500000
                BUFFER_SIZE: 24000
                BUFFER_BYTES: 96000
                TICK_TIME: 0


                Replacing hw with plughw does not make a big difference.



                I will try and find out which part of pulseaudio fixed the problem... it must be quite easy as after it fixed the problem it quit with an error.






                share|improve this answer












                Whilst installing Gentoo on a GPD Pocket I had the same problem, strangely I found that pulseaudio fixes the problem... run it and it quits with an error but after that you can use aplay to playback a wav file.



                Output of pulse audio when I run it:



                W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
                Killed


                This is the output of my dmesg if I try using aplay before running pulseaudio, I am using kernel 4.14.0 (just released at time of writing):



                [   98.209199] hci_uart_bcm serial0-0: BCM irq: 134
                [ 98.209250] usb 1-3: USB disconnect, device number 3
                [ 98.283103] Error: Driver 'pcspkr' is already registered, aborting...
                [ 98.350269] rt5645 i2c-10EC5645:00: i2c-10EC5645:00 supply avdd not found, using dummy regulator
                [ 98.350316] rt5645 i2c-10EC5645:00: i2c-10EC5645:00 supply cpvdd not found, using dummy regulator
                [ 98.431735] Bluetooth: hci0: BCM: chip id 101
                [ 98.432058] Bluetooth: hci0: BCM: features 0x2f
                [ 98.433075] Bluetooth: hci0: BCM4354A2
                [ 98.433080] Bluetooth: hci0: BCM4356A2 (001.003.015) build 0000
                [ 98.442394] bluetooth hci0: Direct firmware load for brcm/BCM4356A2.hcd failed with error -2
                [ 98.442398] Bluetooth: hci0: BCM: Patch brcm/BCM4356A2.hcd not found
                [ 98.547281] intel_sst_acpi 808622A8:00: LPE base: 0xa1600000 size:0x200000
                [ 98.547284] intel_sst_acpi 808622A8:00: IRAM base: 0xa16c0000
                [ 98.547346] intel_sst_acpi 808622A8:00: DRAM base: 0xa1700000
                [ 98.547359] intel_sst_acpi 808622A8:00: SHIM base: 0xa1740000
                [ 98.547366] intel_sst_acpi 808622A8:00: Mailbox base: 0xa1744000
                [ 98.547370] intel_sst_acpi 808622A8:00: DDR base: 0x20000000
                [ 98.547598] intel_sst_acpi 808622A8:00: Got drv data max stream 25
                [ 98.612056] cht-bsw-rt5645 cht-bsw-rt5645: snd-soc-dummy-dai <-> media-cpu-dai mapping ok
                [ 98.612107] cht-bsw-rt5645 cht-bsw-rt5645: snd-soc-dummy-dai <-> deepbuffer-cpu-dai mapping ok
                [ 98.612131] compress asoc: snd-soc-dummy-dai <-> compress-cpu-dai mapping ok
                [ 98.612461] cht-bsw-rt5645 cht-bsw-rt5645: rt5645-aif1 <-> ssp2-port mapping ok
                [ 98.668833] input: chtrt5645 Headset as /devices/pci0000:00/808622A8:00/cht-bsw-rt5645/sound/card1/input14
                [ 99.043453] hpet1: lost 9601 rtc interrupts
                [ 190.221386] intel_sst_acpi 808622A8:00: FW Version 01.0b.02.02
                [ 190.222291] Audio Port: ASoC: no backend DAIs enabled for Audio Port
                [ 230.054571] Audio Port: ASoC: no backend DAIs enabled for Audio Port


                If I try and play a plain WAV file with aplay -D hw:1,0 /file.wav then I get this error message:



                Playing WAVE '/file.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
                Warning: rate is not accurate (requested = 44100Hz, got = 48000Hz)
                please, try the plug plugin
                aplay: set_params:1361: Unable to install hw params:
                ACCESS: RW_INTERLEAVED
                FORMAT: S16_LE
                SUBFORMAT: STD
                SAMPLE_BITS: 16
                FRAME_BITS: 32
                CHANNELS: 2
                RATE: 48000
                PERIOD_TIME: 125000
                PERIOD_SIZE: 6000
                PERIOD_BYTES: 24000
                PERIODS: 4
                BUFFER_TIME: 500000
                BUFFER_SIZE: 24000
                BUFFER_BYTES: 96000
                TICK_TIME: 0


                Replacing hw with plughw does not make a big difference.



                I will try and find out which part of pulseaudio fixed the problem... it must be quite easy as after it fixed the problem it quit with an error.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 19 '17 at 14:46









                tribecatribeca

                101




                101






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f886512%2fbaytrail-audio-port-asoc-no-backend-dais-enabled-for-baytrail-audio-port%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Ellipse (mathématiques)

                    Quarter-circle Tiles

                    Mont Emei