Debian 9.1 无法使用音频

Debian 9.1 无法使用音频

我无法修复音频,因为我在 hp probook 650 G1 上安装了 debian。我什至不知道要寻找什么或尝试做什么。我陷入了这个来自pulseaudio的日志中。

(   0.102|   0.000) I: [pulseaudio] (alsa-lib)utils.c: could not open configuration file /usr/share/alsa/ucm/HDA Intel HDMI/HDA Intel HDMI.conf
(   0.102|   0.000) I: [pulseaudio] (alsa-lib)parser.c: error: could not parse configuration for card HDA Intel HDMI
(   0.102|   0.000) I: [pulseaudio] (alsa-lib)main.c: error: failed to import HDA Intel HDMI use case configuration -2
(   0.102|   0.000) I: [pulseaudio] alsa-ucm.c: UCM not available for card HDA Intel HDMI
(   0.102|   0.000) D: [pulseaudio] conf-parser.c: Parsing configuration file '/usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf'
(   0.103|   0.000) D: [pulseaudio] alsa-mixer.c: Looking at profile input:analog-mono
(   0.103|   0.000) D: [pulseaudio] alsa-mixer.c: Checking for recording on Analog Mono (analog-mono)
(   0.103|   0.000) D: [pulseaudio] alsa-util.c: Trying hw:0 with SND_PCM_NO_AUTO_FORMAT ...
(   0.103|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D0c' failed (-2)
(   0.103|   0.000) I: [pulseaudio] alsa-util.c: Error opening PCM device hw:0: No such file or directory
(   0.103|   0.000) D: [pulseaudio] alsa-mixer.c: Caching failure to open input:analog-mono
(   0.103|   0.000) D: [pulseaudio] alsa-mixer.c: Looking at profile input:analog-stereo
(   0.103|   0.000) D: [pulseaudio] alsa-mixer.c: Checking for recording on Analog Stereo (analog-stereo)
(   0.103|   0.000) D: [pulseaudio] alsa-util.c: Trying front:0 with SND_PCM_NO_AUTO_FORMAT ...
(   0.104|   0.001) I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D0c' failed (-2)
(   0.104|   0.000) I: [pulseaudio] alsa-util.c: Error opening PCM device front:0: No such file or directory
(   0.104|   0.000) D: [pulseaudio] alsa-util.c: Trying hw:0 with SND_PCM_NO_AUTO_FORMAT ...
(   0.104|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D0c' failed (-2)
(   0.104|   0.000) I: [pulseaudio] alsa-util.c: Error opening PCM device hw:0: No such file or directory
(   0.104|   0.000) D: [pulseaudio] alsa-mixer.c: Caching failure to open input:analog-stereo
(   0.104|   0.000) D: [pulseaudio] alsa-mixer.c: Looking at profile input:iec958-stereo
(   0.104|   0.000) D: [pulseaudio] alsa-mixer.c: Checking for recording on Digital Stereo (IEC958) (iec958-stereo)
(   0.104|   0.000) D: [pulseaudio] alsa-util.c: Trying iec958:0 with SND_PCM_NO_AUTO_FORMAT ...
(   0.104|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D1c' failed (-2)
(   0.104|   0.000) I: [pulseaudio] alsa-util.c: Error opening PCM device iec958:0: No such file or directory
(   0.104|   0.000) D: [pulseaudio] alsa-mixer.c: Caching failure to open input:iec958-stereo
(   0.104|   0.000) D: [pulseaudio] alsa-mixer.c: Looking at profile output:analog-mono

一些信息:

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI_1 [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI_1 [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI_1 [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

lspci -vvv
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series] (rev ff) (prog-if ff)
    !!! Unknown header type 7f
    Kernel driver in use: snd_hda_int04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader (rev 01)
    Subsystem: Hewlett-Packard Company RTS5227 PCI Express Card Reader
    Physical Slot: 7
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 29
    Region 0: Memory at d0400000 (32-bit, non-prefetchable) [size=4K]
    Capabilities: <access denied>
    Kernel driver in use: rtsx_pci
    Kernel modules: rtsx_pci
el
        Kernel modules: snd_hda_intel
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
    Subsystem: Hewlett-Packard Company Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 36
    Region 0: Memory at d0830000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: <access denied>
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel

更多信息:

输出cat /proc/asound/cards

0 [HDMI_1 ]: HDA-Intel - HDA Intel HDMI HDA Intel HDMI at 0xd0830000 irq 36
1 [HDMI   ]: HDA-Intel - HDA ATI HDMI HDA ATI HDMI at 0xd0740000 irq 33

aplay /usr/share/sounds/alsa/Front_Center.wav

Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono

还有最后一张

pacmd list-sinks | grep -e 'name:' -e 'index'

* index: 0 name: <alsa_output.pci-0000_00_03.0.hdmi-stereo BTW 

答案1

好的一点是,alsa 可以识别您的卡,并且向 Soundsystem 的移交工作正在正常进行。

在 alsamixer 中控制是否静音。使用 F6,您可以选择您的卡 对于 alsamixer,您的系统上需要 apt-utils。没有运气?

sudo apt install pavucontrol  

开始它pavucontrol

选项卡输出设备您将看到两种可能性。对于内部卡,选择端口扬声器。选项卡配置,您可以在其中选择卡的配置文件。我现在使用带有配置文件模拟立体声双工的内部卡。您 aplay /usr/share/sounds/alsa/Front_Center.wav可以控制配置文件是否有效。

相关内容