在Ubuntu 18.04 HP笔记本电脑中没有声音


8

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

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

尽管有声音,但在“声音设置”中未检测到声卡

pulseaudio -k && sudo alsa force-reload 无法解决问题

pacmd list-cards 表演 0 card(s) available.

当以前在我的18.04上声音正常时,我尝试进行修改 /etc/modprobe.d/alsa-base.conf以解决此答案后的其他问题。但是在声音停止工作后,我删除了将驱动程序列入黑名单的添加行。这可能引起我的问​​题吗?

请帮帮我,我的电脑长时间无法正常工作

更新

由于我的PC上具有双重启动功能,因此我启动到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卡,但我仍然无法听到任何声音,请帮忙


我有一个几乎完全相同的问题,仅在Lenovo Thinkpad上
两栖游戏'19

Answers:


4

安装的音乐包rhythmbox,并amarok用:

sudo apt install rhythmbox amarok

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

sudo apt install --reinstall rhythmbox amarok

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

然后重启。


我没有安装rythmbox的音乐包,看来这些包中的驱动程序可能已经解决了问题。谢谢!
Kewal Shah

@KewalShah-很高兴知道,这个答案很有用。
dschinn1001

当我安装ubuntu 18时,我的HP羡慕对象上有一些静噪。您的回答实际上降低了静噪的频率。
PhillipMwaniki

@PhillipMwaniki-关于不同的声音,我没有任何线索。在这里充耳不闻。但是很好,如果该线程有帮助。
dschinn1001,2018年

具有讽刺意味的。这个词一度真正适用!
Francky_V '18 -10-10

0

我遇到了同样的问题,即未检测到任何声音设备,因此将ubuntu从16.更新到18.04后根本没有声音。

我搜索了一些解决方案,说实话,我尝试的是对找到的一些答案的汇编,因此我不确定哪个是真正的解决方案。

我所做的发现声音正常:

sudo alsa强制重新加载

Killall PulseAudio; rm -r〜/ .config / pulse / *

然后重新启动,在加载ubuntu之前,我快速通过了双引导安装的其他操作系统Windows 7,因为这是一种适用于其他伙伴的解决方案,因此在重新启动后,声音又回来了。


0

当我安装Ubuntu 19.04时,一切都很好。经过几次更新后,不再有声音。我用谷歌搜索并尝试了许多解决方案,但是没有运气。我碰到过一篇帖子,提到安装ubuntu受限插件。

sudo apt-get install ubuntu-restricted-addons 

此命令解决了我的问题。

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


-2

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

因此,如果您尝试了所有操作,请尝试将密钥环密码重置为空白。

  1. 转到系统>首选项>密码和加密密钥
  2. 右键单击适当的文件夹
  3. 点击更改密码
  4. 输入旧密码,将新密码留空

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

带有Ubuntu的chrome远程桌面存在一些问题。恢复所有应用程序的系统声音后,应同时从chrome和ubuntu中删除扩展名。

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


密码和加密与声音问题无关。
Hedley Finger
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.