Bug 153442 - ACPI: Opening device fills /var/log/Xorg.0.log
Summary: ACPI: Opening device fills /var/log/Xorg.0.log
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: X.Org (show other bugs)
Version: Beta 5
Hardware: All Linux
: P2 - High : Normal (vote)
Target Milestone: ---
Assignee: Stefan Dirsch
QA Contact: Stefan Dirsch
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-24 18:25 UTC by Olaf Hering
Modified: 2008-07-16 15:45 UTC (History)
1 user (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.