Ubuntu 18.04 HP 笔记本没有声音

Ubuntu 18.04 HP 笔记本没有声音

请注意,我已尝试以下两个链接中的所有解决方案:

Ubuntu 14.04 中的“虚拟输出”声音

虽然声音可以正常播放,但在“声音设置”中未检测到声卡

pulseaudio -k && sudo alsa force-reload并不能解决问题

pacmd list-cards节目0 card(s) available.

之前在我的 18.04 上声音工作正常, /etc/modprobe.d/alsa-base.conf为了解决以下问题,我尝试进行修改这个答案。但是,在声音停止工作后,我删除了将驱动程序列入黑名单的添加行。这是否是导致我遇到问题的原因?

请帮帮我,我的电脑长时间没有声音我就无法工作

更新

由于我的电脑上有双启动功能,我启动了 Windows,但声音也无法正常工作,Windows 故障排除程序无法识别问题,因此我进入设备管理器并重新安装 Realtek HD 音频控制器,它没有解决我的问题,声音仍然没有播放,但发生了一件了不起的事情是,当我重新启动 Ubuntu 18.04 时,它检测到了内置音频

现在pacmd list-cards显示:

1 card(s) available.
index: 0
name: <alsa_card.pci-0000_00_1f.3>
driver: <module-alsa-card.c>
owner module: 7
properties:
    alsa.card = "0"
    alsa.card_name = "HDA Intel PCH"
    alsa.long_card_name = "HDA Intel PCH at 0xa1428000 irq 128"
    alsa.driver_name = "snd_hda_intel"
    device.bus_path = "pci-0000:00:1f.3"
    sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
    device.bus = "pci"
    device.vendor.id = "8086"
    device.vendor.name = "Intel Corporation"
    device.product.id = "9d70"
    device.product.name = "Sunrise Point-LP HD Audio"
    device.form_factor = "internal"
    device.string = "0"
    device.description = "Built-in Audio"
    module-udev-detect.discovered = "1"
    device.icon_name = "audio-card-pci"
profiles:
    input:analog-stereo: Analog Stereo Input (priority 60, available: unknown)
    output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
    output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
    output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: no)
    output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5460, available: unknown)
    output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 300, available: no)
    output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (priority 360, available: unknown)
    output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 300, available: no)
    output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Output + Analog Stereo Input (priority 360, available: unknown)
    output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5200, available: no)
    output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (priority 5260, available: unknown)
    output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 100, available: no)
    output:hdmi-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2) Output + Analog Stereo Input (priority 160, available: unknown)
    output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 100, available: no)
    output:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2) Output + Analog Stereo Input (priority 160, available: unknown)
    output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5200, available: no)
    output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3) Output + Analog Stereo Input (priority 5260, available: unknown)
    output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 100, available: no)
    output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3) Output + Analog Stereo Input (priority 160, available: unknown)
    output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 100, available: no)
    output:hdmi-surround71-extra2+input:analog-stereo: Digital Surround 7.1 (HDMI 3) Output + Analog Stereo Input (priority 160, available: unknown)
    output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5200, available: no)
    output:hdmi-stereo-extra3+input:analog-stereo: Digital Stereo (HDMI 4) Output + Analog Stereo Input (priority 5260, available: unknown)
    output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 100, available: no)
    output:hdmi-surround-extra3+input:analog-stereo: Digital Surround 5.1 (HDMI 4) Output + Analog Stereo Input (priority 160, available: unknown)
    output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 100, available: no)
    output:hdmi-surround71-extra3+input:analog-stereo: Digital Surround 7.1 (HDMI 4) Output + Analog Stereo Input (priority 160, available: unknown)
    output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5200, available: no)
    output:hdmi-stereo-extra4+input:analog-stereo: Digital Stereo (HDMI 5) Output + Analog Stereo Input (priority 5260, available: unknown)
    output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 100, available: no)
    output:hdmi-surround-extra4+input:analog-stereo: Digital Surround 5.1 (HDMI 5) Output + Analog Stereo Input (priority 160, available: unknown)
    output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 100, available: no)
    output:hdmi-surround71-extra4+input:analog-stereo: Digital Surround 7.1 (HDMI 5) Output + Analog Stereo Input (priority 160, available: unknown)
    off: Off (priority 0, available: unknown)
active profile: <output:analog-stereo+input:analog-stereo>
sinks:
    alsa_output.pci-0000_00_1f.3.analog-stereo/#0: Built-in Audio Analog Stereo
sources:
    alsa_output.pci-0000_00_1f.3.analog-stereo.monitor/#0: Monitor of Built-in Audio Analog Stereo
    alsa_input.pci-0000_00_1f.3.analog-stereo/#1: Built-in Audio Analog Stereo
ports:
    analog-input-internal-mic: Internal Microphone (priority 8900, latency offset 0 usec, available: unknown)
        properties:
            device.icon_name = "audio-input-microphone"
    analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: no)
        properties:
            device.icon_name = "audio-input-microphone"
    analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
        properties:
            device.icon_name = "audio-speakers"
    analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
        properties:
            device.icon_name = "audio-headphones"
    hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
        properties:
            device.icon_name = "video-display"
    hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
        properties:
            device.icon_name = "video-display"
    hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
        properties:
            device.icon_name = "video-display"
    hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
        properties:
            device.icon_name = "video-display"
    hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
        properties:
            device.icon_name = "video-display"

尽管现在检测到了这 1 张卡,但我仍然听不到任何声音,请帮忙

答案1

rhythmbox安装和的音乐包amarok

sudo apt install rhythmbox amarok

或者如果它们已经安装则:

sudo apt install --reinstall rhythmbox amarok

据我所知,这些软件包还含有更多的驱动程序。

然后重新启动。

抱歉,因为 amarok 软件包。那是 Ubuntu 的早期。

然后您可以尝试以下操作:

sudo apt 安装 rhythmbox clementine

或者

sudo apt install --reinstall rhythmbox clementine

(2020 年 7 月 10 日改进答案)

答案2

我遇到了同样的问题,没有检测到任何声音设备,所以在将 ubuntu 从 16.04 更新到 18.04 后根本没有声音

我寻找了一些解决方案,说实话,我尝试的只是对一些找到的答案进行汇编,所以我不确定哪一个才是真正的解决方案。

我做了以下操作并发现声音有效:

sudo alsa 强制重新加载

killall pulseaudio; rm -r ~/.config/pulse/*

然后重新启动在加载 ubuntu 之前,我快速通过了安装在双启动中的另一个操作系统,即 Windows 7,因为这是一个对其他朋友有效的解决方案,因此再重新启动一次后,声音就恢复了。

答案3

当我安装 Ubuntu 19.04 时,一切都很好。经过几次更新后,就再也没有声音了。我在 Google 上搜索并尝试了许多解决方案,但都没有成功。我偶然发现了一篇提到安装 ubuntu 限制插件的帖子。

sudo apt-get install ubuntu-restricted-addons 

此命令解决了我的问题。

但在 Firefox 下,Youtube 仍然没有声音。这是另一个问题。@@

答案4

我遇到了同样的问题,我尝试了所有方法,但还是无法解决问题。后来我发现问题不是由驱动程序引起的,而是由我提供的密钥环密码引起的。

因此,如果您已尝试了所有方法,请尝试将您的密钥环密码重置为空白。

  1. 系统 > 首选项 > 密码和加密密钥
  2. 右键单击相应文件夹
  3. 点击“更改密码”
  4. 输入旧密码,新密码留空

如果它不起作用并且你已经安装了 chrome 远程桌面应用程序

Ubuntu 的 Chrome 远程桌面存在一些问题。要恢复所有应用程序的系统声音,您应该从 Chrome 和 Ubuntu 中删除扩展程序。

运行命令 apt remove chrome-remote-desktop 或 apt-get remove chrome-remote-desktop 并重新启动 ubuntu

相关内容