New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] No sound devices detected on Dell XPS 9315 2-in-1 #4399
Comments
please attach the result of 'alsa-info', we track Dell devices by 'System SKU' not models. |
I put it in a gist. The System SKU seems to be 0B34. |
ok, that's an unknown/unsupported SKU. Gah. I created a new label, maybe that will help at some point. [8086:51cc] means PCI_DEVICE(0x8086, 0x51cc), /* ADL-M */ Is there a way you can attach the DSDT: cat /sys/firmware/acpi/tables/DSDT > dsdt.dat and attach the last file. |
from the DSDT, I can see this:
Can you confirm you don't have a 3.5 mm jack on this device? we've seen variants like this before. |
I don't have a 3.5 mm jack. The only IO I have are two USB-C ports. |
Yet another permutation of devices. Closes: thesofproject#4399 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
This device has no 3.5mm jack, only a single amplifier and mic codec. Closes: thesofproject#4399 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Yet another permutation. This needs to be back-ported to 2.2 releases Closes: thesofproject/linux#4399 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Can you try the patches in PR #4405 ? You will also need to unzip and add this file |
@plbossart Do you maybe have some instructions on how to try the patches for me? The unzip-and-add-file part is clear to me. |
Actually, nevermind. I just found this. I'll try your patches tomorrow. |
Yet another permutation. This needs to be back-ported to 2.2 releases Closes: thesofproject/linux#4399 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
@plbossart I just tried your patches and they didn't fix the issue for me. Maybe the topology file is the issue here. On my fedora system all of the topology files in Anyways, here is an updated alsa-info.txt and an updated dsdt.dsl.txt. |
looks like you are not even loading the SOF driver. Can you try to add this to /etc/modprobe.d/alsa-base.conf options snd_intel_dspcfg dsp_driver=3 and add this to file |
Still not working. |
Yet another permutation of devices. Closes: #4399 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
This device has no 3.5mm jack, only a single amplifier and mic codec. Closes: #4399 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Yet another permutation of devices. Closes: thesofproject#4399 Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
This device has no 3.5mm jack, only a single amplifier and mic codec. Closes: thesofproject#4399 Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Yet another permutation of devices. Closes: #4399 Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
This device has no 3.5mm jack, only a single amplifier and mic codec. Closes: #4399 Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Yet another permutation of devices. Closes: thesofproject#4399 Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20230602202225.249209-18-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This device has no 3.5mm jack, only a single amplifier and mic codec. Closes: thesofproject#4399 Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20230602202225.249209-19-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
@plbossart |
@bblacher Can you provide the entire dmesg, not filtered? I can't see the SoundWire related stuff with your grep filter. |
@plbossart I don't have my device with me right now, I'll get back to you with the logs on Sunday. |
Wow, that's wild
Of course it won't try SoundWire if it's not exposed in ACPI tables... Can you retry with this "options snd_intel_dspcfg dsp_driver=3" remove and this updated file |
Same thing Btw., could this be the issue here?
Anyways, here are my updated files: |
I don't get what happens @bblacher Can you double-check you have CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE enabled? The following code should detect SoundWire, but if you didn't compile it in then nothing will happen :-) #if IS_ENABLED(CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE)
static int snd_intel_dsp_check_soundwire(struct pci_dev *pci)
{
struct sdw_intel_acpi_info info;
acpi_handle handle;
int ret;
handle = ACPI_HANDLE(&pci->dev);
ret = sdw_intel_acpi_scan(handle, &info);
if (ret < 0)
return ret;
return info.link_mask;
}
#else
static int snd_intel_dsp_check_soundwire(struct pci_dev *pci)
{
return 0;
}
#endif if the code is enabled, you should see this:
|
I currently don't have the time to dig into this. I'll take a look at this and maybe recompile the kernel with the patches you gave me by the end of next week. |
Yet another permutation. This needs to be back-ported to 2.2 releases Closes: thesofproject/linux#4399 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> (cherry picked from commit 058e657)
Yet another permutation. This needs to be back-ported to 2.2 releases Closes: thesofproject/linux#4399 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> (cherry picked from commit 058e657)
@plbossart, I think Dell does not officially support GNU/Linux on this device, but can’t you establish an unofficial channel, so users do not have to report this? |
I tried since CometLake, it's been 3 generations of devices. |
This reverts commit b62a1a8. It broke stereo sound on the Dell XPS 13 Plus 9320 (SKU 0AF3), see thesofproject#4559. Considering that this apparently wasn't enough to get sound working on SKU 0B34 (thesofproject#4399) and that Dell officially supports Linux on 0AF3 but not 0B34, I think this is safe to revert. Fixes: thesofproject#4559 Signed-off-by: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
This reverts commit b62a1a8. It broke stereo sound on the Dell XPS 13 Plus 9320 (SKU 0AF3), see thesofproject#4559. Considering that this apparently wasn't enough to get sound working on SKU 0B34 (thesofproject#4399) and that Dell officially supports Linux on 0AF3 but not 0B34, I think this is safe to revert. Fixes: thesofproject#4559 Signed-off-by: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
This reverts commit b62a1a8. It broke stereo sound on the Dell XPS 13 Plus 9320 (SKU 0AF3), see thesofproject#4559. Considering that this apparently wasn't enough to get sound working on SKU 0B34 (thesofproject#4399) and that Dell officially supports Linux on 0AF3 but not 0B34, I think this is safe to revert. Fixes: thesofproject#4559 Signed-off-by: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Describe the bug
I don't get sound from the onboard devices on my Dell XPS 2-in-1 9315. Gnome only shows "Dummy Output".
To Reproduce
Install Arch Linux on a Dell XPS 2-in-1 9315 and install sof-firmware, pipewire, alsa-firmware and experience the lack of sound.
Expected behavior
Have working speakers & microphone.
Output of dmesg | grep sof-audio:
The text was updated successfully, but these errors were encountered: