我刚买了一台新的 Chuwi Gemibook Pro,并在上面安装了 Linux Ubuntu 21.04,但没有声音。在“输出设备”中,我只看到 Dummpy 输出,添加后
options snd-hda-intel model=generic
它
/etc/modprobe.d/alsa-base.conf
更改为“HDMI / 显示端口 - 内置音频”,但仍然不起作用。我尝试了不同的内核(5.10、5.11、5.13)——都一样。不幸的是,我在检查声音之前删除了 Windows,所以我不知道这是否是硬件问题。
以下是一些信息,如果您需要更多信息,请询问:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 3: Generic Digital [Generic Digital]
Subdevices: 0/1
Subdevice #0: subdevice #0
$ cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xa1210000 irq 129
$ cat /proc/asound/card0/codec#2 | grep -i codec
Codec: Intel Generic
$ lspci -nn | grep -i audio
00:0e.0 Multimedia audio controller [0401]: Intel Corporation Celeron/Pentium Silver Processor High Definition Audio [8086:3198] (rev 06)
信息更新:
脚本结果alsa-info
:
http://alsa-project.org/db/?f=317f3dceef73b34b71e326ba96a55f9dd4e8206c
$ lsmod | grep snd
snd_hda_codec_hdmi 61440 1
snd_sof_pci_intel_apl 16384 0
snd_sof_intel_hda_common 98304 1 snd_sof_pci_intel_apl
snd_soc_hdac_hda 24576 1 snd_sof_intel_hda_common
soundwire_intel 40960 1 snd_sof_intel_hda_common
snd_sof_intel_hda 20480 1 snd_sof_intel_hda_common
snd_sof_pci 20480 2 snd_sof_intel_hda_common,snd_sof_pci_intel_apl
snd_sof_xtensa_dsp 16384 1 snd_sof_intel_hda_common
snd_sof 135168 2 snd_sof_pci,snd_sof_intel_hda_common
ledtrig_audio 16384 1 snd_sof
snd_soc_skl 163840 0
snd_soc_sst_ipc 20480 1 snd_soc_skl
snd_soc_sst_dsp 32768 1 snd_soc_skl
snd_hda_ext_core 32768 4 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_soc_acpi_intel_match 49152 3 snd_sof_intel_hda_common,snd_soc_skl,snd_sof_pci_intel_apl
snd_soc_acpi 16384 3 snd_soc_acpi_intel_match,snd_sof_intel_hda_common,snd_soc_skl
snd_soc_core 290816 5 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl
snd_compress 28672 1 snd_soc_core
ac97_bus 16384 1 snd_soc_core
snd_pcm_dmaengine 16384 1 snd_soc_core
snd_hda_intel 53248 1
snd_intel_dspcfg 28672 3 snd_hda_intel,snd_sof_intel_hda_common,snd_soc_skl
snd_intel_sdw_acpi 20480 2 snd_sof_intel_hda_common,snd_intel_dspcfg
snd_hda_codec 147456 3 snd_hda_codec_hdmi,snd_hda_intel,snd_soc_hdac_hda
snd_hda_core 94208 8 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 118784 11 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
snd_seq_midi 20480 0
snd_seq_midi_event 16384 1 snd_seq_midi
snd_rawmidi 36864 1 snd_seq_midi
snd_seq 73728 2 snd_seq_midi,snd_seq_midi_event
snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
snd_timer 40960 2 snd_seq,snd_pcm
snd 94208 13 snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi
soundcore 16384 1 snd
$ inxi -SA
System:
Host: sul-GemiBook-Pro Kernel: 5.13.13-051313-generic x86_64 bits: 64
Desktop: GNOME 3.38.4 Distro: Ubuntu 21.04 (Hirsute Hippo)
Audio:
Device-1: Intel Celeron/Pentium Silver Processor High Definition Audio
driver: snd_hda_intel
Sound Server: ALSA v: k5.13.13-051313-generic
$ lspci -nnk |grep -A 1 Audio
00:0e.0 Multimedia audio controller [0401]: Intel Corporation Celeron/Pentium Silver Processor High Definition Audio [8086:3198] (rev 06)
DeviceName: Onboard - Sound
$ uname -a
Linux sul-GemiBook-Pro 5.13.13-051313-generic #202108261440 SMP Thu Aug 26 14:50:08 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
$ sudo lshw -C multimedia
*-multimedia
description: Multimedia audio controller
product: Celeron/Pentium Silver Processor High Definition Audio
vendor: Intel Corporation
physical id: e
bus info: pci@0000:00:0e.0
version: 06
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:129 memory:a1210000-a1213fff memory:a1000000-a10fffff
*-usb:1
description: Video
product: USB 2.0 Camera
vendor: Sonix Technology Co., Ltd.
physical id: 6
bus info: usb@1:6
version: 1.00
serial: SN0001
capabilities: usb-2.00
configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s
$ dpkg -l | grep alsa
ii alsa-base 1.0.25+dfsg-0ubuntu7 all ALSA driver configuration files
ii alsa-topology-conf 1.2.4-1 all ALSA topology configuration files
ii alsa-ucm-conf 1.2.4-2ubuntu1.2 all ALSA Use Case Manager configuration files
ii alsa-utils 1.2.4-1ubuntu3 amd64 Utilities for configuring and using ALSA
ii gstreamer1.0-alsa:amd64 1.18.4-1 amd64 GStreamer plugin for ALSA
$ grep intel /etc/modprobe.d/alsa-base.conf
options snd-intel8x0m index=-2
内核模块的输出太大,因此我将其发布在这里: https://pastebin.com/AtCTKn7F
如能得到帮助,我将不胜感激,谢谢
答案1
这不是硬件问题,因为我在 Gemibook Pro 上遇到了完全相同的问题,尽管是在另一个发行版上,并且 sof 项目上有一个未解决的错误。尽管该错误最初是针对 Hi10X 平板电脑的,但它直接适用于 gemibook pro,因为它显然具有相同的声音硬件,即 ES8336 编解码器 -[BUG] N4120 平板电脑(Chuwi Hi10X)上没有本地设备(扬声器/耳机)#2955;有一个 拉取请求链接位于错误末尾,表示一旦驱动程序发布,支持将立即提供清理并推向上游。您可以按照以下说明尝试一下设置 ktest 环境以及拉取请求本身。