Jump to content

G73SW ML 10.8.2 Install

G73SW

  • Please log in to reply
397 replies to this topic

#241
jeffc2009

jeffc2009

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 229 posts

ok
with RW everything I read the
9C cell in the EC register
it changes from 00/55/aa/ff
in the 4 states
in the dsdt it's the var TSTP


and it's in the RAMB register (volatile 1) and in the EC register (volatile 0)
TSTP, 8,
Offset (0x9C)

in the LCDD (under gfx0) device there is an external entry of EC for that specific control:

	 Method (_QAA, 0, NotSerialized)
	 {
		 Store (One, ^^^^TSTP)
		 ISMI (0xA7)
		 Store (One, OEMP)
		 PNOT ()
	 }

	 Method (_QA6, 0, NotSerialized)
	 {
		 Store (0x02, ^^^^TSTP)
		 ISMI (0xA7)
	 }

	 Method (_QA8, 0, NotSerialized)
	 {
		 Store (0x03, ^^^^TSTP)
		 ISMI (0xA7)
		 Store (One, OEMP)
		 PNOT ()
	 }


these (the _Q methods) are theQUERY : what happens if you press some in the direct connection with bios.. or what happens when you detach a battery.. etc..

the ISMI is locate under the root.. and point to another bank of ram/register

OperationRegion (GPSC, SystemIO, 0xB2, 0x02)
	 Field (GPSC, ByteAcc, NoLock, Preserve)
	 {
		 SMCM, 8,
		 SMST, 8
	 }
	 Method (ISMI, 1, Serialized)
	 {
		 Store (Arg0, SMCM)
	 }

in the WAKE.. the 1st operation is to write ISMI xxxx.. so I suppose that if the value of the ISMI is the same in the 3 query.. is not important or is a flag to tell that the same family of query has changed it's value

the 3 query stores 1, 2, 3 in the TSTP register. and the 4?

I suppose this is not the command but the only a query. because the 4 values 00/55/aa/ff are quite different from 1,2,3.

infact I discovered the under the DEVICE ATKD
Method (GLKB, 1, NotSerialized)
with the 1,2,3 and it STORE that value in the KBLV var.

and

		 Name (PWKB, Buffer (0x04)
		 {
			 0x00, 0x55, 0xAA, 0xFF
		 })
		 Method (SLKB, 1, NotSerialized)
		 {
			 Store (And (Arg0, 0x7F), KBLV)
			 If (And (Arg0, 0x80))
			 {
				 Store (DerefOf (Index (PWKB, KBLV)), Local0)
			 }
			 Else
			 {
				 Store (Zero, Local0)
			 }

			 ^^PCI0.LPCB.EC.WRAM (0x044B, Local0)
			 Return (One)
		 }

this is the core!
in fact it use the INDEX of KBLV (1,2,3) and get the relative value from the array.
the comand is the last row: it write in the EC.WRAM the proper value in the reg 044B

windows and ubuntu can translate the Fn+key with that command.

If we can change the xproj of the wmi.. we can add a command for the missing f3/f4 unmanaged buttons.. and for the actual needing.. we can invoke that command in the boot.
how?

the Sleep (Method (ECS, 1, NotSerialized)) set to zero the light.. WRAM (0x044B, Zero) after writing the last value Store (RRAM (0x0449), Local0)

and the wake read the value in the RRAM
Store (RRAM (0x0449), Local0)

and fix the value only if we are in a wake:
If (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04)))
		 {
			 Store (RRAM (0x0449), Local0)
			 And (Local0, 0x02, Local1)
			 If (Local1)
			 {
				 Or (Local0, One, Local0)
				 WRAM (0x0449, Local0)
			 }
		 }

so we're sure.. the WRAM 0x0449 fixes the value in a separate bank.
WRAM 044B fix the value in the live system
i'll try
WRAM (0x044B, 0xFF)

i'ss test the ini and reg EC
see ya

yeah

here you are
this is for g53
search for the text

//**

grab the text i've added in the 3 positions ad put in your dsdt.dsl in the same position

now we've to mod the kext!!

ok
with RW everything I read the
9C cell in the EC register
it changes from 00/55/aa/ff
in the 4 states
in the dsdt it's the var TSTP


and it's in the RAMB register (volatile 1) and in the EC register (volatile 0)
TSTP, 8,
Offset (0x9C)

in the LCDD (under gfx0) device there is an external entry of EC for that specific control:

	 Method (_QAA, 0, NotSerialized)
	 {
		 Store (One, ^^^^TSTP)
		 ISMI (0xA7)
		 Store (One, OEMP)
		 PNOT ()
	 }

	 Method (_QA6, 0, NotSerialized)
	 {
		 Store (0x02, ^^^^TSTP)
		 ISMI (0xA7)
	 }

	 Method (_QA8, 0, NotSerialized)
	 {
		 Store (0x03, ^^^^TSTP)
		 ISMI (0xA7)
		 Store (One, OEMP)
		 PNOT ()
	 }


these (the _Q methods) are theQUERY : what happens if you press some in the direct connection with bios.. or what happens when you detach a battery.. etc..

the ISMI is locate under the root.. and point to another bank of ram/register

OperationRegion (GPSC, SystemIO, 0xB2, 0x02)
	 Field (GPSC, ByteAcc, NoLock, Preserve)
	 {
		 SMCM, 8,
		 SMST, 8
	 }
	 Method (ISMI, 1, Serialized)
	 {
		 Store (Arg0, SMCM)
	 }

in the WAKE.. the 1st operation is to write ISMI xxxx.. so I suppose that if the value of the ISMI is the same in the 3 query.. is not important or is a flag to tell that the same family of query has changed it's value

the 3 query stores 1, 2, 3 in the TSTP register. and the 4?

I suppose this is not the command but the only a query. because the 4 values 00/55/aa/ff are quite different from 1,2,3.

infact I discovered the under the DEVICE ATKD
Method (GLKB, 1, NotSerialized)
with the 1,2,3 and it STORE that value in the KBLV var.

and

		 Name (PWKB, Buffer (0x04)
		 {
			 0x00, 0x55, 0xAA, 0xFF
		 })
		 Method (SLKB, 1, NotSerialized)
		 {
			 Store (And (Arg0, 0x7F), KBLV)
			 If (And (Arg0, 0x80))
			 {
				 Store (DerefOf (Index (PWKB, KBLV)), Local0)
			 }
			 Else
			 {
				 Store (Zero, Local0)
			 }

			 ^^PCI0.LPCB.EC.WRAM (0x044B, Local0)
			 Return (One)
		 }

this is the core!
in fact it use the INDEX of KBLV (1,2,3) and get the relative value from the array.
the comand is the last row: it write in the EC.WRAM the proper value in the reg 044B

windows and ubuntu can translate the Fn+key with that command.

If we can change the xproj of the wmi.. we can add a command for the missing f3/f4 unmanaged buttons.. and for the actual needing.. we can invoke that command in the boot.
how?

the Sleep (Method (ECS, 1, NotSerialized)) set to zero the light.. WRAM (0x044B, Zero) after writing the last value Store (RRAM (0x0449), Local0)

and the wake read the value in the RRAM
Store (RRAM (0x0449), Local0)

and fix the value only if we are in a wake:
If (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04)))
		 {
			 Store (RRAM (0x0449), Local0)
			 And (Local0, 0x02, Local1)
			 If (Local1)
			 {
				 Or (Local0, One, Local0)
				 WRAM (0x0449, Local0)
			 }
		 }

so we're sure.. the WRAM 0x0449 fixes the value in a separate bank.
WRAM 044B fix the value in the live system
i'll try
WRAM (0x044B, 0xFF)

i'ss test the ini and reg EC
see ya

yeah

here you are
this is for g53
search for the text

//**

grab the text i've added in the 3 positions ad put in your dsdt.dsl in the same position

now we've to mod the kext!!


Good find Ugokind, I will test it when i get back. For PNLF, Method GCBL and it's Storing to ECO.STBR.

For Backlit Keyboard Why no store that value under SLKB? This is the last argument before it is invoked by ATK. Since we don't have ATK software to trigger it, just leave it on.


Method (SLKB, 1, NotSerialized)
{
Store (And (Arg0, 0x7F), KBLV)
If (And (Arg0, 0x80))
{
Store (DerefOf (Index (PWKB, KBLV)), Local0)
}
Else
{
Store (Zero, Local0)
}
^^PCI0.SBRG.EC0.WRAM (0x044B, Local0)
Return (One)
}

I think Method _Q0E is how example: (Fn-F5) down backlight stores to EC and so on...

#242
ugokind

ugokind

    InsanelyMac Deity

  • Donators
  • 1,712 posts
  • Gender:Male
  • Location:10100
  • Interests:Apicoltura
    Mac
    Linux
    Homebrew
    Australia
    Spremermilcervello
My fixes works.
But the light is always turned on
Why not to engage a team to mod the wmikext source that i posted?

#243
jeffc2009

jeffc2009

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 229 posts

My fixes works.
But the light is always turned on
Why not to engage a team to mod the wmikext source that i posted?


We can do that too but I don't know anything about Xcode. Didi you get that from EMlyDinEsH? Let me do more reading!

We can do that too but I don't know anything about Xcode. Didi you get that from EMlyDinEsH? Let me do more reading!



Just need to find the right code for FN-F5/FN-F6 for back light
FN-F3/FN-F4 for backlit keys.

#include "AsusWMIController.h"
#define DEBUG_START 0
#if DEBUG_START
#define DEBUG_LOG(fmt, args...) IOLog(fmt, ## args)
#else
#define DEBUG_LOG(fmt, args...)
#endif

#define ASUS_WMI_MGMT_GUID "97845ED0-4E6D-11DE-8A39-0800200C9A66"
#define ASUS_NB_WMI_EVENT_GUID "0B3CBB35-E3C2-45ED-91C2-4C5A6D195D1C"
/* WMI Methods */
#define ASUS_WMI_METHODID_SPEC 0x43455053 /* BIOS SPECification */
#define ASUS_WMI_METHODID_SFBD 0x44424653 /* Set First Boot Device */
#define ASUS_WMI_METHODID_GLCD 0x44434C47 /* Get LCD status */
#define ASUS_WMI_METHODID_GPID 0x44495047 /* Get Panel ID?? (Resol) */
#define ASUS_WMI_METHODID_QMOD 0x444F4D51 /* Quiet MODe */
#define ASUS_WMI_METHODID_SPLV 0x4C425053 /* Set Panel Light Value */
#define ASUS_WMI_METHODID_SFUN 0x4E554653 /* FUNCtionalities */
#define ASUS_WMI_METHODID_SDSP 0x50534453 /* Set DiSPlay output */
#define ASUS_WMI_METHODID_GDSP 0x50534447 /* Get DiSPlay output */
#define ASUS_WMI_METHODID_DEVP 0x50564544 /* DEVice Policy */
#define ASUS_WMI_METHODID_OSVR 0x5256534F /* OS VeRsion */
#define ASUS_WMI_METHODID_DSTS 0x53544344 /* Device STatuS */
#define ASUS_WMI_METHODID_DSTS2 0x53545344 /* Device STatuS #2*/
#define ASUS_WMI_METHODID_BSTS 0x53545342 /* Bios STatuS ? */
#define ASUS_WMI_METHODID_DEVS 0x53564544 /* DEVice Set */
#define ASUS_WMI_METHODID_CFVS 0x53564643 /* CPU Frequency Volt Set */
#define ASUS_WMI_METHODID_KBFT 0x5446424B /* KeyBoard FilTer */
#define ASUS_WMI_METHODID_INIT 0x54494E49 /* INITialize */
#define ASUS_WMI_METHODID_HKEY 0x59454B48 /* Hot KEY ?? */
#define ASUS_WMI_UNSUPPORTED_METHOD 0xFFFFFFFE
/* Wireless */
#define ASUS_WMI_DEVID_HW_SWITCH 0x00010001
#define ASUS_WMI_DEVID_WIRELESS_LED 0x00010002
#define ASUS_WMI_DEVID_CWAP 0x00010003
#define ASUS_WMI_DEVID_WLAN 0x00010011
#define ASUS_WMI_DEVID_BLUETOOTH 0x00010013
#define ASUS_WMI_DEVID_GPS 0x00010015
#define ASUS_WMI_DEVID_WIMAX 0x00010017
#define ASUS_WMI_DEVID_WWAN3G 0x00010019
#define ASUS_WMI_DEVID_UWB 0x00010021
/* Leds */
/* 0x000200XX and 0x000400XX */
#define ASUS_WMI_DEVID_LED1 0x00020011
#define ASUS_WMI_DEVID_LED2 0x00020012
#define ASUS_WMI_DEVID_LED3 0x00020013
#define ASUS_WMI_DEVID_LED4 0x00020014
#define ASUS_WMI_DEVID_LED5 0x00020015
#define ASUS_WMI_DEVID_LED6 0x00020016
/* Backlight and Brightness */
#define ASUS_WMI_DEVID_BACKLIGHT 0x00050011
#define ASUS_WMI_DEVID_BRIGHTNESS 0x00050012
#define ASUS_WMI_DEVID_KBD_BACKLIGHT 0x00050021

#define ASUS_WMI_DEVID_LIGHT_SENSOR 0x00050022 /* ?? */ (we don't have this)

/* Misc */
#define ASUS_WMI_DEVID_CAMERA 0x00060013
/* Storage */
#define ASUS_WMI_DEVID_CARDREADER 0x00080013
/* Input */
#define ASUS_WMI_DEVID_TOUCHPAD 0x00100011
#define ASUS_WMI_DEVID_TOUCHPAD_LED 0x00100012
/* Fan, Thermal */
#define ASUS_WMI_DEVID_THERMAL_CTRL 0x00110011
#define ASUS_WMI_DEVID_FAN_CTRL 0x00110012
/* Power */
#define ASUS_WMI_DEVID_PROCESSOR_STATE 0x00120012
/* DSTS masks */
#define ASUS_WMI_DSTS_STATUS_BIT 0x00000001
#define ASUS_WMI_DSTS_UNKNOWN_BIT 0x00000002
#define ASUS_WMI_DSTS_PRESENCE_BIT 0x00010000
#define ASUS_WMI_DSTS_USER_BIT 0x00020000
#define ASUS_WMI_DSTS_BIOS_BIT 0x00040000
#define ASUS_WMI_DSTS_BRIGHTNESS_MASK 0x000000FF
#define ASUS_WMI_DSTS_MAX_BRIGTH_MASK 0x0000FF00


/*
* <platform>/ - debugfs root directory
* dev_id - current dev_id
* ctrl_param - current ctrl_param
* method_id - current method_id
* devs - call DEVS(dev_id, ctrl_param) and print result
* dsts - call DSTS(dev_id) and print result
* call - call method_id(dev_id, ctrl_param) and print result

*/
#define EEEPC_WMI_METHODID_SPEC 0x43455053
#define EEEPC_WMI_METHODID_DEVP 0x50564544
#define EEEPC_WMI_METHODID_DEVS 0x53564544
#define EEEPC_WMI_METHODID_DSTS 0x53544344
#define EEEPC_WMI_METHODID_CFVS 0x53564643
#define EEEPC_WMI_DEVID_BACKLIGHT 0x00050011
#define EEEPC_WMI_DEVID_BACKLIGHT2 0x00050012

#define EEEPC_WMI_DEVID_BLUETOOTH 0x00010013
#define EEEPC_WMI_DEVID_WIRELESS 0x00010011
#define EEEPC_WMI_DEVID_TRACKPAD 0x00100011
#define super AsusNBWMI
OSDefineMetaClassAndStructors(AsusWMIController, AsusNBWMI)

bool AsusWMIController::init(OSDictionary *dictionary)
{
return super::init(dictionary);
}
bool AsusWMIController::start(IOService *provider)
{
return super::start(provider);
}
void AsusWMIController::stop(IOService *provider)
{
super::stop(provider);
}
void AsusWMIController::free(void)
{
super::free();
}

IOService * AsusWMIController::probe(IOService *provider, SInt32 *score )
{
IOService * ret = NULL;
OSObject * obj;
OSString * name;
IOACPIPlatformDevice *dev;
do
{


if (!super::probe(provider, score))
continue;


dev = OSDynamicCast(IOACPIPlatformDevice, provider);
if (NULL == dev)
continue;

dev->evaluateObject("_UID", &obj);

name = OSDynamicCast(OSString, obj);
if (NULL == name)
continue;


if (name->isEqualTo("ATK"))
{

*score +=20;
ret = this;
}
name->release();

}
while (false);

return (ret);
}

[b]const wmiKeyMap AsusWMIController::keyMap[] = {
{0x30, NX_KEYTYPE_SOUND_UP, "NX_KEYTYPE_SOUND_UP"},
{0x31, NX_KEYTYPE_SOUND_DOWN, "NX_KEYTYPE_SOUND_DOWN"},
{0x32, NX_KEYTYPE_MUTE, "NX_KEYTYPE_MUTE"},
{0xCC, NX_KEYTYPE_VIDMIRROR, "NX_KEYTYPE_VIDMIRROR"},
{0x40, NX_KEYTYPE_PREVIOUS, "NX_KEYTYPE_PREVIOUS"},
{0x41, NX_KEYTYPE_NEXT, "NX_KEYTYPE_NEXT"},
{0x45, NX_KEYTYPE_PLAY, "NX_KEYTYPE_PLAY"},
{0,0xFF,NULL}

};[/b]

#244
ugokind

ugokind

    InsanelyMac Deity

  • Donators
  • 1,712 posts
  • Gender:Male
  • Location:10100
  • Interests:Apicoltura
    Mac
    Linux
    Homebrew
    Australia
    Spremermilcervello
this is what i got from a blog
yes is it
https://github.com/E...EsHMG/AsusNBWMI

but i got pne error in compile.. so this is exactly what we have to do
we have to replicate a behaviour for other keypress.. and hook the internal dsdt function

#245
jeffc2009

jeffc2009

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 229 posts
maybe we can get some guidance from EMlyDinEsH. Looks like the controls is there, but key press is not enabled. I am currently spending some quality time with family at six flags for the light show tonight. When I get done ill try to look into this later tonight.

this is what i got from a blog
yes is it
https://github.com/E...EsHMG/AsusNBWMI

but i got pne error in compile.. so this is exactly what we have to do
we have to replicate a behaviour for other keypress.. and hook the internal dsdt function


Can u post what u have done so far?

#246
ugokind

ugokind

    InsanelyMac Deity

  • Donators
  • 1,712 posts
  • Gender:Male
  • Location:10100
  • Interests:Apicoltura
    Mac
    Linux
    Homebrew
    Australia
    Spremermilcervello
take it as it comes.. we've a spring .. but the world will be also tomorrow.

I've xcode for ml.. and i'm not a developer.. but a little bit.. yes.
so i'll check the code.. because recent xcode give errors about obsolete code.

then.. i'll check the events-keypress

#247
jeffc2009

jeffc2009

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 229 posts
I had recompile both ACPIBacklight.kext and AsusNBWMI.kext to newest codes. Give me sometime to add new features to it.


12/22/12 11:53:51.000 PM kernel[0]: AsusWMIController: Found WMI Device ATKD
12/22/12 11:53:51.000 PM kernel[0]: AsusWMIController: Hotkey Events Enabled
12/22/12 11:53:51.000 PM kernel[0]: WMIController Driver ported by Hotkoffy(insanelymac) and modified to AsusNB by EMlyDinEsHMG Copyright © 2012


12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel::probe()
12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel::findDevices()
12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel::hasBacklightMethods()
12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel: ACPI device PNLF has _BCL
12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel: ACPI device PNLF has _BCM
12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel: ACPI device PNLF has _BQC
12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel: PNLF has backlight Methods
12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel: ACPI Methods _DOS _BCL _BCM _BQC found. Device path: _SB.PNLF
12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel: probe(devices found : true)
12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel: PNLF has backlight Methods
12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel::start()
12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel::findDevices()
12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel::getDeviceControl()
12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel: BIOS control disabled: _DOS
12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel::hasSAVEMethod()
12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel::setupIndexedLevels()
12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel::queryACPISupportedBrightnessLevels()
12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel: PNLF _BCL 11
12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel: getIndexForLevel(100) is 10
12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel: getIndexForLevel(80) is 9
12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel::queryACPICurentBrightnessLevel()
12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel: queryACPICurentBrightnessLevel _BQC = 10
12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel: queryACPICurentBrightnessLevel returning 10
12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel: getIndexForLevel(10) not found in _BCL table !
12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel::getACStatus()
12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel::getBatteryDevice()
12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel: getBatteryDevice() serviceMatching OK
12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel: getBatteryDevice() iter OK
12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel: getBatteryDevice() bat is of class AppleSmartBattery
12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel: getACStatus() AC is 1
12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel: min = 0, max = 10, value = 10
12/22/12 11:53:52.000 PM kernel[0]: ACPIBacklightPanel: Version 1.2

12/22/12 11:53:55.000 PM kernel[0]: ACPIBacklightPanel::setDisplay()
12/22/12 11:53:55.000 PM kernel[0]: ACPIBacklightPanel::doUpdate()
12/22/12 11:53:55.000 PM kernel[0]: ACPIBacklightPanel: ACPILevel min 0, max 10, value 10
12/22/12 11:53:55.000 PM kernel[0]: ACPIBacklightPanel::doUpdate()
12/22/12 11:53:55.000 PM kernel[0]: ACPIBacklightPanel: ACPILevel min 0, max 10, value 10
12/22/12 11:53:55.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:53:55.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:53:55.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(100)
12/22/12 11:53:55.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:53:55.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:53:55.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(100)
12/22/12 11:53:55.000 PM kernel[0]: ACPIBacklightPanel::doUpdate()
12/22/12 11:53:55.000 PM kernel[0]: ACPIBacklightPanel: ACPILevel min 0, max 10, value 10
12/22/12 11:53:55.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:53:55.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:53:55.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(100)
12/22/12 11:53:55.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(commit)

12/22/12 11:53:55.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:53:55.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:53:55.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(100)

12/22/12 11:55:36.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:36.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:36.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(80)
12/22/12 11:55:36.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:36.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:36.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(80)
12/22/12 11:55:36.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:36.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:36.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(80)
12/22/12 11:55:36.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:36.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:36.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(100)
12/22/12 11:55:36.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:36.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:36.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(100)
12/22/12 11:55:36.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:36.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:36.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(100)
12/22/12 11:55:39.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(commit)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(100)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(100)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(100)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(100)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(80)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(80)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(65)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(55)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(50)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(50)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(50)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(50)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(50)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(45)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(45)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(45)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(45)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(45)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(45)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(45)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(45)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(45)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:42.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(45)
12/22/12 11:55:45.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(commit)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(45)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(45)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(45)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(45)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(45)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(45)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(45)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(40)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(40)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(40)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(40)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(40)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(40)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(35)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(35)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(35)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(35)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(35)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:51.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(35)
12/22/12 11:55:52.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:52.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:52.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(35)
12/22/12 11:55:52.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:52.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:52.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(35)
12/22/12 11:55:52.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:52.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:52.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(35)
12/22/12 11:55:53.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:53.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:53.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(35)
12/22/12 11:55:55.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(commit)
12/22/12 11:55:55.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:55.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:55.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(35)
12/22/12 11:55:55.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:55.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:55.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(35)
12/22/12 11:55:55.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:55.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:55.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(35)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(35)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(35)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(35)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(35)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(30)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(30)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(30)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(30)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(30)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(25)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(25)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(25)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(25)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(25)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(25)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(25)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(20)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(20)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:56.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(20)
12/22/12 11:55:59.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(commit)
12/22/12 11:55:59.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:59.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:59.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(20)
12/22/12 11:55:59.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:55:59.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:55:59.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(20)
12/22/12 11:56:02.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(commit)
12/22/12 11:56:09.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:56:09.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:56:09.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(25)
12/22/12 11:56:11.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(commit)
12/22/12 11:56:16.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:56:16.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:56:16.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(35)
12/22/12 11:56:16.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:56:16.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:56:16.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(35)
12/22/12 11:56:19.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(commit)
12/22/12 11:56:19.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:56:19.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:56:19.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(50)
12/22/12 11:56:19.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:56:19.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:56:19.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(50)
12/22/12 11:56:21.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(commit)
12/22/12 11:56:21.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:56:21.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:56:21.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(55)
12/22/12 11:56:21.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:56:21.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:56:21.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(65)
12/22/12 11:56:21.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:56:21.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:56:21.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(65)
12/22/12 11:56:23.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:56:23.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:56:23.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(100)
12/22/12 11:56:23.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:56:23.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:56:23.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(100)
12/22/12 11:56:25.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(commit)
12/22/12 11:56:25.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(commit)
12/22/12 11:56:37.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:56:37.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:56:37.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(80)
12/22/12 11:56:37.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:56:37.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:56:37.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(80)
12/22/12 11:56:39.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(commit)
12/22/12 11:56:41.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:56:41.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:56:41.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(55)
12/22/12 11:56:41.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:56:41.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:56:41.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(55)
12/22/12 11:56:43.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(commit)
12/22/12 11:56:45.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:56:45.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:56:45.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(45)
12/22/12 11:56:45.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:56:45.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:56:45.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(45)
12/22/12 11:56:47.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(commit)
12/22/12 11:56:56.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:56:56.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:56:56.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(55)
12/22/12 11:56:56.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:56:56.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:56:56.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(55)
12/22/12 11:56:56.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:56:56.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:56:56.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(55)
12/22/12 11:56:56.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:56:56.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:56:56.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(55)
12/22/12 11:56:56.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:56:56.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:56:56.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(55)
12/22/12 11:56:56.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:56:56.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:56:56.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(55)
12/22/12 11:56:56.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:56:56.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:56:56.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(65)
12/22/12 11:56:56.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:56:56.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:56:56.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(80)
12/22/12 11:56:56.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:56:56.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:56:56.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(100)
12/22/12 11:56:56.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
12/22/12 11:56:56.000 PM kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
12/22/12 11:56:56.000 PM kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(100)
12/22/12 11:56:58.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(commit)
12/22/12 11:56:58.000 PM kernel[0]: ACPIBacklightPanel::doIntegerSet(commit)

But no light change, slide bar moves, F5/F6 moves. Forgot to change in dsdt.

#248
ugokind

ugokind

    InsanelyMac Deity

  • Donators
  • 1,712 posts
  • Gender:Male
  • Location:10100
  • Interests:Apicoltura
    Mac
    Linux
    Homebrew
    Australia
    Spremermilcervello
with the git source I can build..
but.. where did you took that exact acpibacklight source?

i've also have the slider.. but addidng manually the index with:
Device (PNLF)
	    {
		    Name (_HID, EisaId ("APP0002"))
		    Name (_CID, "backlight")
		    Name (_UID, 0x0A)
		    Name (_STA, 0x0B)
		    Name (_ADR, Zero)
Method (_BCL, 0, NotSerialized)
		    {
   Name (BRIG, Package (0x12)
				    {
	  0xFF,
															    0xFF,
															    Zero,
															    One,
															    0x02,
															    0x03,
															    0x04,
															    0x05,
															    0x06,
															    0x07,
															    0x08,
															    0x09,
															    0x0A,
															    0x0B,
															    0x0C,
															    0x0D,
															    0x0E,
															    0x0F
				    })			   
  Return (BRIG)
		    }
		    Method (_BQC, 0, NotSerialized)
		    {
			    Return (\_SB.PCI0.PEG0.GFX0.LCDD._BQC ())
		    }
	 Method (_DOS, 1, NotSerialized)
	 {
  \_SB.PCI0.PEG0.GFX0._DOS(Arg0)
	  }
	 Method (_BCM, 1, NotSerialized)
	 {
   \_SB.PCI0.PEG0.GFX0.LCDD._BCM(Arg0)
	 }
	    }

i bypass the array of the original PCTG method with another .. and with the values inverted with ascending values

#249
ugokind

ugokind

    InsanelyMac Deity

  • Donators
  • 1,712 posts
  • Gender:Male
  • Location:10100
  • Interests:Apicoltura
    Mac
    Linux
    Homebrew
    Australia
    Spremermilcervello
Ok.
To have the keyboard backlight at boot it's enough to put
Wram 044b
Only in the REG method
Of EC sub section of DSDT



#250
ugokind

ugokind

    InsanelyMac Deity

  • Donators
  • 1,712 posts
  • Gender:Male
  • Location:10100
  • Interests:Apicoltura
    Mac
    Linux
    Homebrew
    Australia
    Spremermilcervello
i have the same verbose log as you. I tried to use the asuswmi.. but after pressing key.. the system hangs.

#251
jeffc2009

jeffc2009

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 229 posts

i have the same verbose log as you. I tried to use the asuswmi.. but after pressing key.. the system hangs.


Read: https://gist.github....bf8/nvidia_bl.c

Looks like Display backlight is controlled by Nvidia. Once you have backlight for GFX0, you will have slider. Trying to figure out how NV is getting brightness values.

Attached File  NV Brightness.tiff   511.95KB   11 downloads

UgoKind, see attached and let me know if you have these values?

Attached File  ACPIBACKLIGHT.tiff   340.46KB   12 downloads

Just need to figure out how to enable bio's control:


12/23/12 9:52:23.000 AM kernel[0]: ACPIBacklightPanel: BIOS control disabled: _DOS

There's got to be another method to enable it. Looking into

Cyrus the Great Methods.



#252
ugokind

ugokind

    InsanelyMac Deity

  • Donators
  • 1,712 posts
  • Gender:Male
  • Location:10100
  • Interests:Apicoltura
    Mac
    Linux
    Homebrew
    Australia
    Spremermilcervello
I cut PNLF and DPOD from DSDT
and I cut the query
if (!gpuDevice || !backLightDevice)
    {
	    //IOACPIPlatformDevice * dev = OSDynamicCast(IOACPIPlatformDevice, provider);
	    //if (hasBacklightMethods(dev))
	    //{
	    //    DbgLog("%s: PNLF has backlight Methods\n", this->getName());
	    //    backLightDevice = dev;
	    //    gpuDevice = dev;
	    //    gpuDevice->retain();
	    //    backLightDevice->retain();
	    //}
	    //else
	    //{

to force to use the GETGPU function

so at boot I have

Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel::probe()
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel::findDevices()
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel::getGPU()
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: testing device: CPU0
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel::hasDOSMethod()
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: testing device: CPU1
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel::hasDOSMethod()
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: testing device: CPU2
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel::hasDOSMethod()
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: testing device: CPU3
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel::hasDOSMethod()
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: testing device: CPU4
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel::hasDOSMethod()
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: testing device: CPU5
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel::hasDOSMethod()
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: testing device: CPU6
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel::hasDOSMethod()
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: testing device: CPU7
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel::hasDOSMethod()
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: testing device: _SB
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel::hasDOSMethod()
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: testing device: PTID
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel::hasDOSMethod()
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: testing device: PCI0
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel::hasDOSMethod()
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: testing device: PEG0
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel::hasDOSMethod()
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: testing device: HDAU
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel::hasDOSMethod()
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: testing device: GFX0
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel::hasDOSMethod()
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: ACPI device GFX0 has _DOS
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel::hasBacklightMethods()
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel::getChildWithBacklightMethods()
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel::hasBacklightMethods()
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: ACPI device LCDD has _BCL
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: ACPI device LCDD has _BCM
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: ACPI device LCDD has _BQC
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: Found Backlight Device: LCDD
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: ACPI Method _DOS found. Device path: _SB.PCI0.PEG0.GFX0
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: ACPI Methods _BCL _BCM _BQC found. Device path: _SB.PCI0.PEG0.GFX0.LCDD
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: probe(devices found : true)
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: LCDD has backlight Methods
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel::start()
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel::findDevices()
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel::getDeviceControl()
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: BIOS control disabled: _DOS
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel::hasSAVEMethod()
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel::setupIndexedLevels()
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel::queryACPISupportedBrightnessLevels()
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: LCDD _BCL 11
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: getIndexForLevel(255) is 10
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: getIndexForLevel(205) is 9
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel::queryACPICurentBrightnessLevel()
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: queryACPICurentBrightnessLevel _BQC = 10
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: queryACPICurentBrightnessLevel returning 10
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: getIndexForLevel(10) not found in _BCL table !
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel::getACStatus()
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel::getBatteryDevice()
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: getBatteryDevice() serviceMatching OK
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: getBatteryDevice() iter OK
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: getBatteryDevice() bat is of class AppleSmartBattery
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: getACStatus() AC is 1
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: min = 0, max = 10, value = 10
Dec 24 15:24:23 localhost kernel[0]: ACPIBacklightPanel: Version 1.2
Dec 24 15:24:35 adrem-mac-pro kernel[0]: ACPIBacklightPanel::setDisplay()
Dec 24 15:24:35 adrem-mac-pro kernel[0]: ACPIBacklightPanel::doUpdate()
Dec 24 15:24:35 adrem-mac-pro kernel[0]: ACPIBacklightPanel: ACPILevel min 0, max 10, value 10
Dec 24 15:24:35 adrem-mac-pro kernel[0]: ACPIBacklightPanel::doUpdate()
Dec 24 15:24:35 adrem-mac-pro kernel[0]: ACPIBacklightPanel: ACPILevel min 0, max 10, value 10
Dec 24 15:24:35 adrem-mac-pro kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
Dec 24 15:24:35 adrem-mac-pro kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
Dec 24 15:24:35 adrem-mac-pro kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(255)
Dec 24 15:24:35 adrem-mac-pro kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
Dec 24 15:24:35 adrem-mac-pro kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
Dec 24 15:24:35 adrem-mac-pro kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(255)
Dec 24 15:24:35 adrem-mac-pro kernel[0]: ACPIBacklightPanel::doUpdate()
Dec 24 15:24:35 adrem-mac-pro kernel[0]: ACPIBacklightPanel: ACPILevel min 0, max 10, value 10
Dec 24 15:24:35 adrem-mac-pro kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
Dec 24 15:24:35 adrem-mac-pro kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
Dec 24 15:24:35 adrem-mac-pro kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(255)
Dec 24 15:24:35 adrem-mac-pro kernel[0]: ACPIBacklightPanel::doIntegerSet(commit)
Dec 24 15:24:36 adrem-mac-pro kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
Dec 24 15:24:36 adrem-mac-pro kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
Dec 24 15:24:36 adrem-mac-pro kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(255)


#253
ugokind

ugokind

    InsanelyMac Deity

  • Donators
  • 1,712 posts
  • Gender:Male
  • Location:10100
  • Interests:Apicoltura
    Mac
    Linux
    Homebrew
    Australia
    Spremermilcervello
ok
I discovered that after a wake the log shows
Dec 25 10:35:12 Adrem-Mac-Pro kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness)
Dec 25 10:35:12 Adrem-Mac-Pro kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel()
Dec 25 10:35:12 Adrem-Mac-Pro kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevelPROVA _BCM(100)

but it seems a consequence for having the acpibacklight.kext

and I discovered that if i have the ACPICodec
in the Modules folder of Extra (Chameleon module)
the acpibacklight is not loaded.. and sleep is not working
also for kernel.ACPICodec

i'm not able to touch that.. but I think the binary is able to work until the SET
i think that because the log in the debug version is showing all the important thing we can see to verify that
it can invoke the gpu.. discover the methods.. initialize the index.. initialize the bat

but .. the routing shows the SET bcm .. when I move the slider. without success.
so the only think in my mind is that either the BCM is not good.. or the BCM is linked in the wrong device in DSDT.. or the routine is bad.
my dsdt has 2 bcm.. but those are equal and invokes the same external method.
remains the bcm itself in the dsdt.. so in ubuntu or windows I cannot test it with a slider.. but I can test the ATKD fn+ keyboard buttons. and they works.

remains the routine
void ACPIBacklightPanel::setACPIBrightnessLevel(UInt32 level)
{
    DbgLog("%s::%s()\n", this->getName(),__FUNCTION__);
   
OSObject * ret = NULL;
OSNumber * number = OSNumber::withNumber(level, 32);
   
if (kIOReturnSuccess == backLightDevice->evaluateObject("_BCM", &ret, (OSObject**)&number,1))
    {
if (ret)
  ret->release();
   
DbgLog("%s: setACPIBrightnessLevel _BCM(%u)\n", this->getName(), (unsigned int) level);
    }
    else
	    IOLog("%s: Error in setACPIBrightnessLevel _BCM(%u)\n", this->getName(), (unsigned int) level);
}


#254
jeffc2009

jeffc2009

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 229 posts
Ugokind, I noticed in regeditorexplorer under ACPIBacklightPanel. BCL Min on AC is at max, and brightness control levels are backwards. And i read somewhere, we need to find a way for nvidia to release control for the slider to work. This is what I have so far in dsdt including the recompiled ACPIBacklight for ML. We need to find a dsdt for 9, 1 for MacBook Pro.


I to find in ioreg LCDD/DPOD and change it.
	    Device (PNLF)
	    {
		    Name (_HID, EisaId ("APP0002"))
		    Name (_CID, "backlight")
		    Name (_UID, 0x0A)
		    Name (_STA, 0x0B)
		    Name (_ADR, Zero)
		    Method (_DOS, 1, NotSerialized)
		    {
			    ^^PCI0.PEG0.GFX0._DOS (Arg0)
		    }
		    Method (_BCL, 0, NotSerialized)
		    {
			    Return (^^PCI0.PEG0.GFX0.DPOD._BCL ())
		    }
		    Method (_BCM, 1, NotSerialized)
		    {
			    ^^PCI0.PEG0.GFX0.DPOD._BCM (Arg0)
		    }
		    Method (_BQC, 0, NotSerialized)
		    {
			    Return (^^PCI0.PEG0.GFX0.DPOD._BQC ())
		    }
	    }
add in GFX0:
							    "@0,backlight-control",
							    Buffer (0x04)
							    {
									 0x01, 0x00, 0x00, 0x00
							    },

Merry Christmas to everyone!

#255
ugokind

ugokind

    InsanelyMac Deity

  • Donators
  • 1,712 posts
  • Gender:Male
  • Location:10100
  • Interests:Apicoltura
    Mac
    Linux
    Homebrew
    Australia
    Spremermilcervello
back again
a good test:
if in the DSDT we annidate PNLF into LCDD device
erasing all the methods .. (as it is in the commond hack dsdt)
end moving the UID "backlight" name in the upper lever.. under the LCDD device
in the end.. I've re sorted all devices in the GFX0 in order to have 1st the LCDD .. then the other.. (DPOD CRT etc...)


here you see what rich is the pnlf device in IOREG

I've restored the original compiled source of ACPIbacklight.. and the log is good.

the slider is still without life.. but I think it's a better use of DSDT

Attached Files



#256
ellnic

ellnic

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 166 posts
  • Gender:Male
  • Location:United Kingdom
  • Interests:Macs :-)
Wow, you guys look like you are really onto something :D I hope everyone had a great Christmas, and here's to a fantastic 2013 :D

#257
ugokind

ugokind

    InsanelyMac Deity

  • Donators
  • 1,712 posts
  • Gender:Male
  • Location:10100
  • Interests:Apicoltura
    Mac
    Linux
    Homebrew
    Australia
    Spremermilcervello
There's not more than a f.a.r.t of a lullaby..
We have still a lot of job..but..
thanks you all
Happynewyear


#258
jeffc2009

jeffc2009

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 229 posts
ugokind, i got this from mac 9, 1. See that you can make of this..


Name (BRTN, Package (0x12)
{
0x50,
0x2F,
0x00,
0x07,
0x0D,
0x14,
0x1B,
0x21,
0x28,
0x2F,
0x35,
0x3C,
0x43,
0x49,
0x50,
0x57,
0x5D,
0x64
})
Method (ABCM, 1, NotSerialized)
{
Store (Arg0, BRTL)
Store (0x02, Local0)
While (LLess (Local0, 0x11))
{
If (LGreaterEqual (DerefOf (Index (BRTN, Local0)), Arg0))
{
Break
}
Increment (Local0)
}
Decrement (Local0)
Decrement (Local0)
ShiftLeft (Local0, 0x04, Local0)
Or (Local0, 0x04, Local0)
Acquire (MUTX, 0xFFFF)
Store (Local0, SSMY)
Store (0xBF, SSMP)
Release (MUTX)
Return (Zero)
}
Method (ABCL, 0, NotSerialized)
{
Store (DerefOf (Index (BRTN, 0x0F)), Index (BRTN, 0x00))
Store (DerefOf (Index (BRTN, 0x0A)), Index (BRTN, 0x01))
Return (BRTN)
}
Device (LCD1)
{
Method (_ADR, 0, Serialized)
{
Return (0x80007400)
}
Method (_BCL, 0, NotSerialized)
{
Return (ABCL ())
}
Method (_BCM, 1, NotSerialized)
{
ABCM (Arg0)
}
Method (_BQC, 0, NotSerialized)
{
Return (BRTL)
}
}

#259
ugokind

ugokind

    InsanelyMac Deity

  • Donators
  • 1,712 posts
  • Gender:Male
  • Location:10100
  • Interests:Apicoltura
    Mac
    Linux
    Homebrew
    Australia
    Spremermilcervello
this is quite different
1st it doesn't contain a (_DOS method. and all the merhods are in the (suppose) gfx0 not inside any of the device as we have.
I try to adapt those into asus..
and another problem is that your attachment has BRTL.. so where is the definition.. retrieve of the value? I must invent!
please send me the complete dsdt
in the meantime I try to invent

[CODEbox]
PCI
|- VGA // Define the VGA controller in the namespace
|- _PS0 / PR0
|- _PS1 / PR1
|- _PS3
|- _DOS // Method to control display output switching
|- _DOD // Method to retrieve information about child output devices
|- _ROM // Method to retrieve the ROM image for this device
|- _GPD // Method for determining which VGA device will post
|- _SPD // Method for controlling which VGA device will post
|- _VPO // Method for determining the post options
|- CRT // Child device CRT
|- _ADR // Hardware ID for this device
|- _DDC // Get EDID information from the monitor device
|- _DCS // Get current hardware status
|- _DGS // Query desired hardware active \ inactive state
|- _DSS // Set hardware active \ inactive state
|- _PS0 \
|- _PS1 - Power methods
|- _PS2 - for the output device
|- _PS3 /
|- LCD // Child device LCD
|- _ADR // Hardware ID for this device
|- _DDC // Get EDID information from the monitor device
|- _DCS // Get current hardware status
|- _DGS // Query desired hardware active \ inactive state
|- _DSS // Set hardware active \ inactive state
|- _BCL // Brightness control levels
|- _BCM // Brightness control method
|- _BQC // Brightness Query Current Level
|- _PS0 \
|- _PS1 - Power methods
|- _PS2 - for the output device
|- _PS3 /
[/CODEbox]

those are the acpi4.0a definitions..

brtl ok
Acquire (MUTX, 0xFFFF)
Error 4058 - Invalid type ^ ([Integer|String|Buffer|DdbHandle|Reference] found, Acquire operator requires [Mutex])

dsdt.dsl 2615: Store (Local0, SSMY)
Error 4084 - Object does not exist ^ (SSMY)

dsdt.dsl 2617: Release (MUTX)
Error 4058 - Invalid type ^ ([Integer|String|Buffer|DdbHandle|Reference] found, Release operator requires [Mutex])

ok
brtl was present already in asus
created name SSMY value 0
commented acquire and release mutex

reboot
no acpi backlight loaded no bar in panel

ok
I restore the bar
respect than before I have in the consolle the correct value between 0 and 100 if I move the bar.
but no effect on the system

I changed:
commend to PNLF retrieve in the acpibacklight driver
inserted NAME CID backlight in the LCD1 device (in order to force load the acpibacklight and has backlights methods (the newer of apple)

the ioreg shows as before an independent ACPI LCD1 in ADR 0x110 under Root and not under Nvidia..
and the display of invidia is (as before) without bcl bcq methods



the bootlog shows:
[CODEbox]
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel::probe()
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel::findDevices()
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel::getGPU()
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: testing device: CPU0
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel::hasDOSMethod()
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: testing device: CPU1
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel::hasDOSMethod()
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: testing device: CPU2
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel::hasDOSMethod()
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: testing device: CPU3
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel::hasDOSMethod()
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: testing device: CPU4
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel::hasDOSMethod()
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: testing device: CPU5
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel::hasDOSMethod()
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: testing device: CPU6
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel::hasDOSMethod()
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: testing device: CPU7
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel::hasDOSMethod()
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: testing device: _SB
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel::hasDOSMethod()
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: testing device: PCI0
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel::hasDOSMethod()
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: testing device: PEG0
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel::hasDOSMethod()
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: testing device: HDAU
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel::hasDOSMethod()
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: testing device: GFX0
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel::hasDOSMethod()
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: ACPI device GFX0 has _DOS
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel::hasBacklightMethods()
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel::getChildWithBacklightMethods()
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel::hasBacklightMethods()
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: ACPI device LCD1 has _BCL
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: ACPI device LCD1 has _BCM
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: ACPI device LCD1 has _BQC
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: Found Backlight Device: LCD1
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: ACPI Method _DOS found. Device path: _SB.PCI0.PEG0.GFX0
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: ACPI Methods _BCL _BCM _BQC found. Device path: _SB.PCI0.PEG0.GFX0.LCD1
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: probe(devices found : true)
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: LCD1 has backlight Methods
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel::start()
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel::findDevices()
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel::getDeviceControl()
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: BIOS control disabled: _DOS
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel::hasSAVEMethod()
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel::setupIndexedLevels()
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel::queryACPISupportedBrightnessLevels()
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: LCD1 _BCL 18
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: getIndexForLevel(87) is 13
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: getIndexForLevel(53) is 8
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel::queryACPICurentBrightnessLevel()
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: queryACPICurentBrightnessLevel _BQC = 9
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: queryACPICurentBrightnessLevel returning 9
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: getIndexForLevel(9) not found in _BCL table !
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel::getACStatus()
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel::getBatteryDevice()
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: getBatteryDevice() serviceMatching OK
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: getBatteryDevice() iter OK
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: getBatteryDevice() bat is of class AppleACPIBatteryDevice
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: getACStatus() AC is 1
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: min = 0, max = 15, value = 13
Jan 2 17:42:52 localhost kernel[0]: ACPIBacklightPanel: Version 1.2
Jan 2 17:43:04 adrem-mac-pro kernel[0]: ACPIBacklightPanel::setDisplay()
Jan 2 17:43:04 adrem-mac-pro kernel[0]: ACPIBacklightPanel::doUpdate()
[/CODEbox]

Attached Files



#260
LatinMcG

LatinMcG

    Insanely digesting DSDT

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,509 posts
  • Gender:Male
  • Location:Tampa, Florida
guys.. use <codebox > to make it scrollable box





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy