질문
내 로그에 다음 오류가 표시되지 않도록 하는 방법을 알고 싶습니다.
snd_hda_codec_conexant hdaudioC0D0: vmaster hook already present before cdev!
코드를 보면 음소거 LED 표시("LED classdev를 생성하고 vmaster에 대해 음소거 LED 활성화")와 관련이 있을 것으로 추측됩니다. 이는 사운드 카드가 작동하는 데 중요하지 않지만 알아두면 좋습니다. 뭔가가 음소거되었습니다.
cdev
이들그리고 그리고 의 차이점은 무엇인가요 vmaster
? vmaster 후크가 이미 존재한다는 것이 왜 중요한가요? snd_hda_codec_generic
이 오류 형태를 방지하려면 어떻게 구성해야 합니까 ?
이번 설문조사
조건이 if (spec->vmaster_mute.hook)
충족되었기 때문에 이런 일이 발생하는 이유를 알고 있습니다.
나는 발견했다상태오류를 발생시킨 소스 코드에서. vmaster
이미 깃발이 꽂혀 있는 것 같군요이 코드.
시스템 세부정보
sudo journalctl -xb | grep snd
(노트:여기에서 오류 메시지를 볼 수 있습니다)
Dec 20 09:19:13 magnetron kernel: snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
Dec 20 09:19:13 magnetron kernel: snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
Dec 20 09:19:13 magnetron kernel: snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
Dec 20 09:19:14 magnetron kernel: snd_hda_codec_conexant hdaudioC0D0: CX8200: BIOS auto-probing.
Dec 20 09:19:14 magnetron kernel: snd_hda_codec_conexant hdaudioC0D0: vmaster hook already present before cdev!
Dec 20 09:19:14 magnetron kernel: snd_hda_codec_conexant hdaudioC0D0: autoconfig for CX8200: line_outs=1 (0x16/0x0/0x0/0x0/0x0) type:line
Dec 20 09:19:14 magnetron kernel: snd_hda_codec_conexant hdaudioC0D0: speaker_outs=1 (0x17/0x0/0x0/0x0/0x0)
Dec 20 09:19:14 magnetron kernel: snd_hda_codec_conexant hdaudioC0D0: hp_outs=1 (0x1d/0x0/0x0/0x0/0x0)
Dec 20 09:19:14 magnetron kernel: snd_hda_codec_conexant hdaudioC0D0: mono: mono_out=0x0
Dec 20 09:19:14 magnetron kernel: snd_hda_codec_conexant hdaudioC0D0: inputs:
Dec 20 09:19:14 magnetron kernel: snd_hda_codec_conexant hdaudioC0D0: Mic=0x19
Dec 20 09:19:14 magnetron kernel: snd_hda_codec_conexant hdaudioC0D0: Internal Mic=0x1a
$lspci -v
:
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21) (prog-if 80)
Subsystem: Hewlett-Packard Company Sunrise Point-LP HD Audio
Flags: bus master, fast devsel, latency 64, IRQ 140, IOMMU group 9
Memory at 1ff3018000 (64-bit, non-prefetchable) [size=16K]
Memory at 1ff3000000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [50] Power Management version 3
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_skl
$lshw
:
*-multimedia
description: Audio device
product: Sunrise Point-LP HD Audio
vendor: Intel Corporation
physical id: 1f.3
bus info: pci@0000:00:1f.3
logical name: card0
logical name: /dev/snd/controlC0
logical name: /dev/snd/hwC0D0
logical name: /dev/snd/hwC0D2
logical name: /dev/snd/pcmC0D0c
logical name: /dev/snd/pcmC0D0p
logical name: /dev/snd/pcmC0D10p
logical name: /dev/snd/pcmC0D3p
logical name: /dev/snd/pcmC0D7p
logical name: /dev/snd/pcmC0D8p
logical name: /dev/snd/pcmC0D9p
version: 21
width: 64 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list
configuration: driver=snd_hda_intel latency=64
resources: iomemory:1f0-1ef iomemory:1f0-1ef irq:140 memory:1ff3018000-1ff301bfff memory:1ff3000000-1ff300ffff
*-input:0
product: HDA Digital PCBeep
physical id: 0
logical name: input39
logical name: /dev/input/event20
capabilities: pci
*-input:1
product: HDA Intel PCH Mic
physical id: 1
logical name: input40
logical name: /dev/input/event21
*-input:2
product: HDA Intel PCH Line
physical id: 2
logical name: input41
logical name: /dev/input/event22
*-input:3
product: HDA Intel PCH Dock Line Out
physical id: 3
logical name: input42
logical name: /dev/input/event23
*-input:4
product: HDA Intel PCH Headphone
physical id: 4
logical name: input43
logical name: /dev/input/event24
*-input:5
product: HDA Intel PCH HDMI/DP,pcm=3
physical id: 5
logical name: input44
logical name: /dev/input/event25
*-input:6
product: HDA Intel PCH HDMI/DP,pcm=7
physical id: 6
logical name: input45
logical name: /dev/input/event26
*-input:7
product: HDA Intel PCH HDMI/DP,pcm=8
physical id: 7
logical name: input46
logical name: /dev/input/event27
*-input:8
product: HDA Intel PCH HDMI/DP,pcm=9
physical id: 8
logical name: input47
logical name: /dev/input/event28
*-input:9
product: HDA Intel PCH HDMI/DP,pcm=10
physical id: 9
logical name: input48
logical name: /dev/input/event29
로드된 커널 모듈:sudo lsmod | grep snd
snd_seq_dummy 16384 0
snd_hrtimer 16384 1
snd_seq 90112 7 snd_seq_dummy
snd_seq_device 16384 1 snd_seq
snd_soc_skl 184320 0
snd_soc_hdac_hda 24576 1 snd_soc_skl
snd_hda_ext_core 40960 2 snd_soc_hdac_hda,snd_soc_skl
snd_soc_sst_ipc 20480 1 snd_soc_skl
snd_soc_sst_dsp 40960 1 snd_soc_skl
snd_hda_codec_hdmi 81920 1
snd_soc_acpi_intel_match 73728 1 snd_soc_skl
snd_soc_acpi 16384 2 snd_soc_acpi_intel_match,snd_soc_skl
snd_ctl_led 24576 0
snd_hda_codec_conexant 28672 1
snd_soc_core 348160 2 snd_soc_hdac_hda,snd_soc_skl
snd_hda_codec_generic 98304 1 snd_hda_codec_conexant
ledtrig_audio 16384 2 snd_ctl_led,snd_hda_codec_generic
snd_compress 28672 1 snd_soc_core
snd_hda_intel 57344 1
snd_intel_dspcfg 36864 2 snd_hda_intel,snd_soc_skl
snd_intel_sdw_acpi 20480 1 snd_intel_dspcfg
snd_hda_codec 184320 5 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel,snd_soc_hdac_hda
snd_hda_core 122880 8 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_soc_hdac_hda,snd_soc_skl
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 159744 7 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_compress,snd_soc_core,snd_soc_skl,snd_hda_core
snd_timer 49152 3 snd_seq,snd_hrtimer,snd_pcm
snd 126976 17 snd_ctl_led,snd_hda_codec_generic,snd_seq,snd_hda_codec_conexant,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_compress,snd_soc_core,snd_pcm
커널 버전:
uname -a
Linux XXX 6.0.0-6-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.0.12-1 (2022-12-09) x86_64 GNU/Linux