I'm not an expert on applying patches to the kernel (never did that before), therefore, I don't know if I did everything right.
What I did was: downloaded 4.2-rc4 from kernel.org[1], added the line by hand (couldn't apply the patch using patch), copied the config file from /boot/ (the config fedora 22 uses for its kernel) to .config on the root of the kernel directory, runned "make oldconfig" (typing ENTER for every question, is that right?), "make", "make modules_install", "make install". Rebooted, and chose the new kernel I just installed.
The sound worked like a charm, the speakers worked as expected, and the volume was as loud as on Windows.
Is the patch going to be applied on master? Any chance that fix reaches my Fedora 22 (with backport to older kernel versions)?
Thanks for the help,
Paulo
[1] https://www.kernel.org/pub/linux/kernel/v4.x/testing/linux-4.2-rc4.tar.xz
2015-07-28 10:49 GMT-03:00 Paulo Roberto de Oliveira Castro < p.oliveira.castro@gmail.com>:
---------- Forwarded message --------- From: Takashi Iwai tiwai@suse.de Date: Tue, Jul 28, 2015, 03:35 Subject: Re: [alsa-devel] Bug on Dell Vostro 5480 (Intel Wildcat) kernel driver To: Paulo Roberto de Oliveira Castro p.oliveira.castro@gmail.com Cc: alsa-devel@alsa-project.org
On Tue, 28 Jul 2015 05:35:34 +0200, Paulo Roberto de Oliveira Castro wrote:
Hi everyone,
After installing Fedora 22 on my Dell Vostro 5480, the speakers don't
work,
and the sound only comes out of the subwoofer. Here is the output of alsa-info.sh. After talking to "debianuser" on IRC, we found this workaround:
sudo hda-verb /dev/snd/hwC1D0 0x14 SET_PIN_WIDGET_CONTROL 0x40 # enable, set it to OUT sudo hda-verb /dev/snd/hwC1D0 0x14 SET_CONNECT_SEL 0 # switch to 0x0c sudo hda-verb /dev/snd/hwC1D0 0x14 SET_AMP_GAIN_MUTE 0xa000 # unmute left sudo hda-verb /dev/snd/hwC1D0 0x14 SET_AMP_GAIN_MUTE 0x9000 # unmute
right
We suspect that it's a kernel driver bug. This makes the speakers work alongside the headphones (both at the same time) but I need help making
it
working when headphones are not plugged in.
Does the patch below work? Try with 4.2-rc kernel at best.
Takashi
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 4ae877c3b6a1..18ae17ebb356 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -5185,6 +5185,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x1028, 0x064a, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1028, 0x064b, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1028, 0x0665, "Dell XPS 13", ALC288_FIXUP_DELL_XPS_13),
SND_PCI_QUIRK(0x1028, 0x069a, "Dell Vostro 5480",
ALC290_FIXUP_SUBWOOFER_HSJACK), SND_PCI_QUIRK(0x1028, 0x06c7, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1028, 0x06d9, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1028, 0x06da, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),