Jump to content
InsanelyMac Forum

jamezelle

Members
  • Content count

    26
  • Joined

  • Last visited

About jamezelle

  • Rank
    InsanelyMac Protégé
  1. jamezelle

    nVidia GTX 570 or AMD 6950

    I wouldn't get an nvidia right now, too many issues.
  2. jamezelle

    GTX 460 1gb random freeze after patch

    Yea the latest nvidia drivers suck....freezes on my 460m same errors.
  3. All I can say is try the latest USB 3.0 driver in [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] 4.1, as it has been updated.
  4. jamezelle

    Asus G53 Snow lepoard install

    Anyone manage to get screen brightness control working yet?
  5. jamezelle

    The Fermi "Freeze" Discussion (Possible solutions?)

    Doesn't matter what i run, flash or not. Still get this random freezes in 10.7.2 also.
  6. jamezelle

    ACPI Backlight Driver

    depending on what keyboard kext your using you can use fn pause and fn scroll lock to toggle brightness but of course it doesnt actually do anything for us. for you volume controls you can use AsusHotkeys.kext it will also enable itunes controls, google for it.
  7. jamezelle

    ACPI Backlight Driver

    Yea same here, our asus' have something irregular going on.By the way that setting seems to not actually change anything It might be a bug in the kext The setting in IOReg still shows false. That is after a rebuild of the caches and a reboot of course. Edit: after another reboot its showing true now.
  8. jamezelle

    ACPI Backlight Driver

    Ive been playing with my DSM method and putting the injection stuff were we put yours makes it never get injected, because one of the other if statments returns before it gets to the injection, you can put it at the beginning of the DSM method but then the if statements do not get called, so I don't know what to do. I don't know if those If statements are important or not. Regardless of where i put the injection code and what I change I cannot get brigntness to change @HotKoffy I tried setting OSFG to OSW7 for Darwin, I have noticed a difference in that I can no longer change brightness as soon after the dsdt is loaded (apple logo) where as before I could change brightness until the Nvidia driver is loaded (when the display flickers and mouse cursor shows).
  9. jamezelle

    ACPI Backlight Driver

    Yea I'm getting that same error but its getIndexForLevel(4) not found in _BCL table! did you set index to true in the Info.plist for the acpibacklight kext?
  10. jamezelle

    ACPI Backlight Driver

    You should be able to remove the Zero, Zero return values at the bottom and change the package size to 0x0C and then put the values inside that like this Method (_DSM, 4, Serialized) { Name (T_0, Zero) If (LEqual (Arg0, Buffer (0x10) { /* 0000 */ 0x75, 0x0B, 0xA5, 0xD4, 0xC7, 0x65, 0xF7, 0x46, /* 0008 */ 0xBF, 0xB7, 0x41, 0x51, 0x4C, 0xEA, 0x02, 0x44 })) { While (One) { Store (ToInteger (Arg2), T_0) If (LEqual (T_0, Zero)) { Return (Buffer (0x04) { 0x33, 0x00, 0x50, 0x00 }) } Else { If (LEqual (T_0, One)) { If (PA3D) { Return (Buffer (0x04) { 0x00, 0x04, 0x00, 0x00 }) } Else { If (NA3D) { Return (Buffer (0x04) { 0x00, 0x04, 0x00, 0x00 }) } } Return (Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 }) } Else { If (LEqual (T_0, 0x04)) { ShiftRight (ToInteger (Arg3), 0x1C, Local0) If (And (Local0, 0x04)) {} Else { Return (Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 }) } And (Local0, 0x03, Local1) If (^^^SBRG.EC0.SW3D) { Store (Zero, ^^^SBRG.EC0.SW3D) If (Local1) { ^^^^ATKD.IANE (0x5A) Return (Buffer (0x04) { 0x00, 0x00, 0x00, 0x40 }) } Else { ^^^^ATKD.IANE (0x59) Return (Buffer (0x04) { 0x00, 0x00, 0x00, 0x60 }) } } If (Local1) { Return (Buffer (0x04) { 0x00, 0x00, 0x00, 0x60 }) } Return (Buffer (0x04) { 0x00, 0x00, 0x00, 0x40 }) } Else { If (LEqual (T_0, 0x05)) { And (ToInteger (Arg3), 0x0FFF, Local1) And (ToInteger (Arg3), 0x00FFF000, Local2) ShiftRight (Local2, 0x0C, Local2) If (LEqual (CHA1, One)) { Store (One, CHA3) Store (Local1, AVLD) Store (Local2, ACTD) } Store (Zero, CHA1) Store (Zero, CHA2) Return (Zero) } Else { If (LEqual (T_0, 0x14)) { Return (Package (0x09) { 0x0110, 0x0400, Zero, Zero, One, One, 0xC8, Zero, 0x03E8 }) } Else { If (LEqual (T_0, 0x16)) { If (NA3D) { If (LEqual (ToInteger (Arg3), One)) { Return (TLKY) } Return (TLKY) } Else { If (LEqual (ToInteger (Arg3), One)) { Return (LKY4) } Return (LKY3) } } Else { } } } } } } Break } } Store (Package (0x0C) { "AAPL,HasPanel", Buffer (0x04) { 0x01, 0x00, 0x00, 0x00 }, "AAPL,Haslid", Buffer (0x04) { 0x01, 0x00, 0x00, 0x00 }, "AAPL,backlight-control", Buffer (0x04) { 0x01, 0x00, 0x00, 0x00 }, "@0,backlight-control", Buffer (0x04) { 0x01, 0x00, 0x00, 0x00 }, "@0,AAPL,boot-display", Buffer (0x04) { 0x01, 0x00, 0x00, 0x00 }, "@0,built-in", Buffer () { One } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } }
  11. jamezelle

    ACPI Backlight Driver

    You should put it in the _DSM method of your PCI0.PEG0.GFX0 device. But I'm still not sure if your laptop is using DPOD or LCDD as the display. Here is an example of my _DSM method for my GFX0 device, I still do not have brightness working but I am working on it... Method (_DSM, 4, NotSerialized) { Store (Package (0x0C) "AAPL,HasPanel", Buffer (0x04) { 0x01, 0x00, 0x00, 0x00 }, "AAPL,Haslid", Buffer (0x04) { 0x01, 0x00, 0x00, 0x00 }, "AAPL,backlight-control", Buffer (0x04) { 0x01, 0x00, 0x00, 0x00 }, "@0,backlight-control", Buffer (0x04) { 0x01, 0x00, 0x00, 0x00 }, "@0,AAPL,boot-display", Buffer (0x04) { 0x01, 0x00, 0x00, 0x00 }, "@0,built-in", Buffer () { One }, }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } my default _DSM method had some checks for 3D panel, which I do not have so I removed those checks and added the injection code.
  12. jamezelle

    ACPI Backlight Driver

    Tried this also, brightness does not actually change on the screen, I think the Nvidia driver is blocking the change for the brightness to the screen.
  13. jamezelle

    ACPI Backlight Driver

    Ok, getting closer I think. now its reporting the correct brighness in ioreg when I move the slider but the brightness does not actually change on the screen, I suspect its not going to work . Maybe BCM isnt commiting the values correctly or perhaps the Nvidia driver is blocking it maybe? EC0 Device is loaded in ioreg Current DSDT: dsdt.dsl.zip For quick reference here are my brightness methods: Method (_BCL, 0, NotSerialized) { DBGR ("\n_BCL: ") Return (PCTG) } Name (BCBH, Zero) Method (_BCM, 1, NotSerialized) { DBGR ("\n_BCM: ") DBGR (Arg0) Store (GCBL (Arg0), Local0) Subtract (0x0A, Local0, LBTN) DBGR ("\n LBTN = ") DBGR (LBTN) ^^^^SBRG.EC0.STBR () } Method (_BQC, 0, NotSerialized) { Store (LBTN, Local0) Store (BRTI, Local1) ShiftLeft (Local1, 0x04, Local1) Add (Local0, Local1, Local1) Store (DerefOf (Index (^^^^SBRG.EC0.PWAC, Local1)), Local0) Return (Local0) } Kernel Log (grep ACPiBack) Oct 18 22:59:47 localhost kernel[0]: ACPIBacklightPanel::probe() Oct 18 22:59:47 localhost kernel[0]: ACPIBacklightPanel::findDevices() Oct 18 22:59:47 localhost kernel[0]: ACPIBacklightPanel::hasBacklightMethods() Oct 18 22:59:47 localhost kernel[0]: ACPIBacklightPanel: ACPI device PNLF has _BCL Oct 18 22:59:47 localhost kernel[0]: ACPIBacklightPanel: ACPI device PNLF has _BCM Oct 18 22:59:47 localhost kernel[0]: ACPIBacklightPanel: ACPI device PNLF has _BQC Oct 18 22:59:47 localhost kernel[0]: ACPIBacklightPanel: PNLF has backlight Methods Oct 18 22:59:47 localhost kernel[0]: ACPIBacklightPanel: ACPI Methods _DOS _BCL _BCM _BQC found. Device path: _SB.PNLF Oct 18 22:59:47 localhost kernel[0]: ACPIBacklightPanel: probe(devices found : true) Oct 18 22:59:47 localhost kernel[0]: ACPIBacklightPanel: PNLF has backlight Methods Oct 18 22:59:47 localhost kernel[0]: ACPIBacklightPanel::start() Oct 18 22:59:47 localhost kernel[0]: ACPIBacklightPanel::findDevices() Oct 18 22:59:47 localhost kernel[0]: ACPIBacklightPanel::getDeviceControl() Oct 18 22:59:47 localhost kernel[0]: ACPIBacklightPanel: BIOS control disabled: _DOS Oct 18 22:59:47 localhost kernel[0]: ACPIBacklightPanel::setupIndexedLevels() Oct 18 22:59:47 localhost kernel[0]: ACPIBacklightPanel::queryACPISupportedBrightnessLevels() Oct 18 22:59:47 localhost kernel[0]: ACPIBacklightPanel: PNLF _BCL 13 Oct 18 22:59:47 localhost kernel[0]: ACPIBacklightPanel: getIndexForLevel(36) is 3 Oct 18 22:59:47 localhost kernel[0]: ACPIBacklightPanel: getIndexForLevel(72) is 7 Oct 18 22:59:47 localhost kernel[0]: ACPIBacklightPanel::queryACPICurentBrightnessLevel() Oct 18 22:59:47 localhost kernel[0]: ACPIBacklightPanel: queryACPICurentBrightnessLevel _BQC = 167 Oct 18 22:59:47 localhost kernel[0]: ACPIBacklightPanel: getIndexForLevel(167) not found ! Oct 18 22:59:47 localhost kernel[0]: ACPIBacklightPanel: getBatteryDevice() matching not null Oct 18 22:59:47 localhost kernel[0]: ACPIBacklightPanel: min = 0, max = 10, value = 3 Oct 18 22:59:47 localhost kernel[0]: ACPIBacklightPanel: Version 1.1 Oct 18 23:00:15 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel::setDisplay() Oct 18 23:00:15 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel::doUpdate() Oct 18 23:00:15 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel: ACPILevel min 0, max 10, value 3 Oct 18 23:00:15 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel::doUpdate() Oct 18 23:00:15 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel: ACPILevel min 0, max 10, value 3 Oct 18 23:00:15 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness) Oct 18 23:00:15 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel() Oct 18 23:00:15 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(36) Oct 18 23:00:15 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness) Oct 18 23:00:15 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel() Oct 18 23:00:15 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(36) Oct 18 23:00:16 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel::doUpdate() Oct 18 23:00:16 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel: ACPILevel min 0, max 10, value 3 Oct 18 23:00:16 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness) Oct 18 23:00:16 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel() Oct 18 23:00:16 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(36) Oct 18 23:00:16 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel::doIntegerSet(commit) Oct 18 23:00:17 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness) Oct 18 23:00:17 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel() Oct 18 23:00:17 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(36)
  14. jamezelle

    ACPI Backlight Driver

    Thanks for the idea! The values were pointing to the wrong device(\_SB.PEG1.GFX0.LCDD instead of the correct one which is \_SB.PEG3.GFX0.LCDD), and I just fixed the paths by setting the path to the methods of my LCD in the PNLF Device, but the slider is still not changing the brightness. I can change the brightness before it enters the system and when i do it reports the value i change it to (max is 0xa, when I turned the brightness down, but not all the way and it reported 0x3) So like you said it sems to be reporting indexes of the brightness levels instead of the actual levels. Could that be a problem? Is there a way I could try to have _BCM set values of 0x0 through 0xa ? maybe from the terminal? Kernel Log: Oct 17 17:13:12 localhost kernel[0]: ACPIBacklightPanel::probe() Oct 17 17:13:12 localhost kernel[0]: ACPIBacklightPanel::findDevices() Oct 17 17:13:12 localhost kernel[0]: ACPIBacklightPanel::hasBacklightMethods() Oct 17 17:13:12 localhost kernel[0]: ACPIBacklightPanel: ACPI device PNLF has _BCL Oct 17 17:13:12 localhost kernel[0]: ACPIBacklightPanel: ACPI device PNLF has _BCM Oct 17 17:13:12 localhost kernel[0]: ACPIBacklightPanel: ACPI device PNLF has _BQC Oct 17 17:13:12 localhost kernel[0]: ACPIBacklightPanel: PNLF has backlight Methods Oct 17 17:13:12 localhost kernel[0]: ACPIBacklightPanel: ACPI Methods _DOS _BCL _BCM _BQC found. Device path: _SB.PNLF Oct 17 17:13:12 localhost kernel[0]: ACPIBacklightPanel: probe(devices found : true) Oct 17 17:13:12 localhost kernel[0]: ACPIBacklightPanel: PNLF has backlight Methods Oct 17 17:13:12 localhost kernel[0]: ACPIBacklightPanel::start() Oct 17 17:13:12 localhost kernel[0]: ACPIBacklightPanel::findDevices() Oct 17 17:13:12 localhost kernel[0]: ACPIBacklightPanel::getDeviceControl() Oct 17 17:13:12 localhost kernel[0]: ACPIBacklightPanel: BIOS control disabled: _DOS Oct 17 17:13:12 localhost kernel[0]: ACPIBacklightPanel::setupIndexedLevels() Oct 17 17:13:12 localhost kernel[0]: ACPIBacklightPanel::queryACPISupportedBrightnessLevels() Oct 17 17:13:12 localhost kernel[0]: ACPIBacklightPanel: PNLF _BCL 13 Oct 17 17:13:12 localhost kernel[0]: ACPIBacklightPanel: getIndexForLevel(36) is 3 Oct 17 17:13:12 localhost kernel[0]: ACPIBacklightPanel: getIndexForLevel(72) is 7 Oct 17 17:13:12 localhost kernel[0]: ACPIBacklightPanel::queryACPICurentBrightnessLevel() Oct 17 17:13:12 localhost kernel[0]: ACPIBacklightPanel: queryACPICurentBrightnessLevel _BQC = 8 Oct 17 17:13:12 localhost kernel[0]: ACPIBacklightPanel: getIndexForLevel(8) not found ! Oct 17 17:13:12 localhost kernel[0]: ACPIBacklightPanel: getBatteryDevice() matching not null Oct 17 17:13:12 localhost kernel[0]: ACPIBacklightPanel: min = 0, max = 10, value = 3 Oct 17 17:13:12 localhost kernel[0]: ACPIBacklightPanel: Version 1.1 Oct 17 17:13:37 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel::setDisplay() Oct 17 17:13:37 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel::doUpdate() Oct 17 17:13:37 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel: ACPILevel min 0, max 10, value 3 Oct 17 17:13:37 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel::doUpdate() Oct 17 17:13:37 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel: ACPILevel min 0, max 10, value 3 Oct 17 17:13:37 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness) Oct 17 17:13:37 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel() Oct 17 17:13:37 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(36) Oct 17 17:13:37 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness) Oct 17 17:13:37 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel() Oct 17 17:13:37 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(36) Oct 17 17:13:38 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel::doUpdate() Oct 17 17:13:38 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel: ACPILevel min 0, max 10, value 3 Oct 17 17:13:38 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel::doIntegerSet(brightness) Oct 17 17:13:38 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel::setACPIBrightnessLevel() Oct 17 17:13:38 Jamezelles-Mac-Pro kernel[0]: ACPIBacklightPanel: setACPIBrightnessLevel _BCM(36) Any more ideas? Thanks for all your help.
  15. jamezelle

    Help with alc269 acer 5820tg

    Does anything work with voodoohda kext? sound, mic, anything at all?
×