http://bugzilla.kernel.org/show_bug.cgi?id=11421
[EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED Summary|HP dv5z DSDT is broken |ACPI Exception (thermal- | |0377): AE_OK, No or invalid | |critical threshold | |[20080321] - HP dv5z ------- Comment #8 from [EMAIL PROTECTED] 2008-10-16 17:41 ------- re: comment #1 > If Windows 6 is detected, TPOS = 0x41. For Linux it defaults to 0x80. Linux has not returned true for OSI("Linux") since 2.6.22. This bug is filed against 2.6.26, so here we are executing the path the same way Vista does: If (_OSI ("Windows 2006")) { Store (0x40, OSTB) Store (0x40, TPOS) } If (_OSI ("Windows 2006 SP1")) { Store (0x41, OSTB) Store (0x40, TPOS) } ie. Linux will see (TPOS == 0x40) So when we come to the thermal zone: Method (_HOT, 0, Serialized) { If (LEqual (TPOS, 0x40)) { Return (Add (0x0AAC, Multiply (TPC, 0x0A))) } # BIOS bug: # everything except Vista (TPOS==0x40) # and Linux -- which pretends to be Vista # will "implicit return" here. # But Linux and Vista will have a valid return here. } Method (_CRT, 0, Serialized) { If (LLess (TPOS, 0x40)) { Return (Add (0x0AAC, Multiply (TPC, 0x0A))) } # BIOS bug: # releases older than Visa (TPOS < 0x40) # will get a valid _CRT, but # Vista and Linux pretending to be Vista will # get an "implicit return", which depending # on the version of Linux will be 0 or some random value. } So Linux is doing the right thing by rejecting the _CRT. The only question is if we should nuke the whole thermal zone or not. I'm inclined to think not, but we'll deal with that in bug 10686. re: comment #5 Yes, I understand that BIOS bugs are still a problem, and always will be. The point of the quoted text (which I wrote) is that our goal is for Linux to handle "common industry practice" aka BIOS bugs by default, and not require users to modify their DSDT to get their systems working. If somebody still wants to modify their DSDT, more power to them. However, the result is not a system that any distro can support. -- Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ acpi-bugzilla mailing list acpi-bugzilla@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla