我刚刚在配备 Celeron N3350 的迷你 PC 上安装了 Debian 12。目标是将其用于蓝光播放。到目前为止,视频很流畅,但我只能从插孔模拟输出获取音频。
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sofessx8336 [sof-essx8336], device 0: ES8336 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofessx8336 [sof-essx8336], device 5: HDMI 1 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofessx8336 [sof-essx8336], device 6: HDMI 2 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofessx8336 [sof-essx8336], device 7: HDMI 3 (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
所以我尝试了
>aplay -D plughw:0,0 ~/Wav_868kb.wav
Playing WAVE '/home/roberto/Wav_868kb.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
它在模拟插孔输出上发出声音。
使用与 5、6、7 相同的命令, aplay -D plughw:0,5 ~/Wav_868kb.wav
我从通过 HDMI 连接的投影仪(支持音频)中听不到任何声音(它在使用 Windows 10 的设备上播放声音)。
我检查过,尽管有正确的设备alsa-mixer
,但我无法清楚地识别任何“HDMI”/proc/asound/devices
1: : sequencer
2: [ 0- 0]: digital audio playback
3: [ 0- 0]: digital audio capture
4: [ 0- 5]: digital audio playback
5: [ 0- 6]: digital audio playback
6: [ 0- 7]: digital audio playback
7: [ 0- 2]: hardware dependent
8: [ 0] : control
33: : timer
我在这里做错了什么?需要修复/验证什么才能输出 HDMI 声音?
在内核级别,我没有看到重大问题,如下所示,但也许我错了。
sudo journalctl -b | grep -i 8336
Jun 17 13:12:20 4K-BOX kernel: sof-essx8336 sof-essx8336: quirk mask 0x5
Jun 17 13:12:20 4K-BOX kernel: sof-essx8336 sof-essx8336: quirk SSP5
Jun 17 13:12:20 4K-BOX kernel: sof-audio-pci-intel-apl 0000:00:0e.0: firmware: direct-loading firmware intel/sof-tplg/sof-apl-es8336-ssp5.tplg
Jun 17 13:12:20 4K-BOX kernel: sof-essx8336 sof-essx8336: ASoC: Parent card not yet available, widget card binding deferred
Jun 17 13:12:20 4K-BOX kernel: es8316 i2c-ESSX8336:00: assuming static mclk
Jun 17 13:12:20 4K-BOX kernel: input: sof-essx8336 Headset as /devices/pci0000:00/0000:00:0e.0/sof-essx8336/sound/card0/input15
Jun 17 13:12:20 4K-BOX kernel: input: sof-essx8336 HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:0e.0/sof-essx8336/sound/card0/input16
Jun 17 13:12:20 4K-BOX kernel: input: sof-essx8336 HDMI/DP,pcm=6 as /devices/pci0000:00/0000:00:0e.0/sof-essx8336/sound/card0/input17
Jun 17 13:12:20 4K-BOX kernel: input: sof-essx8336 HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:0e.0/sof-essx8336/sound/card0/input18
[Sat Jun 17 13:12:20 2023] sof-essx8336 sof-essx8336: quirk mask 0x5
[Sat Jun 17 13:12:20 2023] sof-essx8336 sof-essx8336: quirk SSP5
[Sat Jun 17 13:12:20 2023] sof-audio-pci-intel-apl 0000:00:0e.0: firmware: direct-loading firmware intel/sof-tplg/sof-apl-es8336-ssp5.tplg
[Sat Jun 17 13:12:20 2023] sof-essx8336 sof-essx8336: ASoC: Parent card not yet available, widget card binding deferred
[Sat Jun 17 13:12:20 2023] es8316 i2c-ESSX8336:00: assuming static mclk
[Sat Jun 17 13:12:20 2023] input: sof-essx8336 Headset as /devices/pci0000:00/0000:00:0e.0/sof-essx8336/sound/card0/input15
[Sat Jun 17 13:12:20 2023] input: sof-essx8336 HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:0e.0/sof-essx8336/sound/card0/input16
[Sat Jun 17 13:12:20 2023] input: sof-essx8336 HDMI/DP,pcm=6 as /devices/pci0000:00/0000:00:0e.0/sof-essx8336/sound/card0/input17
[Sat Jun 17 13:12:20 2023] input: sof-essx8336 HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:0e.0/sof-essx8336/sound/card0/input18