我是菜鸟 - 我最近在 lenovo 100e gen 2 chromebook 上安装了 Lubuntu,唯一的问题是它无法识别声卡。有人知道有什么解决办法吗?
我尝试重新安装 alsa 工具和脉冲音频,当然也重启过,但这不是问题所在。如果我运行,
alsamixer
读数是:
ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib control.c:1528:(snd_ctl_open_noupdate) Invalid CTL default
cannot open mixer: No such file or directory
这是当前的 Lubuntu 22.04.3 LTS/Jammy Jelly 发行版。显然,存在库不存在的问题,但我已经多次重新安装了 alsa,但问题依然没有解决。
编辑:我确实尝试了建议链接中的代码,但没有用。例如,运行:
git clone https://github.com/WeirdTreeThing/chromebook-linux-audio.git
cd audio-scripts
./setup-audio
导致没有声音,并输出以下输出:
Cloning into 'chromebook-linux-audio'...
remote: Enumerating objects: 287, done.
remote: Counting objects: 100% (67/67), done.
remote: Compressing objects: 100% (47/47), done.
remote: Total 287 (delta 34), reused 46 (delta 20), pack-reused 220
Receiving objects: 100% (287/287), 289.43 KiB | 2.28 MiB/s, done.
Resolving deltas: 100% (154/154), done.
bash: cd: audio-scripts: No such file or directory
bash: ./setup-audio: No such file or directory
此外,运行
sudo lshw -C sound
似乎识别了“声卡”/多媒体部分,但我真的不知道某些输出的含义。输出:
*-multimedia
description: Multimedia audio controller
product: Celeron N3350/Pentium N4200/Atom E3900 Series Audio Cluster
vendor: Intel Corporation
physical id: e
bus info: pci@0000:00:0e.0
version: 0b
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=snd_soc_skl latency=0
resources: irq:25 memory:91210000-91213fff memory:91000000-910fffff
更新:指向更新后的目录后,输出以下内容,但没有任何变化,PulseAudio 也无法识别输出设备:
Using sof
Installing SOF
Installing SOF firmware
Installing modprobe config
Installing UCM configuration
Cloning into '/tmp/chromebook-ucm-conf'...
remote: Enumerating objects: 864, done.
remote: Counting objects: 100% (385/385), done.
remote: Compressing objects: 100% (239/239), done.
remote: Total 864 (delta 187), reused 305 (delta 122), pack-reused 479
Receiving objects: 100% (864/864), 158.26 KiB | 1.32 MiB/s, done.
Resolving deltas: 100% (413/413), done.
Updating libasound2 (this may take some time)
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Audio installed successfully! Reboot to finish setup.
我现在不确定哪里出了问题 - 一切都表明它应该可以工作。我尝试了 SOF 和 AVS 版本的驱动程序,两者都说它们成功运行,但都没有完成任何事情 - 但由于 AVS 不稳定,它确实导致我的设置中 GRUB 和 PulseAudio 出现问题。
我是不是漏掉了一些基本的东西?我确实尝试过重启 PulseAudio,但没有用。运行 alsamixer 也显示与之前相同的输出。
答案1
音频脚本目录的名称。
cd chromebook-linux-audio
./setup-audio
然后重新启动。