Re: SELinux and Thinkpad ACPI (part 1: screen blank)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 5 Jul 2005, Colin Walters wrote:

On Sun, 2005-07-03 at 16:27 -0400, Matthew Saltzman wrote:
The ACPI scripts that I use to turn off the screen and suspend to RAM no
longer function in FC4 (worked fine in FC3).

Hopefully for FC5 we'll get suspend working out of the box.  We don't
really want our users to be in the business of having to write custom
suspend scripts.

Hopefully, indeed. But it's a challenge. My Thinkpad requires a custom initrd with radeonfb installed, and entries in /proc/acpi/ibm/hotkey in order to work correctly. I imagine most other laptops (at least) are similarly arcane.


The screen blank script is
invoked on Fn-F3 and contains:

     #!/bin/sh

     if [ -f /var/tmp/acpi-lightoff ]; then
       /usr/sbin/radeontool light on

As a workaround, try:

chcon -t initrc_exec_t /usr/local/bin/my-custom-blank-script.sh

That did it, thanks!


Same thing for the suspend.

Still can't communicate with hwclock.





--
		Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux