Bug 105037 - Patches for ACPI issues on IBM Laptops
Patches for ACPI issues on IBM Laptops
Status: CLOSED NOTABUG
Product: Red Hat Linux Beta
Classification: Retired
Component: kernel (Show other bugs)
beta1
All Linux
medium Severity high
: ---
: ---
Assigned To: Arjan van de Ven
Brian Brock
www.speakeasy.net/~jaboutboul/thinkpad
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-09-24 16:34 EDT by Jack Aboutboul
Modified: 2007-04-18 12:57 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-09-28 21:11:47 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jack Aboutboul 2003-09-24 16:34:57 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/85.7 (KHTML, like Gecko) Safari/85

Description of problem:
The pacthes found at the above url should fix the current ACPI issues that are affecting IBM Laptops. ACPI in the kernel currently doesnt detect the embedded controller that IBM is using to control ACPI. This should work with the following models: A31, R40, T30, T40, X31. The patch for this is found at http://www.speakeasy.net/~jaboutboul/thinkpad/acpi-thinkpad-ec-patch.  There is also also a patch for the battery status reading. Some acpi codes use unallocated (or deleted) memory to try and get a reading for the battery. This patch http://www.speakeasy.net/~jaboutboul/thinkpad/acpi-thinkpad-battery-patch should solve this.

Much more information can be found at http://erkki.tty0.org/thinkpad/thinkpad-acpi.html as well as these patches and another patch against 2.6.0-test3 and yet another patch for fixing dsdt AE_AML_REGIONLIMIT on the IBM x31.

Credit to Luming Yu, Shaohua Li from intel and Erik Rigtorp

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Apply patches
2. Build Kernel
3. Voilla!
    

Additional info:
Comment 1 Bill Nottingham 2003-09-24 23:10:00 EDT
What's the latest kernel you've tried? I think this is merged in the current
rawhide kernel.
Comment 2 Jack Aboutboul 2003-09-25 00:40:04 EDT
I havent used the latest rawhide kernel yet. I have either latest stock rh kernel for shrike, 2.4.22/
2.4.22-ac or 2.6.0-test5. I havent tested it against the rh kernel yet only against 2.4.21/2.4.22 
which i patched myself from vanilla sources. I will try the new rawhide kernel now though.
Comment 3 Jack Aboutboul 2003-09-26 13:29:18 EDT
Yes, this seems to have been included in the new kernel. Verified on Fedora Core
test2. Thanks alot!! Such a high quality release. Keep up the great work!!
Comment 4 Jack Aboutboul 2003-09-26 14:43:05 EDT
Actually there is one othe problem that I noticed. Although the ACPI controller
is now detected, the DSDTs are not loaded/available so one cant really use the
acpi functions. This is some stuff from dmesg:

d SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
ACPI: Subsystem revision 20030916
ACPI: Interpreter disabled.
PCI: PCI BIOS revision 2.10 entry at 0xfd8fe, last bus=8
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 00:1f.1
Transparent bridge - Intel Corp. 82801BAM/CAM PCI Bridge
PCI: Discovered primary peer bus 09 [IRQ]
PCI: Using IRQ router PIIX/ICH [8086/248c] at 00:1f.0
PCI: Found IRQ 11 for device 00:1f.1
PCI: Sharing IRQ 11 with 00:1d.2
PCI: Sharing IRQ 11 with 02:02.0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
Asus Laptop ACPI Extras version 0.24a
  Couldn't get the DSDT table header
  Error registering Asus Laptop ACPI Extras Driver
        -0420: *** Error: Could not allocate an object descriptor
pty: 2048 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ
SERIAL_PCI ISAPNP enabled
Comment 5 Dave Jones 2003-09-28 21:11:47 EDT
You need to boot with acpi=on if you want to use acpi.
This is in the release notes.

Note You need to log in before you can comment on or make changes to this bug.