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
This commit is contained in:
Joanna Rutkowska 2011-07-17 14:15:14 +02:00 committed by Marek Marczykowski
parent c93e84003f
commit d522d06e61
3 changed files with 1 additions and 34 deletions

View File

@ -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

View File

@ -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

View File

@ -1 +1 @@
1.5.25
1.6.1