![识别声音输出设备,但没有音频](https://linux22.com/image/910767/%E8%AF%86%E5%88%AB%E5%A3%B0%E9%9F%B3%E8%BE%93%E5%87%BA%E8%AE%BE%E5%A4%87%EF%BC%8C%E4%BD%86%E6%B2%A1%E6%9C%89%E9%9F%B3%E9%A2%91.png)
这是对先前问题的后续回答:PulseAudio 未识别任何声音输出设备
在上一个问题中,我最终没有得到任何有用的提示,所以我只是把平板电脑放在角落里几个月。不幸的是,最近我的主要电脑坏了,平板电脑是唯一可以完成(部分)工作的设备,所以今天我再次打开它,发现 19.04 可用。我接受了升级,升级完成后,令人惊讶的是,我发现它改善了音频的情况……有点。
这里最大的变化是 ES8316 声卡终于被全局 (?) 识别了。设置现在可以识别更多输出设备,PulseAudio 也可以看到该卡:
~$ pacmd list-cards
2 card(s) available.
index: 0
name: <alsa_card.pci-0000_00_02.0-platform-hdmi-lpe-audio>
driver: <module-alsa-card.c>
owner module: 7
properties:
alsa.card = "1"
alsa.card_name = "Intel HDMI/DP LPE Audio"
alsa.long_card_name = "Intel HDMI/DP LPE Audio"
alsa.driver_name = "snd_hdmi_lpe_audio"
device.bus_path = "pci-0000:00:02.0-platform-hdmi-lpe-audio"
sysfs.path = "/devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card1"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "22b0"
device.product.name = "Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers"
device.string = "1"
device.description = "Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: no)
output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 800, available: no)
output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 800, available: no)
output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: unknown)
output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 600, available: unknown)
output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 600, available: unknown)
off: Off (priority 0, available: unknown)
active profile: <output:hdmi-stereo-extra2>
sinks:
alsa_output.pci-0000_00_02.0-platform-hdmi-lpe-audio.hdmi-stereo-extra2/#1: Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers Digital Stereo (HDMI 3)
sources:
alsa_output.pci-0000_00_02.0-platform-hdmi-lpe-audio.hdmi-stereo-extra2.monitor/#2: Monitor of Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers Digital Stereo (HDMI 3)
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: yes)
properties:
device.icon_name = "video-display"
index: 1
name: <alsa_card.platform-bytcht_es8316>
driver: <module-alsa-card.c>
owner module: 8
properties:
alsa.card = "0"
alsa.card_name = "bytcht-es8316"
alsa.long_card_name = "Insyde-CherryTrail"
alsa.driver_name = "snd_soc_sst_byt_cht_es8316"
device.bus_path = "platform-bytcht_es8316"
sysfs.path = "/devices/pci0000:00/808622A8:00/bytcht_es8316/sound/card0"
device.form_factor = "internal"
device.string = "0"
device.description = "Built-in Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card"
profiles:
input:analog-mono: Analog Mono Input (priority 7, available: unknown)
output:stereo-fallback: Stereo Output (priority 5100, available: unknown)
output:stereo-fallback+input:analog-mono: Stereo Output + Analog Mono Input (priority 5107, available: unknown)
output:multichannel-output: Multichannel Output (priority 100, available: unknown)
output:multichannel-output+input:analog-mono: Multichannel Output + Analog Mono Input (priority 107, available: unknown)
off: Off (priority 0, available: unknown)
active profile: <output:stereo-fallback+input:analog-mono>
sinks:
alsa_output.platform-bytcht_es8316.stereo-fallback/#0: Built-in Audio Stereo
sources:
alsa_output.platform-bytcht_es8316.stereo-fallback.monitor/#0: Monitor of Built-in Audio Stereo
alsa_input.platform-bytcht_es8316.analog-mono/#1: Built-in Audio Analog Mono
ports:
analog-input: Analog Input (priority 10000, latency offset 0 usec, available: unknown)
properties:
analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-headphones"
multichannel-output: Multichannel Output (priority 0, latency offset 0 usec, available: unknown)
properties:
我现在可以播放 wav 文件aplay
而不会出错:
~$ aplay -D plughw:CARD=bytchtes8316,DEV=0 ./wz/01-10.wav
Playing WAVE './wz/01-10.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono
甚至声音幅度指示条也能pavucontrol
根据我正在播放的音频正确运行。
但是,我戴上耳机后什么都听不到。声音测试、通过系统媒体播放器或播放音频aplay
,都没有声音。HDMI 音频可以正常工作,但这不是我想要的。
我尝试过 PA/ALSA 的常见技巧、重新启动 ALSA/PA、清除/重建 PA 配置、使用alsamixer
或pavucontrol
,但都无济于事。
下一步是什么?
我关注了社区声音故障排除指南在可能的情况下,以下是两个关键的输出:步骤3(alsa 信息),步骤4(诊断命令)。我很快还会制作一个 WTG USB 记忆棒,并在可能的情况下检查 Windows 下的音频。
请注意,由于平板电脑闲置了一段时间,我不能 100% 确定端口没有损坏。此平板电脑上不再安装 Windows,并且空间太小,无法安装 Windows,因此我无法在 Windows 下测试它。如果您认为有必要验证端口硬件是否仍能正常工作,请建议另一种测试方法。