[alsa-devel] Bug on Dell Vostro 5480 (Intel Wildcat) kernel driver

Takashi Iwai tiwai at suse.de
Tue Aug 18 06:52:21 CEST 2015


On Tue, 18 Aug 2015 01:03:31 +0200,
Paulo Roberto de Oliveira Castro wrote:
> 
> Hello again,
> 
> I am using Arch now, and today kernel 4.1.5 was released on Arch's repo.
> However, the sound isn't working yet. Am I missing something?

The patch is included in 4.1.5.  Make sure that you tested really
properly.  If not, check again whether 4.2 works in the same
condition.


Takashi

> 
> 2015-07-29 14:40 GMT-03:00 Takashi Iwai <tiwai at suse.de>:
> 
> > On Wed, 29 Jul 2015 18:48:29 +0200,
> > Paulo Roberto de Oliveira Castro wrote:
> > >
> > > Thanks! Is there a way to track these changes?
> >
> > Track git tree :)
> >
> > At first, it's found in my sound git tree, then it'll be merged to
> > Linus git tree, and then to each stable tree.
> >
> >
> > Takashi
> >
> > >
> > > 2015-07-29 4:08 GMT-03:00 Takashi Iwai <tiwai at suse.de>:
> > >
> > > > On Wed, 29 Jul 2015 00:32:08 +0200,
> > > > Paulo Roberto de Oliveira Castro wrote:
> > > > >
> > > > > 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.
> > > >
> > > > Good to hear, I queued the fix now.
> > > >
> > > > > Is the patch going to be applied on master? Any chance that fix
> > reaches
> > > > my
> > > > > Fedora 22 (with backport to older kernel versions)?
> > > >
> > > > The commit is with Cc to stable, so it'll be backported to stable
> > > > kernels once when landed to upstream.  Then Fedora will pick it up
> > > > eventually later.
> > > >
> > > >
> > > > thanks,
> > > >
> > > > Takashi
> > > >
> > > > >
> > > > > 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 at gmail.com>:
> > > > >
> > > > > >
> > > > > >
> > > > > > ---------- Forwarded message ---------
> > > > > > From: Takashi Iwai <tiwai at 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 at gmail.com>
> > > > > > Cc: <alsa-devel at 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),
> > > > > >
> > > > > _______________________________________________
> > > > > Alsa-devel mailing list
> > > > > Alsa-devel at alsa-project.org
> > > > > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> > > > >
> > > >
> > > [2  <text/html; UTF-8 (quoted-printable)>]
> > >
> >


More information about the Alsa-devel mailing list