데비안 9.1은 오디오를 사용할 수 없습니다

데비안 9.1은 오디오를 사용할 수 없습니다

hp probook 650 G1에 데비안이 설치되어 있기 때문에 오디오를 수정할 수 없습니다. 무엇을 찾아야 할지, 무엇을 하려고 해야 할지조차 몰랐습니다. 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프로필의 유효성 여부를 제어할 수 있습니다 .

관련 정보