You are not logged in.

#1 2015-07-03 09:19:12

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 713

[SOLVED] Kernel 4.1 and 2015 Dell XPS 13

I have been using the 4.1rc* kernel versions from the AUR and they have included the mic patches for my laptop which are referenced in the Del XPS 2015 wiki page . Today I upgraded to 4.1.0-1 from AUR4 and find that my mic does not work. When I diff the PKGBUILD files between 4.1rc7 and 4.1.0-1 I find that there were some kernel testing patches not applied in the latest kernel (the patch command is commented out in the 4.1.0-1 PKGBUILD). Sure enough, when I look in the 4.1rc7 patchset that gets applied, I find the alc288 patches that are referenced on the wiki page. So I guess that means 4.1 does not have those patches and that the pending to be released Arch 4.1 kernel will not lose the mic support we have had through the 4.1 RC versions. Is my understanding correct?

Last edited by bulletmark (2015-07-04 22:38:52)

Offline

#2 2015-07-03 10:41:38

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,732
Website

Re: [SOLVED] Kernel 4.1 and 2015 Dell XPS 13

Out-of-tree patches?  Highly unlikely to get into the vanilla Arch kernel.  Have to roll your own for that.

Last edited by graysky (2015-07-03 10:42:05)

Offline

#3 2015-07-03 11:14:12

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 713

Re: [SOLVED] Kernel 4.1 and 2015 Dell XPS 13

I guess my query is this. Here is the diff between the PKGBUILDs for 4.1-rc7 and 4.1.0-1 (which is patchname 4.1-rc8):

< _srcname=linux-4.0
< _patchname=patch-4.1-rc7
< pkgver=4.1rc7
---
> _srcname=linux-4.1
> _patchname=patch-4.1-rc8
> pkgver=4.1
12c12
< url="http://www.hurrdurr.org/"
---
> url="https://kernel.org/"
17c17
<         "https://www.kernel.org/pub/linux/kernel/v4.x/testing/${_patchname}.xz"
---
>         #"https://www.kernel.org/pub/linux/kernel/v4.x/testing/${_patchname}.xz"
26,27c26
< sha256sums=('0f2f7d44979bc8f71c4fc5d3308c03499c26a824dd311fdf6eef4dee0d7d5991'
<             'cef56569c9bbfbff60c17cf398a41fd25503d275d258b7466c980ce806213571'
---
> sha256sums=('caf51f085aac1e1cea4d00dbbf3093ead07b551fc07b31b2a989c05f8ea72d9f'
42c41
<   patch -p1 -i "${srcdir}/${_patchname}"
---
>   #patch -p1 -i "${srcdir}/${_patchname}"

Why are those patches included in rc7 but dropped for rc8? I don't claim to know much about this stuff. Just asking how it is supposed to work.

Last edited by bulletmark (2015-07-03 11:16:03)

Offline

#4 2015-07-03 11:22:31

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,732
Website

Re: [SOLVED] Kernel 4.1 and 2015 Dell XPS 13

The ../v4.x/testing is for release candidates (rc).  Once an rc is approved, the code gets rolled into the next release.  So unless upstream removed some patches from the rc, they are included in the next full release.

Offline

#5 2015-07-04 22:36:54

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 713

Re: [SOLVED] Kernel 4.1 and 2015 Dell XPS 13

OK, I pulled the kernel git repo and looked at this a little closer. Graysky is correct, the v4.1-rcx version is merely v4.0 + patches which then gets released as v4.1. What happened with this mic problem is that some small sound/pci/hda/patch_realtek.c changes were made between v4.1-rc7 and the official v4.1 release. Unfortunately one of those broke the mic input. However this was quickly recognized and fixed with the following commit after the release, which means that we 2015 XPS 13 owners will have to patch our 4.1 kernel for a while longer.

commit 831bfdf9520e389357cfeee42a6174a73ce7bdb7
Author: Hui Wang <hui.wang@canonical.com>
Date:   Fri Jun 26 14:35:17 2015

    ALSA: hda - restore the MIC FIXUP for some Dell machines

    Those FIXUPs were applied to the machines through pin quirks, but
    recently the PCI_QUIRK makes them can't apply to the machines.

    Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=99851
    Signed-off-by: Hui Wang <hui.wang@canonical.com>
    Cc: <stable@vger.kernel.org> # v4.1
    Signed-off-by: Takashi Iwai <tiwai@suse.de>

Last edited by bulletmark (2015-07-04 22:59:06)

Offline

#6 2015-07-17 07:26:22

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 713

Re: [SOLVED] Kernel 4.1 and 2015 Dell XPS 13

Following this up, I have applied this mic patch, some headset patches, and other small patches including a crash fix in my kernel package at https://aur4.archlinux.org/packages/linux-dell/.

Offline

Board footer

Powered by FluxBB