2 posts up. Just decompile it. iasl -d dsdt.aml
it wont compile back. I need to do some modifications to be able to use it
Please use this dsdt instead:
dsdt_v0.02.dsl.zip 60.86KB
7 downloads
2 posts up. Just decompile it. iasl -d dsdt.aml
dsdt_v0.02.dsl.zip 60.86KB
7 downloads
@quinielascom
try this dsdt:
So... slider works, but not linear or doesn't work? (with last dsdt)
Maybe apple gma driver is messing with brightness registers-not alowing them to change with brightness methods.
* The GMA950 has a backlight control register at offset 0x00061254 in its
* PCI memory space (512K region):
* - bits 0-15 represent the backlight value
* - bits 16 indicates legacy mode is in use when set
* - bits 17-31 hold the max backlight value << 1
* The GMA965 is slightly different; the backlight control register is at
* offset 0x00061250 in its PCI memory space (first 512K in the 1M region):
* - bits 0-15 represent the backlight value
* - bits 16-31 hold the max backlight value
* - bit 30 indicates legacy mode is in use when set
Are u running 64bit?
Standard acer scancodes are: e0 59=up, e0 6f=down.
I own too the same laptop and the same problems with it.Could you open reggie_se and watch those registers?
PhysMem calculation:
1. open pci tab and choose VGA compatible controller
2. open bar key bar0 (0xD0200000 on my laptop)
3. open calc (hex) and add:
bar0+offset(0x00061254)=> on my lap=0xD0261254
bar0+offset(0x00061250)
When you calculated those values, open PhysMem tab and enter those valuse (0xD0261254/0 on my laptop) in 32 bit.
Move slider and watch how these values are changed (for both 0xD0261254, 0xD0261250 mem space)
Brightness only works when PNLF is added and gma driver is patched?
Could you open reggie_se and watch those registers?
PhysMem calculation:
1. open pci tab and choose VGA compatible controller
2. open bar key bar0 (0xD0200000 on my laptop)
3. open calc (hex) and add:
bar0+offset(0x00061254)=> on my lap=0xD0261254
bar0+offset(0x00061250)
When you calculated those values, open PhysMem tab and enter those valuse (0xD0261254/0 on my laptop) in 32 bit.
Move slider and watch how these values are changed (for both 0xD0261254, 0xD0261250 mem space)
Brightness only works when PNLF is added and gma driver is patched?
I could see the second register (bar0+offset(0x00061250)) changing as I change the brightnes and I can also write values to it with reggie_se and the brightness will change accordingly. The first one (bar0+offset(0x00061254)) is always in 0 and it doesnt allow me to write to it (it comes back to 0)
Brightness control works properly when the gma driver is patched (I will try without PNLF device). When the brightness routine is baypassed and I can use F7 and F8 (windows keys) to move the brightness un and down. Off course no on-screen icon/slider, etc
When the driver is not patched I cannot use F7, F8 keys. Instead I can change the brightness with scroll and pause keys; I can see the on-screen icon and the slider also works, but the change is not linear. Only the upper 5% of the slider is linear, which is where the brightness utility I linked works
Do your brightness keys emit scancodes? You could then map them to NX_KEYTYPE_BRIGHTNESS_UP/DOWN in VoodooPS2 and use native onscreen.
Do you have min/max brightness in ioreg? Slider works? On-screen appears if u have your brightness keys mapped in VoodooPS2. For me it also works with SCR LK (FN+12) for down and pause for up.
_____________2010_11_14_5.27.33_PM.png 167.13KB
238 downloads
I own too the same laptop and the same problems with it.
bar0
0xE4400004
bar0+offset(0x00061254)=>0xE4461258
bar0+offset(0x00061250)=>0xE4461254
When moving slider:
at offset 0x00061254 - no changes
at offset 0x00061250
when slider on max:
0x01EE01EE
when slider on min:
0x01EE0000
OperationRegion (BRIT, SystemMemory, 0xE4461258, 0x04) Field (BRIT, AnyAcc, Lock, Preserve) { LEVL, 32 }Method (_INI, 0, NotSerialized) { PINI () Store (0x512C0000, LEVL) }
6.2 with 6 buttons. 32bit only, modified for my acer.
http://www.mediafire.com/?sqe3ac7ng69wgjj
0 members, 1 guests, 0 anonymous users