Realtek ALC887-VDがDebian 11(新規インストール)でサウンドを再生または認識できるようにするには?

Realtek ALC887-VDがDebian 11(新規インストール)でサウンドを再生または認識できるようにするには?

タイトルは説明が必要です。 Debian 11を新しくインストールした後、音はまったく聞こえません。

コンピュータを修理に送った時、電源が出てマザーボードも燃えてしまい、戻ってみるとマザーボードのチップがDebianやUbuntuで認識されないようでした。インストールしようとしました。)

Debian 11を新しくインストールしましたが、結果はまったく聞こえませんでした。警告音もなく、騒音もなく、うんざりする音もなく、何もありません。まったく何もありません。設定では「仮想出力」のみ表示できます。 .mp3ファイルを再生すると、イコライザーの音量インジケーターが移動しますが、音は出ません。

チップはRealtek ALC887-VDです。この特定のハードウェアのためのいくつかのソリューションをインターネットで見てきましたが、そのうちの何も動作しません。

文字数の制限により、私が実行したコマンドとその結果をコメントします。

Debian でサウンドが正しく機能するようにするにはどうすればよいですか。

$ lspci -nnk | grep -A2オーディオ

00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 05)
    Subsystem: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20]
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel

$プレイ-l

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD Digital]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

$lshw -c サウンド

*-multimedia              
       description: Audio device
       product: 6 Series/C200 Series Chipset Family High Definition Audio Controller
       vendor: Intel Corporation
       physical id: 1b
       bus info: pci@0000:00:1b.0
       version: 05
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: driver=snd_hda_intel latency=0
       resources: irq:27 memory:f7c00000-f7c03fff

$ lsmod | grep 's(ou)?nd'

Module                  Size  Used by
snd_seq                86016  0
snd_seq_device         16384  1 snd_seq
snd_hda_codec_hdmi     73728  1
snd_hda_codec_realtek   159744  1
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
ledtrig_audio          16384  1 snd_hda_codec_generic
snd_hda_intel          57344  4
snd_intel_dspcfg       28672  1 snd_hda_intel
soundwire_intel        45056  1 snd_intel_dspcfg
soundwire_generic_allocation    16384  1 soundwire_intel
snd_soc_core          315392  1 soundwire_intel
snd_compress           32768  1 snd_soc_core
soundwire_cadence      36864  1 soundwire_intel
snd_hda_codec         172032  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core          110592  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep              16384  1 snd_hda_codec
soundwire_bus          90112  3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
snd_pcm               135168  8 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_compress,snd_soc_core,snd_hda_core
snd_timer              49152  2 snd_seq,snd_pcm
snd                   110592  19 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm
soundcore              16384  1 snd

$スピーカーテスト-c2 -t wave-D hw:1,0

speaker-test 1.2.4

Playback device is hw:1,0
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
ALSA lib pcm_hw.c:1829:(_snd_pcm_hw_open) Invalid value for card
Playback open error: -2,Arquivo ou diretório inexistente

$pactl 統計

Currently in use: 12 blocks containing 111,0 KiB bytes total.
Allocated during whole lifetime: 675722 blocks containing 1,0 GiB bytes total.
Tamanho do cache para amostragem: 24,0 KiB

$パルスオーディオ-vvvv

I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operação não permitida
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operação não permitida
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
D: [pulseaudio] core-util.c: RealtimeKit worked.
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 14.2
D: [pulseaudio] main.c: Compilation CFLAGS: -g -O2 -ffile-prefix-map=/build/pulseaudio-eJtUKc/pulseaudio-14.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -W -Wextra -pipe -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -fno-common -fdiagnostics-show-option -fdiagnostics-color=auto
D: [pulseaudio] main.c: Running on host: Linux x86_64 5.10.0-11-amd64 #1 SMP Debian 5.10.92-1 (2022-01-18)
D: [pulseaudio] main.c: Found 4 CPUs.
I: [pulseaudio] main.c: Page size is 4096 bytes
D: [pulseaudio] main.c: Compiled with Valgrind support: no
D: [pulseaudio] main.c: Running in valgrind mode: no
D: [pulseaudio] main.c: Running in VM: no
D: [pulseaudio] main.c: Running from build tree: no
D: [pulseaudio] main.c: Optimized build: yes
D: [pulseaudio] main.c: FASTPATH defined, only fast path asserts disabled.
I: [pulseaudio] main.c: Machine ID is c2b85c79587e4109a5887f6571d1d2b1.
I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
I: [pulseaudio] main.c: Using state directory /home/fernanda/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-14.2/modules.
I: [pulseaudio] main.c: Running in system mode: no
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() falhou.

$ フューザ -v -u /dev/snd/*

                     USUÁRIO     PID ACESSO COMANDO
/dev/snd/controlC0:  fernanda  10038 F.... (fernanda)pulseaudio
/dev/snd/pcmC0D1p:   fernanda  10038 F...m (fernanda)pulseaudio

$alsa - 情報

http://alsa-project.org/db/?f=0fcdb88ddbb6177a4ba074c5d38628a493bf0de6

$パルスオーディオ

E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() falhou.

$rm ~/.config/pulse/* && 再起動

No results

$ echo "オプションsnd-hda-intel dmic_Detect=0" sudo tee -a /etc/modprobe.d/alsa-base.conf

No results

$echo "ブラックリスト snd_soc_skl" sudo tee -a /etc/modprobe.d/blacklist.conf

No results

$ sudo usermod -a -G オーディオユーザー名

No results (yes, I've changed USERNAME for my real username before running the command)

以下を実行して音を得ることができます。

$ pulseaudio --kill
$ pulseaudio --start

再起動するたびに覚えておく必要がないように、これら2つのコマンドで起動スクリプトを作成しました。

しかし、これは問題の原因を説明しません。 Debian 11 のインストールが新しくなりました。少なくとも理論的には、パルスオーディオが機能しない理由はありません。

問題の原因は何ですか?誰でも指示を与えることができますか?

ベストアンサー1

一時的な解決策を見つけるのがどれほど簡単かは信じられませんでした。

$ pulseaudio --kill
$ pulseaudio --start

望むより!音が再び機能します。

以前試してみましたが、pulseaudio --kill再起動する方法がわかりません。

再起動するたびに覚えておく必要がないように、これら2つのコマンドで起動スクリプトを作成しました。

しかし、これは問題の原因を説明しません。 Debian 11 のインストールが新しくなりました。少なくとも理論的には、パルスオーディオが機能しない理由はありません。

問題の原因は何ですか?誰でも指示を与えることができますか?

おすすめ記事