Bug 153442

Summary: ACPI: Opening device fills /var/log/Xorg.0.log
Product: [openSUSE] SUSE Linux 10.1 Reporter: Olaf Hering <ohering>
Component: X.OrgAssignee: Stefan Dirsch <sndirsch>
Status: RESOLVED FIXED QA Contact: Stefan Dirsch <sndirsch>
Severity: Normal    
Priority: P2 - High CC: eich
Version: Beta 5   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Olaf Hering 2006-02-24 18:25:32 UTC
I'm not sure, but a longrunning Xserver will likely fillup the disk with

ACPI: Opening device

mulberry:~ # grep -w ACPI /var/log/Xorg.0.log | uniq -c
      1 ACPI: OSPMOpen called
      1 ACPI: Opening device
      1 (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
     46 ACPI: Opening device

maybe try only 42 times, then give up.
Comment 1 Stefan Dirsch 2006-02-24 18:42:24 UTC
Ouch! This has been introcued by the new ACPI patch (Bug #148384). My fault.
I should have removed the hunk

@@ -11,7 +11,7 @@
 #include <unistd.h>
 #include <fcntl.h>
 #include <errno.h>
- 
+#define DEBUG 1
 #define ACPI_SOCKET  "/var/run/acpid.socket"
 #define ACPI_EVENTS  "/proc/acpi/event"
 
instead of using

@@ -11,7 +11,7 @@
 #include <unistd.h>
 #include <fcntl.h>
 #include <errno.h>
- 
+#define DEBUG 0
 #define ACPI_SOCKET  "/var/run/acpid.socket"
 #define ACPI_EVENTS  "/proc/acpi/event"
Comment 2 Stefan Dirsch 2006-02-25 22:09:36 UTC
fixed in Beta > 5.