Bug 4718

Summary: X steals /proc/acpi/event
Product: xorg Reporter: Pierre Ossman <pierre-bugzilla>
Component: * OtherAssignee: Alan Hourihane <alanh>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: high CC: eich, kem, mat, mharris, sndirsch
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 1690    
Attachments:
Description Flags
add option to disable acpi ajax: 6.9/7.0?

Description Pierre Ossman 2005-10-09 01:21:42 UTC
New versions of xorg uses either acpid or opens /proc/acpi/event during startup
in order to get access to ACPI events. With distributions that use X during boot
(like Red Hat's rhgb) this causes problems since /proc/acpi/event will be opened
by the X server when acpid starts. Something needs to be done about this.

The two current suggestions are:

 * Make sure that acpid is started before any X server.
 * Have a configuration option for X that disables the ACPI integration. Any
graphical boots would use this configuration to avoid problems.

Red Hat's bugzilla entry:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169766
Comment 1 Stefan Dirsch 2005-11-18 22:31:43 UTC
Reassigning to Alan, since he checked in the ACPI code and made it the default.  
Kevin did checkin a small fix, so he might have some ideas about this as well. 
Adding him to Cc. 
Comment 2 Alan Hourihane 2005-11-18 22:59:52 UTC
Created attachment 3842 [details] [review]
add option to disable acpi

This should allow those who do not want it enabled to disable it.
Comment 3 Stefan Dirsch 2005-11-19 00:07:43 UTC
Thanks. Does this include an option for xorg.conf? 
Comment 4 Alan Hourihane 2005-11-19 00:50:46 UTC
No. Purely commandline.
Comment 5 Alan Hourihane 2005-11-19 00:52:10 UTC
Actually, you could use the NoPM option for xorg.conf, although that would
disable APM as well.
Comment 6 Stefan Dirsch 2005-11-19 01:41:39 UTC
Thanks for the "NoPM" hint. This helps a lot. 
Comment 7 Adam Jackson 2005-11-30 17:22:38 UTC
Comment on attachment 3842 [details] [review]
add option to disable acpi

nominating for 7
Comment 8 Adam Jackson 2005-12-15 07:08:18 UTC
applied, thanks.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.