Jump to content

Gobol

Members
  • Posts

    1
  • Joined

  • Last visited

Gobol's Achievements

Private

Private (2/17)

0

Reputation

  1. Hello, I've got ux305ca (core m3 6y30), trying to get ALS to work with AsusNBFnKeys v2.6 kext and DSDT patches. Fn+F5/6 working ok, Fn+A ALS on/off ok (via console.app). Problem : When I enable ALS the screen dims to about 1/4 of max value, and just stays there, no matter what current ambient light is. My research : Original DSDT RALS method : Method (RALS, 0, NotSerialized) { If (ALAE) { Store (RRAM (0x02A3), Local0) Store (RRAM (0x02A4), Local1) ShiftLeft (Local0, 0x08, Local0) Add (Local0, Local1, Local0) Multiply (Local0, 0x03E8, Local1) Divide (Local1, ALSA, Local2, Local3) Return (Local3) } Else { Return (0x0190) } } I've patched to : Method (RALS, 0, NotSerialized) { If (ALAE) { Store (RRAM (0x04C9), Local0) And (Local0, 0x0F, Local0) If (LLessEqual (Local0, One)) { Store (0x32, Local1) } Else { If (LLessEqual (Local0, 0x06)) { Store (0xC8, Local1) } Else { If (LLessEqual (Local0, 0x0A)) { Store (0x0190, Local1) } Else { If (LLessEqual (Local0, 0x0E)) { Store (0x0258, Local1) } Else { Store (0x0320, Local1) } } } } Return (Local1) } Else { Return (0xC8) } } I believe there is something wrong with RRAM locations... Dinesh, can you point me into right direction?
×
×
  • Create New...