标题是不言自明的:在Debian 11的新安装之后,根本没有声音。
电脑与烧坏的电源一起使用,发现主板也被烧坏了,当它回来的时候,它带着一个主板,它的芯片似乎没有被Debian识别出来,也没有被Ubuntu识别(我也试图安装它)。
当我重新安装Debian 11时,结果是根本没有声音。没有嗡嗡声,没有噪音,没有嗡嗡声,什么都没有,绝对没有。在“设置”中,我可以看到“虚拟输出”,而没有其他任何内容。当播放.mp3文件时,均衡器中的音量指示器移动,但没有声音。
芯片是Realtek ALC887 887-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$ aplay -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波-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 stat
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.$ fuser -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-info
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/脉冲/*&重新启动
No results$回波"options snd intel dmic_detect=0“\ sudo tee -a /etc/modprobe.d/alsa-base.conf
No results$回显“黑名单snd_soc_skl”/ -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我用这两个命令创建了一个启动脚本,这样我就不必在每次重新启动时都记住它们。
但这并没有说明问题的原因。Debian 11的安装是新的,新鲜的。至少在理论上,没有理由让脉冲音频不起作用。
问题的原因是什么?有谁能给你指点吗?
发布于 2022-02-23 04:57:29
我简直不敢相信偶然找到一个临时解决办法是多么简单:
$ pulseaudio --kill
$ pulseaudio --start还有哇!听起来又起作用了。
我以前已经尝试过pulseaudio --kill了,但是我不知道如何重新启动它。
我用这两个命令创建了一个启动脚本,这样我就不必在每次重新启动时都记住它们。
但这并没有说明问题的原因。Debian 11的安装是新的,新鲜的。至少在理论上,没有理由让脉冲音频不起作用。
问题的原因是什么?有谁能给你指点吗?
https://unix.stackexchange.com/questions/691396
复制相似问题