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