From d522d06e61191ba9ff6d1de56806281ab70cbffb Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Sun, 17 Jul 2011 14:15:14 +0200 Subject: [PATCH] sony-vaio-fixes v1.6.1 * display quirks no longer needed for 2.6.38 kernel * i8042.nopnp no longer needed for 2.6.38 kernel --- dom0/vaio_fixes/01sony-vaio-display | 19 ------------------- rpm_spec/core-dom0-vaio-fixes.spec | 14 -------------- version_vaio_fixes | 2 +- 3 files changed, 1 insertion(+), 34 deletions(-) delete mode 100755 dom0/vaio_fixes/01sony-vaio-display diff --git a/dom0/vaio_fixes/01sony-vaio-display b/dom0/vaio_fixes/01sony-vaio-display deleted file mode 100755 index 6c29cbd8..00000000 --- a/dom0/vaio_fixes/01sony-vaio-display +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh -# light up laptop screen for vaio VPCZ12 - -. "${PM_FUNCTIONS}" - -resume_lapscreen() -{ - if [ x$DISPLAY = x ]; then - export DISPLAY=:0 - export XAUTHORITY=`ls /var/run/kdm/.Xauth*` - fi - /usr/bin/xrandr --output DP3 --off - /usr/bin/xrandr --output DP3 --auto -} - -case "$1" in - thaw|resume) resume_lapscreen ;; - *) exit 0 ;; -esac diff --git a/rpm_spec/core-dom0-vaio-fixes.spec b/rpm_spec/core-dom0-vaio-fixes.spec index 640e8584..4c167fd2 100644 --- a/rpm_spec/core-dom0-vaio-fixes.spec +++ b/rpm_spec/core-dom0-vaio-fixes.spec @@ -23,24 +23,10 @@ suspend/resume. mkdir -p $RPM_BUILD_ROOT/usr/lib64/pm-utils/sleep.d cp vaio_fixes/00sony-vaio-audio $RPM_BUILD_ROOT/usr/lib64/pm-utils/sleep.d/ cp vaio_fixes/99sony-vaio-audio $RPM_BUILD_ROOT/usr/lib64/pm-utils/sleep.d/ -cp vaio_fixes/01sony-vaio-display $RPM_BUILD_ROOT/usr/lib64/pm-utils/sleep.d/ mkdir -p $RPM_BUILD_ROOT/etc/modprobe.d/ cp vaio_fixes/snd-hda-intel-sony-vaio.conf $RPM_BUILD_ROOT/etc/modprobe.d/ -%post -grubby --update-kernel=/boot/vmlinuz-2.6.34.1-14.xenlinux.qubes.x86_64 --args="i8042.nopnp=1" - -%triggerin -- kernel -grubby --update-kernel=/boot/vmlinuz-2.6.34.1-14.xenlinux.qubes.x86_64 --args="i8042.nopnp=1" - -%postun -if [ "$1" = 0 ] ; then - # no more packages left - grubby --update-kernel=/boot/vmlinuz-2.6.34.1-14.xenlinux.qubes.x86_64 --remove-args="i8042.nopnp=1" -fi - %files /usr/lib64/pm-utils/sleep.d/00sony-vaio-audio /usr/lib64/pm-utils/sleep.d/99sony-vaio-audio -/usr/lib64/pm-utils/sleep.d/01sony-vaio-display /etc/modprobe.d/snd-hda-intel-sony-vaio.conf diff --git a/version_vaio_fixes b/version_vaio_fixes index 32461d59..9c6d6293 100644 --- a/version_vaio_fixes +++ b/version_vaio_fixes @@ -1 +1 @@ -1.5.25 +1.6.1