我仍然没有音频,即使升级到内核6,它肯定解决了这个问题与es8336英特尔内置高清音频卡。我已经完成了彻底的工作,试图在以前的内核中修复这个问题。
我有一个通用的中国制造的笔记本电脑,由于某种原因,linux发行版似乎不支持(关于音频)。我的是一个ALLDOCUBE i1405S使用碧玉湖芯片组。当然,其他一切都很好,包括通过HDMI、USB音频接口(Behringer UCA202)或蓝牙耳机的音频。
音频是由一个珠穆朗玛峰编解码器,臭名昭著的es8336处理。
我现在使用管道,因为它取代了最近几次Ubuntu更新中的脉冲音频。
今天我想我应该尝试一些不同的东西。我做了一个简单的dmesg来查看引导时弹出的错误。以下是dmesg的相关部分:
[ 6.507569] sof-essx8336 sof-essx8336: quirk mask 0x21
[ 6.507577] sof-essx8336 sof-essx8336: quirk SSP1
[ 6.507578] sof-essx8336 sof-essx8336: quirk DMIC enabled
[ 6.509764] sof-audio-pci-intel-icl 0000:00:1f.3: Direct firmware load for intel/sof-tplg/sof-jsl-es8336-dmic2ch-ssp1.tplg failed with error -2
[ 6.509770] sof-audio-pci-intel-icl 0000:00:1f.3: error: tplg request firmware intel/sof-tplg/sof-jsl-es8336-dmic2ch-ssp1.tplg failed err: -2
[ 6.509774] sof-audio-pci-intel-icl 0000:00:1f.3: you may need to download the firmware from https://github.com/thesofproject/sof-bin/
[ 6.509777] sof-audio-pci-intel-icl 0000:00:1f.3: error: failed to load DSP topology -2
[ 6.509779] sof-audio-pci-intel-icl 0000:00:1f.3: ASoC: error at snd_soc_component_probe on 0000:00:1f.3: -2
[ 6.509791] sof-essx8336 sof-essx8336: ASoC: failed to instantiate card -2
[ 6.509855] sof-essx8336 sof-essx8336: snd_soc_register_card failed: -2
[ 6.509858] sof-essx8336: probe of sof-essx8336 failed with error -2}当然,这是我的系统信息:
inxi -Fx输出:
System:
Host: myusername Kernel: 6.0.0-060000-generic x86_64 bits: 64
compiler: N/A Desktop: KDE Plasma 5.24.7
Distro: Ubuntu 22.04.1 LTS (Jammy Jellyfish)
Machine:
Type: Laptop System: ALLDOCUBE product: i1405S v: N/A
serial: <superuser required>
Mobo: ALLDOCUBE model: ALLDOCUBE serial: <superuser required>
UEFI: American Megatrends LLC. v: Z362D.2112031.003.2133 date: 12/30/2021
Battery:
ID-1: BAT0 charge: 37.2 Wh (97.9%) condition: 38.0/38.0 Wh (100.0%)
volts: 7.6 min: N/A model: Intel SR 1 SR Real Battery status: Discharging
CPU:
Info: quad core model: Intel Celeron N5100 bits: 64 type: MCP arch: Tremont
rev: 0 cache: L1: 256 KiB L2: 1.5 MiB L3: 4 MiB
Speed (MHz): avg: 2078 high: 2800 min/max: 800/2800 cores: 1: 1421
2: 2800 3: 2741 4: 1353 bogomips: 8908
Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel JasperLake [UHD Graphics] driver: i915 v: kernel
bus-ID: 00:02.0
Device-2: Realtek USB Camera type: USB driver: uvcvideo bus-ID: 1-5:2
Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: modesetting
unloaded: fbdev,vesa gpu: i915 resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa Intel UHD Graphics (JSL) v: 4.6 Mesa 22.0.5
direct render: Yes
Audio:
Device-1: Intel vendor: Realtek driver: sof-audio-pci-intel-icl
bus-ID: 00:1f.3
Sound Server-1: ALSA v: k6.0.0-060000-generic running: yes
Sound Server-2: PulseAudio v: 15.99.1 running: no
Sound Server-3: PipeWire v: 0.3.60 running: yes
Network:
Device-1: Intel Wi-Fi 6 AX201 160MHz driver: iwlwifi v: kernel
bus-ID: 00:14.3
IF: wlo1 state: up mac: 38:87:d5:e4:53:e0
Bluetooth:
Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
bus-ID: 1-8:4
Report: hciconfig ID: hci0 rfk-id: 0 state: up address: 38:87:D5:E4:53:E4
bt-v: 3.0 lmp-v: 5.2
Drives:
Local Storage: total: 644.89 GiB used: 250.52 GiB (38.8%)
ID-1: /dev/sda vendor: Western Digital
model: WD Blue SA510 M.2 2280 500GB size: 465.76 GiB
ID-2: /dev/sdb type: USB model: Multiple Card Reader size: 119.38 GiB
ID-3: /dev/sdc type: USB vendor: Samsung model: Flash Drive
size: 59.75 GiB
Partition:
ID-1: / size: 320.36 GiB used: 97.52 GiB (30.4%) fs: ext4 dev: /dev/sda5
ID-2: /boot/efi size: 96 MiB used: 34 MiB (35.4%) fs: vfat dev: /dev/sda1
Swap:
ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) file: /swapfile
Sensors:
System Temperatures: cpu: 57.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 287 Uptime: 1h 51m Memory: 11.51 GiB used: 4.71 GiB (40.9%)
Init: systemd runlevel: 5 Compilers: gcc: 11.3.0 Packages: 2878 Shell: Bash
v: 5.1.16 inxi: 3.3.13伙计,我喜欢那个印西剧本。
更多信息:
hwinfo --short输出:
cpu:
Intel(R) Celeron(R) N5100 @ 1.10GHz, 2800 MHz
Intel(R) Celeron(R) N5100 @ 1.10GHz, 2780 MHz
Intel(R) Celeron(R) N5100 @ 1.10GHz, 2800 MHz
Intel(R) Celeron(R) N5100 @ 1.10GHz, 2800 MHz
keyboard:
/dev/input/event4 AT Translated Set 2 keyboard
mouse:
/dev/input/mice SYNA3602:00 093A:1336 Mouse
/dev/input/mice SYNA3602:00 093A:1336 Touchpad
monitor:
BOE CQ LCD Monitor
graphics card:
Intel VGA compatible controller
sound:
Intel Audio device
storage:
Intel SATA controller
network:
wlo1 Intel WLAN controller
network interface:
wlo1 Ethernet network interface
lo Loopback network interface
disk:
/dev/sdb Multiple Card Reader
/dev/sdc Samsung Flash Drive
/dev/sda WD Blue SA510 M.
partition:
/dev/sdb1 Partition
/dev/sdc1 Partition
/dev/sda1 Partition
/dev/sda2 Partition
/dev/sda3 Partition
/dev/sda4 Partition
/dev/sda5 Partition
usb controller:
Intel USB Controller
bios:
BIOS
bridge:
Intel ISA bridge
Intel Host bridge
hub:
Linux Foundation 2.0 root hub
Linux Foundation 3.0 root hub
memory:
Main Memory
bluetooth:
Intel Bluetooth Device
unknown:
FPU
DMA controller
PIC
Keyboard controller
Intel Serial bus controller
Intel SD Host controller
Intel Signal processing controller
Intel Communication controller
Intel Serial bus controller
Intel Serial bus controller
Intel Communication controller
Intel Serial bus controller
Intel Serial bus controller
Intel SD Host controller
Intel Serial bus controller
Intel RAM memory
Intel SMBus
Intel Serial bus controller
Realtek USB Camera}没什么好奇怪的对吧?有趣的是,RAM内存被列在“未知”下。
aplay -l输出:播放: device_list:274:没有找到声卡.嗯。那里没有惊喜。
lspci -v | grep -A7 -i "audio"输出:
00:1f.3 Audio device: Intel Corporation Device 4dc8 (rev 01) (prog-if 80)
DeviceName: Onboard - Sound
Subsystem: Realtek Semiconductor Co., Ltd. Device 1242
Flags: bus master, fast devsel, latency 32, IRQ 135
Memory at 6001120000 (64-bit, non-prefetchable) [size=16K]
Memory at 6001000000 (64-bit, non-prefetchable) [size=1M]
Capabilities: <access denied>
Kernel driver in use: sof-audio-pci-intel-icl
Kernel modules: snd_hda_intel, snd_sof_pci_intel_icl
00:1f.4 SMBus: Intel Corporation JaserLake SMBus (rev 01)
DeviceName: Onboard - Other
Subsystem: Intel Corporation JaserLake SMBus
Flags: medium devsel, IRQ 16
Memory at 600112a000 (64-bit, non-prefetchable) [size=256]音频命令:
/sbin/lsmod | grep snd输出:
snd_seq_dummy 16384 0
snd_hrtimer 16384 1
snd_soc_sof_es8336 20480 0
snd_soc_intel_hda_dsp_common 20480 1
snd_soc_sof_es8336
snd_sof_probes 20480 0
snd_hda_codec_hdmi 81920 0
snd_soc_dmic 16384 0
snd_sof_pci_intel_icl 16384 0
snd_sof_intel_hda_common 143360 1
snd_sof_pci_intel_icl
soundwire_intel 40960 1
snd_sof_intel_hda_common
snd_sof_intel_hda 20480 1
snd_sof_intel_hda_common
snd_sof_pci 24576 2
snd_sof_pci_intel_icl,
snd_sof_intel_hda_common
snd_sof_xtensa_dsp 16384 1
snd_sof_intel_hda_common
snd_sof 245760 3
snd_sof_pci,
snd_sof_intel_hda_common,
snd_sof_probes
snd_sof_utils 20480 1
snd_sof
snd_soc_hdac_hda 24576 1
snd_sof_intel_hda_common
snd_hda_ext_core 36864 3
snd_sof_intel_hda_common,
snd_soc_hdac_hda,
snd_sof_intel_hda
snd_soc_acpi_intel_match 69632 2
snd_sof_pci_intel_icl,
snd_sof_intel_hda_common
snd_soc_acpi 16384 2
snd_soc_acpi_intel_match,
snd_sof_intel_hda_common
snd_seq_midi 20480 0
snd_hda_intel 53248 0
snd_soc_es8316 49152 0
snd_seq_midi_event 16384 1
snd_seq_midi
snd_intel_dspcfg 36864 3
snd_hda_intel,
snd_sof,
snd_sof_intel_hda_common
snd_intel_sdw_acpi 20480 2
snd_sof_intel_hda_common,
snd_intel_dspcfg
snd_rawmidi 45056 1
snd_seq_midi
snd_hda_codec 172032 4
snd_hda_codec_hdmi,snd_hda_intel,
snd_soc_intel_hda_dsp_common,
snd_soc_hdac_hda
snd_soc_core 368640 8 soundwire_intel,
snd_sof,
snd_sof_intel_hda_common,
snd_soc_hdac_hda,
snd_soc_sof_es8336,
snd_sof_probes,
snd_soc_es8316,
snd_soc_dmic
snd_compress 24576 2
snd_soc_core,
snd_sof_probes
snd_hda_core 118784 8
snd_hda_codec_hdmi,
snd_hda_intel,
snd_hda_ext_core,
snd_hda_codec,
snd_soc_intel_hda_dsp_common,
snd_sof_intel_hda_common,
snd_soc_hdac_hda,
snd_sof_intel_hda
ac97_bus 16384 1
snd_soc_core
snd_pcm_dmaengine 20480 1
snd_soc_core
snd_seq 77824 9
snd_seq_midi,
snd_seq_midi_event,
snd_seq_dummy
snd_hwdep 20480 1
snd_hda_codec
snd_seq_device 16384 3
snd_seq,
snd_seq_midi,
snd_rawmidi
snd_pcm 159744 12
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_sof_utils,
snd_soc_es8316,
snd_hda_core,
snd_pcm_dmaengine
snd_timer 40960 3
snd_seq,
snd_hrtimer,
snd_pcm
snd 114688 15
snd_seq,
snd_seq_device,
snd_hda_codec_hdmi,
snd_hwdep,
snd_hda_intel,
snd_hda_codec,
snd_sof,
snd_timer,
snd_compress,
snd_soc_core,
snd_soc_sof_es8336,
snd_pcm,
snd_rawmidi
soundcore 16384 1
snd有趣的是,在那里有几个地方提到了es8336。但计算机却无法将设备与硬件连接起来。
我试过很多次发行版,但都没有效果。Windows可以很好地处理音频。Fedora,Arch,Debian,任何Ubuntu衍生产品,Tuxedo,Mint,DeepinOS等都没有运气。
我曾尝试过许多方法,推荐mods到阿尔萨基地,但最终没有结果。没有内核引导行编辑工作。
我找到了另一个线程,用户说他们通过手动将sof bin固件复制到/lib/固件/intel/sof-tplg/文件夹找到了一个临时解决方案。见以下步骤:
cd ~/Downloads
wget https://github.com/thesofproject/sof-bin/releases/download/v1.9.3/sof-bin-v1.9.3.tar.gz
tar xvzf sof-bin-v1.9.3.tar.gz
sudo mv /lib/firmware/intel/sof* ~/backup/ # save a backup in your home folder
sudo rsync -a sof-v1.9.3/ /lib/firmware/intel/sof/
sudo rsync -a sof-tplg-v1.9.3/ /lib/firmware/intel/sof-tplg/重新启动
我想我很好奇,这些步骤是特定于他的设备,还是一般的拓扑变化,需要改变,以使珠穆朗玛峰系列的英特尔hda声卡工作。他使用的是一台没有在笔记本电脑上发出声音的max98090。但我在命令中没有看到那个模型。因此,这些尝试是否安全?我只是随机地尝试了太多的Ubuntu安装。
最大的问题是为什么Linux没有对内核进行正确的更新来处理这些来自英特尔的廉价声卡。我的意思是,他们说很久以前就会处理这个问题,并且似乎把文件放在了内核中。这似乎是一个糟糕的实现问题,就像内核补丁跳过了一步。鉴于这些廉价的声卡是成堆的廉价笔记本电脑,这些电脑非常受欢迎,为什么它还不能工作呢?
发布于 2022-12-22 17:14:02
你试过这个吗?
https://github.com/yangxiaohua2009/custom-kernel
开发者的作品在我不知名的UMPC中产生了声音。转到问题#9;yang有第二个自定义内核可用,它允许在恢复后发出暂停声音。否则,你必须重新启动。
尽管如此,我还是不得不进行内核编译,因为yang在他的.config中不启用32位,我需要32位才能在红酒中运行遗留应用程序。
我的操作系统是MXLinux21a,但我想内核将与您的Ubuntu一起工作。
https://askubuntu.com/questions/1442371
复制相似问题