Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

TAS2781 firmware is missing

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
24 posts • Page 1 of 1
Author
Message
arkc80087
n00b
n00b
Posts: 10
Joined: Fri Dec 27, 2024 5:26 am

TAS2781 firmware is missing

  • Quote

Post by arkc80087 » Sat Dec 28, 2024 1:25 am

Hello, this is my first post, so please let me know if there's anything I'm missing.

---

Switching over to Gentoo, I've noticed that 2 of my speakers failed to play sound, and only 1 speaker directly below my laptop's screen was playing. As a result, I could only hear the higher frequencies from my speakers.

It seems like there's a TAS2781 speaker amplifier inside of my laptop, which seems to not work due to missing firmware in the /lib/firmware directory.


Kernel: gentoo-sources-6.12.6
Firmware: linux-firmware-20241210-r1
SOF Firmware: sof-firmware-2024.09.2

Output of dmesg | grep TAS

Code: Select all

dmesg | grep TAS
[    3.973670] Loading firmware: TAS2XXX0C96.bin
[    3.973696] tas2781-hda i2c-TIAS2781:00: Direct firmware load for TAS2XXX0C96.bin failed with error -2
[    3.973699] tas2781-hda i2c-TIAS2781:00: tasdevice_dsp_parser: load TAS2XXX0C96.bin error
[    3.973700] tas2781-hda i2c-TIAS2781:00: dspfw load TAS2XXX0C96.bin error
Output of ls /lib/firmware | grep TAS

Code: Select all

ls /lib/firmware | grep TAS
TAS2XXX1EB3.bin
TAS2XXX1EB30.bin
TAS2XXX1EB31.bin
TAS2XXX2234.bin
TAS2XXX3870.bin
TAS2XXX387D.bin
TAS2XXX387E.bin
TAS2XXX387F.bin
TAS2XXX3880.bin
TAS2XXX3881.bin
TAS2XXX3882.bin
TAS2XXX3884.bin
TAS2XXX3886.bin
TAS2XXX38A5.bin
TAS2XXX38A7.bin
TAS2XXX38A8.bin
TAS2XXX38B8.bin
TAS2XXX38B9.bin
TAS2XXX38BA.bin
TAS2XXX38BB.bin
TAS2XXX38BE.bin
TAS2XXX38BF.bin
TAS2XXX38C3.bin
TAS2XXX38CB.bin
TAS2XXX38CD.bin
TAS2XXX38D3.bin
TAS2XXX38D4.bin
TAS2XXX38D5.bin
TAS2XXX38D6.bin
TAS2XXX38DF.bin
TAS2XXX38E0.bin
Output of ls /lib/firmware/ti/tas2781

Code: Select all

ls /lib/firmware/ti/tas2781
TAS2XXX1EB30.bin  TAS2XXX387E.bin  TAS2XXX3882.bin  TAS2XXX38A7.bin  TAS2XXX38BA.bin  TAS2XXX38C3.bin  TAS2XXX38D4.bin  TAS2XXX38E0.bin
TAS2XXX1EB31.bin  TAS2XXX387F.bin  TAS2XXX3884.bin  TAS2XXX38A8.bin  TAS2XXX38BB.bin  TAS2XXX38CB.bin  TAS2XXX38D5.bin  TIAS2781RCA2.bin
TAS2XXX2234.bin   TAS2XXX3880.bin  TAS2XXX3886.bin  TAS2XXX38B8.bin  TAS2XXX38BE.bin  TAS2XXX38CD.bin  TAS2XXX38D6.bin  TIAS2781RCA4.bin
TAS2XXX387D.bin   TAS2XXX3881.bin  TAS2XXX38A5.bin  TAS2XXX38B9.bin  TAS2XXX38BF.bin  TAS2XXX38D3.bin  TAS2XXX38DF.bin
Kernel config of TAS2781 drivers

Code: Select all

CONFIG_SND_HDA_SCODEC_TAS2781_I2C=m
CONFIG_SND_SOC_TAS2781_COMLIB=m
CONFIG_SND_SOC_TAS2781_FMWLIB=m
CONFIG_SND_SOC_TAS2781_I2C=m
Output of lspci -k

Code: Select all

0000:00:00.0 Host bridge: Intel Corporation Device 7d01 (rev 04)
	Subsystem: Dell Device 0c96
	Kernel driver in use: igen6_edac
	Kernel modules: igen6_edac
0000:00:02.0 VGA compatible controller: Intel Corporation Meteor Lake-P [Intel Arc Graphics] (rev 08)
	Subsystem: Dell Device 0c96
	Kernel driver in use: i915
	Kernel modules: i915, xe
0000:00:04.0 Signal processing controller: Intel Corporation Meteor Lake-P Dynamic Tuning Technology (rev 04)
	Subsystem: Dell Device 0c96
	Kernel driver in use: proc_thermal_pci
	Kernel modules: processor_thermal_device_pci
0000:00:07.0 PCI bridge: Intel Corporation Meteor Lake-P Thunderbolt 4 PCI Express Root Port #0 (rev 10)
	Subsystem: Dell Device 0c96
	Kernel driver in use: pcieport
0000:00:07.2 PCI bridge: Intel Corporation Meteor Lake-P Thunderbolt 4 PCI Express Root Port #2 (rev 10)
	Subsystem: Dell Device 0c96
	Kernel driver in use: pcieport
0000:00:08.0 System peripheral: Intel Corporation Meteor Lake-P Gaussian & Neural-Network Accelerator (rev 20)
	Subsystem: Dell Device 0c96
0000:00:0a.0 Signal processing controller: Intel Corporation Meteor Lake-P Platform Monitoring Technology (rev 01)
	Subsystem: Dell Device 0c96
	Kernel driver in use: intel_vsec
	Kernel modules: intel_vsec
0000:00:0b.0 Processing accelerators: Intel Corporation Meteor Lake NPU (rev 04)
	Subsystem: Dell Device 0c96
0000:00:0d.0 USB controller: Intel Corporation Meteor Lake-P Thunderbolt 4 USB Controller (rev 10)
	Subsystem: Dell Device 0c96
	Kernel driver in use: xhci_hcd
0000:00:0d.2 USB controller: Intel Corporation Meteor Lake-P Thunderbolt 4 NHI #0 (rev 10)
	Subsystem: Dell Device 0c96
	Kernel driver in use: thunderbolt
	Kernel modules: thunderbolt
0000:00:0d.3 USB controller: Intel Corporation Meteor Lake-P Thunderbolt 4 NHI #1 (rev 10)
	Subsystem: Dell Device 0c96
	Kernel driver in use: thunderbolt
	Kernel modules: thunderbolt
0000:00:0e.0 RAID bus controller: Intel Corporation Volume Management Device NVMe RAID Controller Intel Corporation
	Subsystem: Dell Device 0c96
	Kernel driver in use: vmd
0000:00:12.0 Serial controller: Intel Corporation Meteor Lake-P Integrated Sensor Hub (rev 20)
	Subsystem: Dell Device 0c96
	Kernel driver in use: intel_ish_ipc
	Kernel modules: intel_ish_ipc
0000:00:14.0 USB controller: Intel Corporation Meteor Lake-P USB 3.2 Gen 2x1 xHCI Host Controller (rev 20)
	Subsystem: Dell Device 0c96
	Kernel driver in use: xhci_hcd
0000:00:14.2 RAM memory: Intel Corporation Device 7e7f (rev 20)
	Subsystem: Dell Device 0c96
0000:00:14.3 Network controller: Intel Corporation Meteor Lake PCH CNVi WiFi (rev 20)
	Subsystem: Intel Corporation Device 4090
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi
0000:00:15.0 Serial bus controller: Intel Corporation Meteor Lake-P Serial IO I2C Controller #0 (rev 20)
	Subsystem: Dell Device 0c96
	Kernel driver in use: intel-lpss
0000:00:15.2 Serial bus controller: Intel Corporation Meteor Lake-P Serial IO I2C Controller #2 (rev 20)
	Subsystem: Dell Device 0c96
	Kernel driver in use: intel-lpss
0000:00:15.3 Serial bus controller: Intel Corporation Meteor Lake-P Serial IO I2C Controller #3 (rev 20)
	Subsystem: Dell Device 0c96
	Kernel driver in use: intel-lpss
0000:00:16.0 Communication controller: Intel Corporation Meteor Lake-P CSME HECI #1 (rev 20)
	Subsystem: Dell Device 0c96
	Kernel driver in use: mei_me
	Kernel modules: mei_me
0000:00:1f.0 ISA bridge: Intel Corporation Device 7e02 (rev 20)
	Subsystem: Dell Device 0c96
0000:00:1f.3 Multimedia audio controller: Intel Corporation Meteor Lake-P HD Audio Controller (rev 20)
	Subsystem: Dell Device 0c96
	Kernel driver in use: sof-audio-pci-intel-mtl
	Kernel modules: snd_hda_intel, snd_sof_pci_intel_mtl
0000:00:1f.4 SMBus: Intel Corporation Meteor Lake-P SMBus Controller (rev 20)
	Subsystem: Dell Device 0c96
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801
0000:00:1f.5 Serial bus controller: Intel Corporation Meteor Lake-P SPI Controller (rev 20)
	Subsystem: Dell Device 0c96
	Kernel driver in use: intel-spi
	Kernel modules: spi_intel_pci
10000:e0:06.0 System peripheral: Intel Corporation RST VMD Managed Controller
10000:e0:06.2 PCI bridge: Intel Corporation Device 7ecb (rev 10)
	Kernel driver in use: pcieport
10000:e1:00.0 Non-Volatile memory controller: KIOXIA Corporation NVMe SSD Controller BG6 (DRAM-less) (rev 01)
	Subsystem: KIOXIA Corporation NVMe SSD Controller BG6 (DRAM-less)
	Kernel driver in use: nvme
	Kernel modules: nvme
If anyone can help, please let me know. Thanks!
Top
pietinger
Administrator
Administrator
Posts: 6620
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Sat Dec 28, 2024 2:26 am

arkc80087,

Welcome to Gentoo Forums! :D

I can see you have a (brand new) MeteorLake machine ... a Dell machine. I am unsure if I can help, because ... what I do when I get new error messages is: googling for it. So I googled for "TAS2XXX0C96.bin" ... and Google gave me 0 result :(

Next was googling "TAS2781 firmware" and "TAS2781 dell". I found this patch: https://lore.kernel.org/lkml/2024101107 ... @ti.com/T/ from 2024-october ... and it is already in 6.12.6

It is a bit strange that the driver is looking for a 0C96 and all firmware files from TI are already at 1EB3 and higher. 8O

So, what we would need is the exact model of your machine and please do the "lspci" again with "-nnk" parameter, because of:
https://wiki.gentoo.org/wiki/User:Pieti ... lspci_-nnk

Please give us also a "dmesg | grep -i tas" (to get all messages from it)

Maybe your machine is too new ... and then you have to wait for new ... :( ... maybe you miss some options in your kernel ... so we would need your kernel .config and your (complete) dmesg (use wgetpaste for this as mentioned in above link).
https://wiki.gentoo.org/wiki/User:Pietinger --> https://wiki.gentoo.org/wiki/User:Pieti ... _at_Gentoo
Top
arkc80087
n00b
n00b
Posts: 10
Joined: Fri Dec 27, 2024 5:26 am

  • Quote

Post by arkc80087 » Sat Dec 28, 2024 2:53 am

Output of dmesg | grep -i tas

Code: Select all

[    0.070241] 	Rude variant of Tasks RCU enabled.
[    0.070242] 	Tracing variant of Tasks RCU enabled.
[    0.070255] RCU Tasks Rude: Setting shift to 5 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=22.
[    0.070257] RCU Tasks Trace: Setting shift to 5 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=22.
[    0.655289] registered taskstats version 1
[    3.782094] snd_hda_codec_realtek ehdaudio0D0: bound i2c-TIAS2781:00 (ops tas2781_hda_comp_ops [snd_hda_scodec_tas2781_i2c])
[    3.783177] Loading firmware: TAS2XXX0C96.bin
[    3.783190] tas2781-hda i2c-TIAS2781:00: Direct firmware load for TAS2XXX0C96.bin failed with error -2
[    3.783191] tas2781-hda i2c-TIAS2781:00: tasdevice_dsp_parser: load TAS2XXX0C96.bin error
[    3.783193] tas2781-hda i2c-TIAS2781:00: dspfw load TAS2XXX0C96.bin error
[   26.261877] tas2781-hda i2c-TIAS2781:00: tasdevice_prmg_load: Firmware is NULL

Output of lspci -nnk

Code: Select all

0000:00:00.0 Host bridge [0600]: Intel Corporation Device [8086:7d01] (rev 04)
	Subsystem: Dell Device [1028:0c96]
	Kernel driver in use: igen6_edac
	Kernel modules: igen6_edac
0000:00:02.0 VGA compatible controller [0300]: Intel Corporation Meteor Lake-P [Intel Arc Graphics] [8086:7d55] (rev 08)
	Subsystem: Dell Device [1028:0c96]
	Kernel driver in use: i915
	Kernel modules: i915, xe
0000:00:04.0 Signal processing controller [1180]: Intel Corporation Meteor Lake-P Dynamic Tuning Technology [8086:7d03] (rev 04)
	Subsystem: Dell Device [1028:0c96]
	Kernel driver in use: proc_thermal_pci
	Kernel modules: processor_thermal_device_pci
0000:00:07.0 PCI bridge [0604]: Intel Corporation Meteor Lake-P Thunderbolt 4 PCI Express Root Port #0 [8086:7ec4] (rev 10)
	Subsystem: Dell Device [1028:0c96]
	Kernel driver in use: pcieport
0000:00:07.2 PCI bridge [0604]: Intel Corporation Meteor Lake-P Thunderbolt 4 PCI Express Root Port #2 [8086:7ec6] (rev 10)
	Subsystem: Dell Device [1028:0c96]
	Kernel driver in use: pcieport
0000:00:08.0 System peripheral [0880]: Intel Corporation Meteor Lake-P Gaussian & Neural-Network Accelerator [8086:7e4c] (rev 20)
	Subsystem: Dell Device [1028:0c96]
0000:00:0a.0 Signal processing controller [1180]: Intel Corporation Meteor Lake-P Platform Monitoring Technology [8086:7d0d] (rev 01)
	Subsystem: Dell Device [1028:0c96]
	Kernel driver in use: intel_vsec
	Kernel modules: intel_vsec
0000:00:0b.0 Processing accelerators [1200]: Intel Corporation Meteor Lake NPU [8086:7d1d] (rev 04)
	Subsystem: Dell Device [1028:0c96]
0000:00:0d.0 USB controller [0c03]: Intel Corporation Meteor Lake-P Thunderbolt 4 USB Controller [8086:7ec0] (rev 10)
	Subsystem: Dell Device [1028:0c96]
	Kernel driver in use: xhci_hcd
0000:00:0d.2 USB controller [0c03]: Intel Corporation Meteor Lake-P Thunderbolt 4 NHI #0 [8086:7ec2] (rev 10)
	Subsystem: Dell Device [1028:0c96]
	Kernel driver in use: thunderbolt
	Kernel modules: thunderbolt
0000:00:0d.3 USB controller [0c03]: Intel Corporation Meteor Lake-P Thunderbolt 4 NHI #1 [8086:7ec3] (rev 10)
	Subsystem: Dell Device [1028:0c96]
	Kernel driver in use: thunderbolt
	Kernel modules: thunderbolt
0000:00:0e.0 RAID bus controller [0104]: Intel Corporation Volume Management Device NVMe RAID Controller Intel Corporation [8086:7d0b]
	Subsystem: Dell Device [1028:0c96]
	Kernel driver in use: vmd
0000:00:12.0 Serial controller [0700]: Intel Corporation Meteor Lake-P Integrated Sensor Hub [8086:7e45] (rev 20)
	Subsystem: Dell Device [1028:0c96]
	Kernel driver in use: intel_ish_ipc
	Kernel modules: intel_ish_ipc
0000:00:14.0 USB controller [0c03]: Intel Corporation Meteor Lake-P USB 3.2 Gen 2x1 xHCI Host Controller [8086:7e7d] (rev 20)
	Subsystem: Dell Device [1028:0c96]
	Kernel driver in use: xhci_hcd
0000:00:14.2 RAM memory [0500]: Intel Corporation Device [8086:7e7f] (rev 20)
	Subsystem: Dell Device [1028:0c96]
0000:00:14.3 Network controller [0280]: Intel Corporation Meteor Lake PCH CNVi WiFi [8086:7e40] (rev 20)
	Subsystem: Intel Corporation Device [8086:4090]
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi
0000:00:15.0 Serial bus controller [0c80]: Intel Corporation Meteor Lake-P Serial IO I2C Controller #0 [8086:7e78] (rev 20)
	Subsystem: Dell Device [1028:0c96]
	Kernel driver in use: intel-lpss
0000:00:15.2 Serial bus controller [0c80]: Intel Corporation Meteor Lake-P Serial IO I2C Controller #2 [8086:7e7a] (rev 20)
	Subsystem: Dell Device [1028:0c96]
	Kernel driver in use: intel-lpss
0000:00:15.3 Serial bus controller [0c80]: Intel Corporation Meteor Lake-P Serial IO I2C Controller #3 [8086:7e7b] (rev 20)
	Subsystem: Dell Device [1028:0c96]
	Kernel driver in use: intel-lpss
0000:00:16.0 Communication controller [0780]: Intel Corporation Meteor Lake-P CSME HECI #1 [8086:7e70] (rev 20)
	Subsystem: Dell Device [1028:0c96]
	Kernel driver in use: mei_me
	Kernel modules: mei_me
0000:00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:7e02] (rev 20)
	Subsystem: Dell Device [1028:0c96]
0000:00:1f.3 Multimedia audio controller [0401]: Intel Corporation Meteor Lake-P HD Audio Controller [8086:7e28] (rev 20)
	Subsystem: Dell Device [1028:0c96]
	Kernel driver in use: sof-audio-pci-intel-mtl
	Kernel modules: snd_hda_intel, snd_sof_pci_intel_mtl
0000:00:1f.4 SMBus [0c05]: Intel Corporation Meteor Lake-P SMBus Controller [8086:7e22] (rev 20)
	Subsystem: Dell Device [1028:0c96]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801
0000:00:1f.5 Serial bus controller [0c80]: Intel Corporation Meteor Lake-P SPI Controller [8086:7e23] (rev 20)
	Subsystem: Dell Device [1028:0c96]
	Kernel driver in use: intel-spi
	Kernel modules: spi_intel_pci
10000:e0:06.0 System peripheral [0880]: Intel Corporation RST VMD Managed Controller [8086:09ab]
10000:e0:06.2 PCI bridge [0604]: Intel Corporation Device [8086:7ecb] (rev 10)
	Kernel driver in use: pcieport
10000:e1:00.0 Non-Volatile memory controller [0108]: KIOXIA Corporation NVMe SSD Controller BG6 (DRAM-less) [1e0f:001a] (rev 01)
	Subsystem: KIOXIA Corporation NVMe SSD Controller BG6 (DRAM-less) [1e0f:001a]
	Kernel driver in use: nvme
	Kernel modules: nvme
Full dmesg

https://dpaste.com/5ANX32YYW

Full kernel .config file

https://dpaste.com/BX4WTW5XW



Extra info
  • The audio codec listed on the laptop manual is a Realtek ALC3254, which showed up as ALC295 on Windows 11 before, if I read it correctly back then (I do not have my Windows installation on my drive anymore, so I can't easily check it if I need to right now.)
Top
pietinger
Administrator
Administrator
Posts: 6620
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Sat Dec 28, 2024 1:00 pm

I see that you are a kernel expert and have configured your kernel perfectly. Your kernel is also partially hardened. I now see the exact model name: Dell Inc. Inspiron 16 7640

And unfortunately I only found 7620 and 7630 in the source code. This means it could really be that your model is not yet supported ... but ... I have already experienced crazy things with the communication of modules ... OR ... you must update your BIOS?

Why is it trying to load a firmware that doesn't exist? Maybe because it's a fallback and it wasn't told which firmware to load? Sometimes the communication between modules goes strange ways. I have already experienced that sometimes communication takes place via the DEBUG_FS [*] ... and that sometimes all MEI modules are needed to unlock something. So if all the following does not help, then you have to wait ... but it's worth a try.

(* yes, I am also not a fan of DEBUG_FS and I have it also disabled because of security reasons ... but unfortunately it is sometimes absolutely necessary ... if nothing helps, just disable it again)

Enable all these:

Code: Select all

# CONFIG_INTEL_MEI_TXE is not set
# CONFIG_INTEL_MEI_GSC is not set
# CONFIG_INTEL_MEI_VSC_HW is not set
# CONFIG_INTEL_MEI_HDCP is not set
# CONFIG_INTEL_MEI_PXP is not set

# CONFIG_I2C_CHARDEV is not set

# CONFIG_SPI_DESIGNWARE is not set

# CONFIG_SND_SPI is not set

# CONFIG_SND_DESIGNWARE_I2S is not set

# CONFIG_DEBUG_FS is not set
Save your current system log with “dmesg -t > kernel-log.old” beforehand and do the same afterwards so that we can compare the two.
(https://wiki.gentoo.org/wiki/User:Pieti ... em_startup )



Internal note:

Code: Select all

[    0.000000] Linux version 6.12.6-gentoo-tuned (root@aero86) (gcc (Gentoo 14.2.1_p20241116 p3) 14.2.1 20241116, GNU ld (Gentoo 2.43 p3) 2.43.1) #40 SMP Fri Dec 27 20:39:38 EST 2024
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.12.6-gentoo-tuned root=UUID=60cd9c7d-99a0-4f8d-ab5d-7c67377e9740 ro quiet
[    0.000000] DMI: Dell Inc. Inspiron 16 7640 2-in-1/038PR7, BIOS 1.8.0 09/04/2024

[    0.023447] CPU topo: [Firmware Bug]: APIC enumeration order not specification compliant

[    0.080418] smpboot: CPU0: Intel(R) Core(TM) Ultra 7 155H (family: 0x6, model: 0xaa, stepping: 0x4)

[    0.593428] intel-lpss 0000:00:15.0: enabling device (0000 -> 0002)
[    0.593608] intel-lpss 0000:00:15.0: Failed to create debugfs entries
[    0.612209] intel-lpss 0000:00:15.2: enabling device (0000 -> 0002)
[    0.612310] intel-lpss 0000:00:15.2: Failed to create debugfs entries
[    0.630208] intel-lpss 0000:00:15.3: enabling device (0000 -> 0002)
[    0.630339] intel-lpss 0000:00:15.3: Failed to create debugfs entries

[    0.653220] microcode: Current revision: 0x00000020
[    0.653222] microcode: Updated early from: 0x0000001c

[    2.995395] sof-audio-pci-intel-mtl 0000:00:1f.3: enabling device (0000 -> 0002)
[    2.995539] sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100

[    3.599562] sof-audio-pci-intel-mtl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    3.606450] sof-audio-pci-intel-mtl 0000:00:1f.3: use msi interrupt mode

[    3.634013] sof-audio-pci-intel-mtl 0000:00:1f.3: hda codecs found, mask 5
[    3.634016] sof-audio-pci-intel-mtl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[    3.634018] sof-audio-pci-intel-mtl 0000:00:1f.3: NHLT device BT(0) detected, ssp_mask 0x4
[    3.634021] sof-audio-pci-intel-mtl 0000:00:1f.3: BT link detected in NHLT tables: 0x4
[    3.634022] sof-audio-pci-intel-mtl 0000:00:1f.3: DMICs detected in NHLT tables: 2
[    3.634369] Loading firmware: intel/sof-ipc4/mtl/sof-mtl.ri
[    3.636365] Loading firmware: intel/sof-ace-tplg/sof-hda-generic-2ch.tplg
[    3.636842] sof-audio-pci-intel-mtl 0000:00:1f.3: Firmware paths/files for ipc type 1:
[    3.636843] sof-audio-pci-intel-mtl 0000:00:1f.3:  Firmware file:     intel/sof-ipc4/mtl/sof-mtl.ri
[    3.636844] sof-audio-pci-intel-mtl 0000:00:1f.3:  Firmware lib path: intel/sof-ipc4-lib/mtl
[    3.636845] sof-audio-pci-intel-mtl 0000:00:1f.3:  Topology file:     intel/sof-ace-tplg/sof-hda-generic-2ch.tplg
[    3.636849] Loading firmware: intel/sof-ipc4/mtl/sof-mtl.ri
[    3.637546] sof-audio-pci-intel-mtl 0000:00:1f.3: Loaded firmware library: ADSPFW, version: 2.11.1.1

[    3.753225] sof-audio-pci-intel-mtl 0000:00:1f.3: Booted firmware version: 2.11.1.1
[    3.762500] Loading firmware: intel/sof-ace-tplg/sof-hda-generic-2ch.tplg
[    3.762550] sof-audio-pci-intel-mtl 0000:00:1f.3: Topology: ABI 3:29:1 Kernel ABI 3:23:1
[    3.762724] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: Parent card not yet available, widget card binding deferred
[    3.782094] snd_hda_codec_realtek ehdaudio0D0: bound i2c-TIAS2781:00 (ops tas2781_hda_comp_ops [snd_hda_scodec_tas2781_i2c])
[    3.782102] Loading firmware: TIAS2781RCA2.bin
[    3.782319] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC3254: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    3.782321] snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    3.782322] snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    3.782322] snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
[    3.782323] snd_hda_codec_realtek ehdaudio0D0:    inputs:
[    3.783177] Loading firmware: TAS2XXX0C96.bin
[    3.783190] tas2781-hda i2c-TIAS2781:00: Direct firmware load for TAS2XXX0C96.bin failed with error -2
[    3.783191] tas2781-hda i2c-TIAS2781:00: tasdevice_dsp_parser: load TAS2XXX0C96.bin error
[    3.783193] tas2781-hda i2c-TIAS2781:00: dspfw load TAS2XXX0C96.bin error

[   26.261877] tas2781-hda i2c-TIAS2781:00: tasdevice_prmg_load: Firmware is NULL
https://wiki.gentoo.org/wiki/User:Pietinger --> https://wiki.gentoo.org/wiki/User:Pieti ... _at_Gentoo
Top
arkc80087
n00b
n00b
Posts: 10
Joined: Fri Dec 27, 2024 5:26 am

  • Quote

Post by arkc80087 » Sat Dec 28, 2024 3:49 pm

Old dmesg log: https://dpaste.com/G5FBJAM2H

New dmesg log: https://dpaste.com/5QZNTZG74

(Not too sure about what happened to the timestamps in the old log.)
Top
pietinger
Administrator
Administrator
Posts: 6620
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Sat Dec 28, 2024 4:38 pm

arkc80087 wrote:(Not too sure about what happened to the timestamps in the old log.)
You did the first dmesg WITH parameter -t (as I wanted) ... and now WITHOUT ... :lol:
Please do NOW again WITH parameter -t so NO timestamps will be recorded ... AND THEN we can compare both logs ;-)

(but I have already seen that we have again the problem with that firmware file :( )
https://wiki.gentoo.org/wiki/User:Pietinger --> https://wiki.gentoo.org/wiki/User:Pieti ... _at_Gentoo
Top
Hu
Administrator
Administrator
Posts: 24385
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sat Dec 28, 2024 5:04 pm

The timestamps can be stripped off readily enough, if you just want the ability to use diff. I think sed -e 's/^.\{15\}//' will work here, since the timestamps are all small enough that they remain within a fixed width.
Top
arkc80087
n00b
n00b
Posts: 10
Joined: Fri Dec 27, 2024 5:26 am

  • Quote

Post by arkc80087 » Sat Dec 28, 2024 5:06 pm

Ah, I see, my bad.

Here's the new kernel log without timestamps.

https://dpaste.com/FK7RR9YHZ
Top
pietinger
Administrator
Administrator
Posts: 6620
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Sat Dec 28, 2024 5:48 pm

I feared it ... nothing has changed, except that now (of course) these messages are missing:

Code: Select all

intel-lpss 0000:00:15.0: Failed to create debugfs entries
The last thing you can check is: Boot with the latest UbuntuLiveCD and check everything as well: Does the sound work there? If yes, then we need (again) dmesg and lsmod (and the contents of /lib/firmware) after booting Ubuntu. If no (which I think), then we still have to wait for new versions of kernel and/or firmware.
https://wiki.gentoo.org/wiki/User:Pietinger --> https://wiki.gentoo.org/wiki/User:Pieti ... _at_Gentoo
Top
pietinger
Administrator
Administrator
Posts: 6620
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Sun Dec 29, 2024 9:39 am

Hu wrote:The timestamps can be stripped off readily enough, if you just want the ability to use diff. I think sed -e 's/^.\{15\}//' will work here, since the timestamps are all small enough that they remain within a fixed width.
Thank you very much, Hu. :D Saved it into my tips+tricks file 8)
https://wiki.gentoo.org/wiki/User:Pietinger --> https://wiki.gentoo.org/wiki/User:Pieti ... _at_Gentoo
Top
arkc80087
n00b
n00b
Posts: 10
Joined: Fri Dec 27, 2024 5:26 am

  • Quote

Post by arkc80087 » Sun Dec 29, 2024 5:30 pm

Sorry for the delay, got busy yesterday.

Here's the kernel config of the 24.10 Ubuntu LiveCD (in case we need it):
https://dpaste.com/C33HNPCSM

Here's the dmesg:
https://dpaste.com/C33HNPCSM

Kernel version: 6.11.0-8-generic

What I've noticed was that the TAS firmware messages were never seen in the live CD's dmesg.
Top
pietinger
Administrator
Administrator
Posts: 6620
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Sun Dec 29, 2024 10:04 pm

arkc80087 wrote:Sorry for the delay, got busy yesterday.

Here's the kernel config of the 24.10 Ubuntu LiveCD (in case we need it):
https://dpaste.com/C33HNPCSM

Here's the dmesg:
https://dpaste.com/C33HNPCSM

What I've noticed was that the TAS firmware messages were never seen in the live CD's dmesg.
Hmm ... you gave me the same link twice ... :lol:

The reason Gentoo kernel prints the loading of firmware into syslog is a special patch we have (Gentoo Linux -> [*] Print firmware information that the kernel attempts to load )

Have you looked into /lib/firmware of the Ubuntu ?

Also missing: "lsmod" from Ubuntu.
https://wiki.gentoo.org/wiki/User:Pietinger --> https://wiki.gentoo.org/wiki/User:Pieti ... _at_Gentoo
Top
arkc80087
n00b
n00b
Posts: 10
Joined: Fri Dec 27, 2024 5:26 am

  • Quote

Post by arkc80087 » Mon Dec 30, 2024 12:21 am

Sorry about the missing information and duplicate link.

---

Ubuntu 6.11 kernel config: https://dpaste.com/EUATATXL9

Ubuntu lsmod: https://dpaste.com/6JMGH46P7

Ubuntu firmware directory (full): https://dpaste.com/29BFMWXEF
Ubuntu firmware directory (ti/tas2781): https://dpaste.com/EVX2JU4WT

Ubuntu dmesg: https://dpaste.com/8MRUGZL8A
Top
pietinger
Administrator
Administrator
Posts: 6620
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Mon Dec 30, 2024 1:10 am

Unfortunately I can't access your kernel .config anymore (because the link became invalid after one day), so you need to check if you have the following in your .config:

Code: Select all

INPUT_SOC_BUTTON_ARRAY
SERIAL_MULTI_INSTANTIATE
SND_HDA_SCODEC_TAS2781_I2C
SND_SOC_TAS2781_I2C
SND_SOC_TAS2781_FMWLIB
SND_SOC_TAS2781_COMLIB
(but I assume you have already checked all modules from the Ubuntu-lsmod for presence in your .config)

If so, there is still the possibility that Ubuntu applies some patches that are not yet in the kernel main line ... because the firmware file "TAS2XXX0C96.bin" does ALSO NOT exist in Ubuntu.

Apart from one difference, the output of the sound modules looks identical:

Code: Select all

Gentoo: sof-audio-pci-intel-mtl 0000:00:1f.3: Booted firmware version: 2.11.1.1
Ubuntu: sof-audio-pci-intel-mtl 0000:00:1f.3: Booted firmware version: 2.10.0.1
https://wiki.gentoo.org/wiki/User:Pietinger --> https://wiki.gentoo.org/wiki/User:Pieti ... _at_Gentoo
Top
arkc80087
n00b
n00b
Posts: 10
Joined: Fri Dec 27, 2024 5:26 am

  • Quote

Post by arkc80087 » Mon Dec 30, 2024 1:40 am

Didn't have INPUT_SOC_BUTTON_ARRAY and SERIAL_MULTI_INSTANTIATE in my kernel, but nothing different after enabling them in my kernel.

I think my best route would be to wait for an update to the firmware/kernel.
Should I submit this issue to Dell/TI or no need to?
Top
pietinger
Administrator
Administrator
Posts: 6620
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Mon Dec 30, 2024 1:38 pm

arkc80087 wrote:I think my best route would be to wait for an update to the firmware/kernel.
Yes, I think so too. :(
arkc80087 wrote:Should I submit this issue to Dell/TI or no need to?
No. If it works on Ubuntu then there is already software (kernel module/firmware) that works properly and TI's answer would just be that Gentoo is lagging behind. I even suspect that it is the kernel module itself, because in the firmware folder of Ubuntu I don't see any firmware (from TI) that we don't also have. In addition, the attempt to load a non-existent firmware with TAS2XXX0C96.bin is also an indication of a problem with the kernel module itself.
https://wiki.gentoo.org/wiki/User:Pietinger --> https://wiki.gentoo.org/wiki/User:Pieti ... _at_Gentoo
Top
arkc80087
n00b
n00b
Posts: 10
Joined: Fri Dec 27, 2024 5:26 am

  • Quote

Post by arkc80087 » Mon Dec 30, 2024 2:52 pm

I see, thanks for the help though.
Top
pietinger
Administrator
Administrator
Posts: 6620
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Mon Dec 30, 2024 4:34 pm

arkc80087 wrote:I see, thanks for the help though.
You are very Welcome! :D
https://wiki.gentoo.org/wiki/User:Pietinger --> https://wiki.gentoo.org/wiki/User:Pieti ... _at_Gentoo
Top
d3d9
n00b
n00b
Posts: 5
Joined: Thu Oct 24, 2013 7:32 pm
Location: Germany, NRW

  • Quote

Post by d3d9 » Wed Jan 15, 2025 9:54 pm

Hi, I also have no sound from the bottom speakers on a 7640. Nowadays I'm using Fedora though, I just found this thread using a search engine :oops:
I opened an issue on the sof GitHub repo a month ago: https://github.com/thesofproject/linux/issues/5271
Support by TI seems to be required for this, but personally I haven't done any further steps / contact attempts besides what I wrote inside this issue.
Maybe it would be good to post something on the TI audio forum?
Top
arkc80087
n00b
n00b
Posts: 10
Joined: Fri Dec 27, 2024 5:26 am

  • Quote

Post by arkc80087 » Mon Jan 20, 2025 1:30 am

d3d9 wrote:Hi, I also have no sound from the bottom speakers on a 7640. Nowadays I'm using Fedora though, I just found this thread using a search engine :oops:
I opened an issue on the sof GitHub repo a month ago: https://github.com/thesofproject/linux/issues/5271
Support by TI seems to be required for this, but personally I haven't done any further steps / contact attempts besides what I wrote inside this issue.
Maybe it would be good to post something on the TI audio forum?
Yeah, I think it'd be a good idea to post it to the TI audio forums. When I have some time, I'll try posting this on the TI forums.
Top
pietinger
Administrator
Administrator
Posts: 6620
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Sun Jan 26, 2025 12:13 pm

TAS2781 is mentioned here: https://www.phoronix.com/news/Linux-6.1 ... d-Hardware
https://wiki.gentoo.org/wiki/User:Pietinger --> https://wiki.gentoo.org/wiki/User:Pieti ... _at_Gentoo
Top
ff11
l33t
l33t
User avatar
Posts: 665
Joined: Mon Mar 10, 2014 10:24 pm

  • Quote

Post by ff11 » Fri Feb 21, 2025 1:17 pm

The firmware appears to have been added on 2025-02-06 08:31:36:
https://git.kernel.org/pub/scm/linux/ke ... 68927a69f7
| Proverbs 26:12 |
| There is more hope for a fool than for a wise man that are wise in his own eyes. |
* AlphaGo - The Movie - Full Documentary "I want to apologize for being so powerless" - Lee
Top
d3d9
n00b
n00b
Posts: 5
Joined: Thu Oct 24, 2013 7:32 pm
Location: Germany, NRW

  • Quote

Post by d3d9 » Sat Feb 22, 2025 12:44 pm

ff11 wrote:The firmware appears to have been added on 2025-02-06 08:31:36:
https://git.kernel.org/pub/scm/linux/ke ... 68927a69f7
Thank you, in my case using that firmware + the patch from here got the bottom speakers working.
Top
arkc80087
n00b
n00b
Posts: 10
Joined: Fri Dec 27, 2024 5:26 am

  • Quote

Post by arkc80087 » Tue Mar 11, 2025 8:01 pm

I can confirm that it works on my end as well now; just had to tweak the patch that d3d9 used to match my ID.

Thank you all for the help!
Top
Post Reply

24 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic