From 107c11f10bf939cedefd8eea8e9affaa76ff3ca0 Mon Sep 17 00:00:00 2001 From: Phil Knirsch Date: Mar 01 2006 15:41:27 +0000 Subject: - Added video.conf file to turn on DPMS when opening the laptop lid. Disabled by default. --- diff --git a/acpid.spec b/acpid.spec index 79a0531..2cba4af 100644 --- a/acpid.spec +++ b/acpid.spec @@ -1,12 +1,13 @@ Summary: ACPI Event Daemon Name: acpid Version: 1.0.4 -Release: 1.2 +Release: 2 License: GPL Group: System Environment/Daemons Source: http://prdownloads.sourceforge.net/acpid/acpid-%{version}.tar.gz Source1: acpid.logrotate Source2: acpid.init +Source3: acpid.video.conf Patch1: acpid-1.0.3-conf.patch Patch2: acpid-1.0.3-makefile.patch Patch3: acpid-1.0.4-warning.patch @@ -39,6 +40,7 @@ mkdir -p $RPM_BUILD_ROOT/etc/acpi/events mkdir -p $RPM_BUILD_ROOT/etc/acpi/actions chmod 755 $RPM_BUILD_ROOT/etc/acpi/events install -m 644 samples/sample.conf $RPM_BUILD_ROOT/etc/acpi/events +install -m 644 %{SOURCE3} $RPM_BUILD_ROOT/etc/acpi/events/video.conf mkdir -p $RPM_BUILD_ROOT/var/log touch $RPM_BUILD_ROOT/var/log/acpid @@ -61,6 +63,7 @@ rm -rf $RPM_BUILD_ROOT %dir /etc/acpi/events %dir /etc/acpi/actions %config %attr(0644,root,root) /etc/acpi/events/sample.conf +%config %attr(0644,root,root) /etc/acpi/events/video.conf %config /etc/logrotate.d/acpid %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/log/acpid /usr/bin/acpi_listen @@ -85,6 +88,10 @@ if [ "$1" -ge "1" ]; then fi %changelog +* Wed Mar 01 2006 Phil Knirsch - 1.0.4-2 +- Added video.conf file to turn on DPMS when opening the laptop lid. Disabled + by default. + * Tue Feb 07 2006 Jesse Keating - 1.0.4-1.2 - rebuilt for new gcc4.1 snapshot and glibc changes diff --git a/acpid.video.conf b/acpid.video.conf new file mode 100644 index 0000000..97507bf --- /dev/null +++ b/acpid.video.conf @@ -0,0 +1,6 @@ +# Configuration to turn on DPMS again on video activity, needed for some +# laptops. Disabled by default, uncomment if your laptop display stays blank +# after you close and open the lid. + +#event=video.* +#action=/usr/sbin/vbetool dpms on