fix backlight and nouveau

This commit is contained in:
Tobias Powalowski
2012-06-24 17:48:49 +00:00
parent b074d0085b
commit 46eff17884
4 changed files with 74 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ pkgname=('linux' 'linux-headers' 'linux-docs') # Build stock -ARCH kernel
_kernelname=${pkgname#linux}
_basekernel=3.4
pkgver=${_basekernel}.4
pkgrel=1
pkgrel=2
arch=('i686' 'x86_64')
url="http://www.kernel.org/"
license=('GPL2')
@@ -22,7 +22,9 @@ source=("http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.4.tar.xz"
"${pkgname}.preset"
'fix-acerhdf-1810T-bios.patch'
'change-default-console-loglevel.patch'
'i915-fix-ghost-tv-output.patch')
'i915-fix-ghost-tv-output.patch'
'3.4.4-fix-backlight-regression.patch'
'3.4.4-fix-gtx560ti-nouveau-regression.patch')
md5sums=('967f72983655e2479f951195953e8480'
'58e6672d932d74d5e2b6811b9d37d67c'
'3f2c307c8ffae67f60c13ef69af8364a'
@@ -30,7 +32,9 @@ md5sums=('967f72983655e2479f951195953e8480'
'eb14dcfd80c00852ef81ded6e826826a'
'38c1fd4a1f303f1f6c38e7f082727e2f'
'9d3c56a4b999c8bfbd4018089a62f662'
'263725f20c0b9eb9c353040792d644e5')
'263725f20c0b9eb9c353040792d644e5'
'80a46681386bb87813989faeb92bdd9a'
'827ffd855dc8b0c91577545c5804c19f')
build() {
cd "${srcdir}/linux-${_basekernel}"
@@ -50,6 +54,14 @@ build() {
# needed.
patch -Np1 -i "${srcdir}/i915-fix-ghost-tv-output.patch"
# Fix backlight control on some laptops:
# https://bugzilla.kernel.org/show_bug.cgi?id=43168
patch -Np1 -i "${srcdir}/3.4.4-fix-backlight-regression.patch"
# fix nouveau regression
# Arch Linux bug report: FS#30417
patch -Np1 -i "${srcdir}/3.4.4-fix-gtx560ti-nouveau-regression.patch"
# Patch submitted upstream, waiting for inclusion:
# https://lkml.org/lkml/2012/2/19/51
# add support for latest bios of Acer 1810T acerhdf module