linux icon indicating copy to clipboard operation
linux copied to clipboard

Bottom firing speakers of Dell Inspiron 16 Plus 7640 not working

Open d3d9 opened this issue 1 year ago • 6 comments

Only the two top speakers work, while two bottom speakers don't. Running on Fedora 41 x86_64 with kernel 6.11 at first and now 6.12. I was hoping 6.12 would make a difference since this quirk was included and it matches the ID 1028:0c94, but I couldn't notice a difference after switching to 6.12.

https://github.com/thesofproject/linux/blob/89772eb035b40a44c327e2d12de3a9d4450999e0/sound/pci/hda/patch_realtek.c#L10222

I tried disabling sof as described here and I applied the dynamic debug example from here.

alsa-info: http://alsa-project.org/db/?f=ace89f27a762690123886260888182f29c03c428 alsa-info witout sof: http://alsa-project.org/db/?f=f3120373e78934bf886242e49f745128065a6349

d3d9 avatar Dec 14 '24 20:12 d3d9

@d3d9, this is more of a question for Dell and Realtek (@bardliao, can you ping the relevant people?). I'm not sure how the speakers should be working, but one thing caught my eye in the log:

[    9.382807] tas2781-hda i2c-TIAS2781:00: Direct firmware load for TAS2XXX0C94.bin failed with error -2
...
[   15.701712] tas2781-hda i2c-TIAS2781:00: tasdevice_prmg_load: Firmware is NULL

This might or might not be the reason, or some extra quirk is needed to get all speakers to work.

ujfalusi avatar Dec 20 '24 07:12 ujfalusi

Looks like this patch fixed the audio support (to get the top speakers to work): 2912cdda734d ("ALSA: patch_realtek: Fix Dell Inspiron Plus 16")

Which is interesting as before that patch only the bottom speakers worked.

ujfalusi avatar Dec 20 '24 07:12 ujfalusi

@kailangyang Can you take a look?

Codec: Realtek ALC3254
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0295
Subsystem Id: 0x10280c94
Revision Id: 0x100002

bardliao avatar Dec 20 '24 11:12 bardliao

Please test attach patch. But firmware load fail need to contact with Ti. Firmware load fail maybe cause to add attach patch which bottom speaker also no sound.

0000-dell-0x0c94.patch

KailangYang avatar Dec 23 '24 07:12 KailangYang

@KailangYang Thank you. Something has changed, but there is no sound from bottom speakers.

alsa-info patched: http://alsa-project.org/db/?f=f0a69fb26a4781019dc7adbaeb4cef97a0b88c24 unpatched for comparison: http://alsa-project.org/db/?f=1eb46fddceca5f54e176154e63042d737660cd8c

unpatched:

alsa-mixer-unpatched

patched:

alsa-mixer-patched

d3d9 avatar Dec 23 '24 23:12 d3d9

[ 9.468295] tas2781-hda i2c-TIAS2781:00: Direct firmware load for TAS2XXX0C94.bin failed with error -2

This issue was need supported by Ti guy.

KailangYang avatar Dec 24 '24 02:12 KailangYang

The bottom speakers have started working when using the patched kernel together with ti/tas2781/TAS2XXX0C94.bin.

d3d9 avatar Feb 22 '25 12:02 d3d9

@d3d9 May we close the issue now?

bardliao avatar Feb 24 '25 07:02 bardliao

Does the patch still have to be merged or something? I haven't tested it thoroughly but it seemed like I have to use both the patch and the firmware for it to work.

d3d9 avatar Feb 24 '25 09:02 d3d9

Oops, misclicked, please reopen if that's the right way to proceed.

d3d9 avatar Feb 24 '25 09:02 d3d9

Does the patch still have to be merged or something? I haven't tested it thoroughly but it seemed like I have to use both the patch and the firmware for it to work.

The question is for @KailangYang and TI folks. :)

bardliao avatar Feb 24 '25 11:02 bardliao