diff options
| author | Zhang Rui <[email protected]> | 2009-12-21 08:13:15 +0000 |
|---|---|---|
| committer | Len Brown <[email protected]> | 2009-12-22 07:39:24 +0000 |
| commit | 81074e90f5c150ca70ab8dfcc77860cbe76f364d (patch) | |
| tree | 607fd815382a44b6876ebaa9840f644764175f39 /lib/debugobjects.c | |
| parent | Linux 2.6.32 (diff) | |
| download | kernel-81074e90f5c150ca70ab8dfcc77860cbe76f364d.tar.gz kernel-81074e90f5c150ca70ab8dfcc77860cbe76f364d.zip | |
ACPI: disable _OSI(Windows 2009) on Asus K50IJ
Fix a win7 compability issue on Asus K50IJ.
Here is the _BCM method of this laptop:
Method (_BCM, 1, NotSerialized)
{
If (LGreaterEqual (OSFG, OSVT))
{
If (LNotEqual (OSFG, OSW7))
{
Store (One, BCMD)
Store (GCBL (Arg0), Local0)
Subtract (0x0F, Local0, LBTN)
^^^SBRG.EC0.STBR ()
...
}
Else
{
DBGR (0x0B, Zero, Zero, Arg0)
Store (Arg0, LBTN)
^^^SBRG.EC0.STBR ()
...
}
}
}
LBTN is used to store the index of the brightness level in the _BCL.
GCBL is a method that convert the percentage value to the index value.
If _OSI(Windows 2009) is not disabled, LBTN is stored a percentage
value which is surely beyond the end of _BCL package.
http://bugzilla.kernel.org/show_bug.cgi?id=14753
Signed-off-by: Zhang Rui <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
