Porta de áudio Baytrail: ASoC: nenhum DAI de back-end ativado para a porta de áudio Baytrail

1

Estou tentando trazer o áudio do meu Baytrail - rt5640 no Ubuntu 16.04 nas últimas semanas. Mas não há som mesmo com o patch do kernel no topo 4.10-Rc5 +Ubuntu 16.04

Eu reconstruí meu kernel já que minha tabela DSDT não tem informações sobre o CHAN para o dispositivo (RTEK). Eu peguei a informação do canal das janelas.

Por favor, verifique os registros.

Alguma sugestão ??

Por favor, veja meu log do kernel

[ 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
----------------------------------------------------
    
por Ajith Prasad 23.02.2017 / 14:31

1 resposta

0

Durante a instalação do Gentoo em um GPD Pocket tive o mesmo problema, estranhamente achei que pulseaudio corrige o problema ... execute e saia com um erro, mas depois disso você pode usar aplay para reproduzir um wav arquivo.

Saída de áudio de pulso quando eu o executo:

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

Esta é a saída do meu dmesg se eu tentar usar aplay antes de executar pulseaudio , estou usando o kernel 4.14.0 (acabou de ser lançado no momento da gravação):

[   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

Se eu tentar reproduzir um arquivo WAV simples com aplay -D hw:1,0 /file.wav , recebo esta mensagem de erro:

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

Substituir hw por plughw não faz uma grande diferença.

Vou tentar descobrir qual parte do pulseaudio resolveu o problema ... deve ser muito fácil, pois depois de ter resolvido o problema, ele saiu com um erro.

    
por tribeca 19.11.2017 / 15:46