Red Hat Bugzilla – Bug 167089
/proc/acpi/button no longer there
Last modified: 2015-01-04 17:21:45 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050720 Fedora/1.0.6-1.1.fc4 Firefox/1.0.6
Description of problem:
acpid scripts that depend on the lid status fail since the directory
/proc/acpi/lid has disappeared in the upgrade from 2.6.12-1.1398_FC4 to 2.6.12-1.1447_FC4 .
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.boot kernel 2.6.12-1.1447_FC4 with acpi enabled
Actual Results: The directory /proc/acpi/lid is missing. Previous kernels provided
/proc/acpi/lid/LID/state which recorded if the lid was open or shut on a laptop.
Scripts that depend on this therefore now fail.
Expected Results: /proc/acpi/lid/LID/state should exist and give lid state.
Correction : /proc/acpi/button/
is the missing directory that contained /proc/acpi/button/lid/LID/state
in previous kernels
2.6.13 should have /proc/acpi/button again
/proc/acpi/sleep and /proc/acpi/ibm are missing as well after the same upgrade
http://bugzilla.kernel.org/show_bug.cgi?id=4988 claims that 2.6.13-rc6 has the
fix, if fedora folks don't want to jump to 2.6.13
The same problem exists in recent FC3 kernels, though 2.6.12-1.1378_FC3.
*** Bug 167655 has been marked as a duplicate of this bug. ***
this is fixed in the current fc4-updates-testing kernel.
Mass update to all FC4 bugs:
An update has been released (2.6.13-1.1526_FC4) which rebases to a new upstream
kernel (22.214.171.124). As there were ~3500 changes upstream between this and the
previous kernel, it's possible your bug has been fixed already.
Please retest with this update, and update this bug if necessary.
Fixed for me in 2.6.13-1.1526_FC4