SELinux and Thinkpad ACPI (part 1: screen blank)

Matthew Saltzman mjs at ces.clemson.edu
Wed Jul 6 00:18:19 UTC 2005


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




More information about the selinux mailing list