安装了 Ubuntu 20.04 的 Chromebook 没有声音。声音选项显示为“虚拟输出”

安装了 Ubuntu 20.04 的 Chromebook 没有声音。声音选项显示为“虚拟输出”

这似乎是一个非常常见的问题。我尝试了网上讨论的所有方法,但都没有奏效。

我有一台 HP Chromebook 13 G1,正在运行 Ubuntu 20.04,我的输出uname -srmLinux 5.13.0-39-generic x86_64

我使用 MrChromebox 在 Chromebook 上安装了 Ubuntu,我不确定这是否会有什么不同。我确信安装 ChromeOS 时声音最初是可以正常工作的。

以下是一些音频相关的输出:

$ lspci -nnk | grep -A2 Audio

00:1f.3 Multimedia audio controller [0401]: Intel Corporation Sunrise Point-LP HD Audio [8086:9d70] (rev 21)
    DeviceName: Multimedia audio controller
    Kernel driver in use: snd_soc_skl
$ aplay -l
aplay: device_list:276: no soundcards found...
$ pacmd list cars |egrep -i "output|active"

    argument: <sink_name=auto_null sink_properties='device.description="Dummy Output"'>
        device.description = "Dummy Output"
        device.description = "Monitor of Dummy Output"
0 source output(s) available.
$ lspci -v | grep -i audio
00:1f.3 Multimedia audio controller: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
    DeviceName: Multimedia audio controller

我已按照人们建议的步骤操作,但我不确定我是否正确执行了。例如,当人们建议添加options snd-hda-intel dmic_detect=0到时/etc/modprobe.d/alsa-base.conf,我应该用 替换,snd-hda-intelsnd_soc_skl吗?

如果有人能就此给我一些指导,那就太好了。

编辑:

我上面列出的输出适用于全新安装的 Ubuntu。在我更改/etc/modprobe.d/alsa-base.conf以添加以下行之后

options snd-hda-intel model=auto
options snd-hda-intel dmic_detect=0

我还补充blacklist snd_soc_skl/etc/modprobe.d/blacklist.conf

现在我的输出是这样的:

$ lspci -nnk | grep -A2 Audio

00:1f.3 Multimedia audio controller [0401]: Intel Corporation Sunrise Point-LP HD Audio [8086:9d70] (rev 21)
    DeviceName: Multimedia audio controller
    Kernel driver in use: snd_hda_intel
$ aplay -l
  **** List of PLAYBACK Hardware Devices ****
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
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
$ pacmd list cars |egrep -i "output|active"
    argument: <sink_name=auto_null sink_properties='device.description="Dummy Output"'>
        device.description = "Dummy Output"
        device.description = "Monitor of Dummy Output"
        output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: no)
        output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 800, available: no)
        output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 800, available: no)
        output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
        output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
        output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
        output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: no)
        output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 600, available: no)
        output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 600, available: no)
        output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5700, available: no)
        output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 600, available: no)
        output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 600, available: no)
        output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5700, available: no)
        output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 600, available: no)
        output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 600, available: no)
    active profile: <off>
        hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
        hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
        hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
        hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
        hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
1 source output(s) available.
        module-stream-restore.id = "source-output-by-application-id:org.gnome.VolumeControl"


答案1

显然这是一个已知问题,即现代 Chromebook(大约 2015 年)在安装其他版本的 Linux 时无法保持声音功能。

我知道的唯一例外是GalliumOS。需要安装哪个版本的 GalliumOS 取决于你的 Chromebook 型号,但我发现 Skylake 可以让声音与 HP Chromebook 13 G1 配合使用。

值得注意的是,蓝牙音频可以与其他 Linux 发行版兼容,因此根据您的情况,将 Ubuntu 与蓝牙扬声器或耳机一起使用可能会更合适。

相关内容