Bug 4718 - X steals /proc/acpi/event
Summary: X steals /proc/acpi/event
Alias: None
Product: xorg
Classification: Unclassified
Component: * Other (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: high major
Assignee: Alan Hourihane
QA Contact:
Depends on:
Blocks: 1690
  Show dependency treegraph
Reported: 2005-10-09 01:21 UTC by Pierre Ossman
Modified: 2005-12-14 12:08 UTC (History)
5 users (show)

See Also:
i915 platform:
i915 features:

add option to disable acpi (2.25 KB, patch)
2005-11-18 22:59 UTC, Alan Hourihane
ajax: 6.9/7.0?
Details | Splinter Review

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:
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.