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.