RehabMan Posted October 31, 2013 Share Posted October 31, 2013 I have try with MaciASL, there are no error. thank you attach my DSDT below. IOReg dump: https://www.dropbox.com/s/zzn3pm134c1mxyl/iDer.ioreg.zip Your ioreg file is corrupt (use IORegistryExplorer v2.1). The DSDT is already patched (need native DSDT). Link to comment Share on other sites More sharing options...
wrk73 Posted October 31, 2013 Share Posted October 31, 2013 Sorry, I use IORegistryExplorer v3.0 Reattach DSDT (Extracted from windows) IOReg 2.1 dump: https://www.dropbox.com/s/0q6y966ukcdlrlu/wrk73_v2.1.ioreg.zip thank you! DSDT.aml.zip Link to comment Share on other sites More sharing options...
RehabMan Posted November 1, 2013 Share Posted November 1, 2013 Sorry, I use IORegistryExplorer v3.0 Reattach DSDT (Extracted from windows) IOReg 2.1 dump: https://www.dropbox.com/s/0q6y966ukcdlrlu/wrk73_v2.1.ioreg.zip thank you! You need to send an ioreg when it is giving you that message. The one you sent looks like the laptop was plugged in and fully charged at the time. BTW: IORegistryExplorer 3.0 cannot read the files it creates. That's one of of the reasons (the main reason) I don't use it. The other is that the output in the right side (property list) is not sorted by property name. Annoying. Also, you should probably patch your DSDT with "AC Adapter Fix" Link to comment Share on other sites More sharing options...
Yum Posted November 3, 2013 Share Posted November 3, 2013 Hi rehab, your patch works flawlessy, no one problem. Thanks I have a question, fn f2 fn f3 don't work for brightness, so i decided to start to use your voodoops2, really good driver, really, but i don't understand how remap these keys because i not founded a guide. Sorry. If i use your fakesmc kozlek fork what i can give you for purpose? i mean, can you add my hp to your keyboard plist in that kext in some way? I can make all tries, but i need a guide. For example if it's possible to off wifi from fn keys but this last is not really important honestly. For example, brightness up now it's working with fn + shift (on right) LOL Thanks if you can help me also with these skills dsdt http://d-h.st/PGt Link to comment Share on other sites More sharing options...
RehabMan Posted November 3, 2013 Share Posted November 3, 2013 Hi rehab, your patch works flawlessy, no one problem. Thanks I have a question, fn f2 fn f3 don't work for brightness, so i decided to start to use your voodoops2, really good driver, really, but i don't understand how remap these keys because i not founded a guide. Sorry. If i use your fakesmc kozlek fork what i can give you for purpose? i mean, can you add my hp to your keyboard plist in that kext in some way? I can make all tries, but i need a guide. For example if it's possible to off wifi from fn keys but this last is not really important honestly. For example, brightness up now it's working with fn + shift (on right) LOL Thanks if you can help me also with these skills dsdt http://d-h.st/PGt Off topic, but... See the wiki: https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller/wiki You will need to determine if Fn+F2 and Fn+F3 generate scan codes. If they don't then they are likely handled by WMI/ACPI and it won't work to remap via the PS2 driver. 1 Link to comment Share on other sites More sharing options...
Yum Posted November 3, 2013 Share Posted November 3, 2013 Off topic, but... See the wiki: https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller/wiki You will need to determine if Fn+F2 and Fn+F3 generate scan codes. If they don't then they are likely handled by WMI/ACPI and it won't work to remap via the PS2 driver. Ok, sorry i have not founded a right topic for this your kext, btw they have scan codes because if i use a usb keyboard then in keyboard prefpane i have the possibility to set fnf2 and fnf3 with brightness, but i want avoid the need to use a usb keyboard to shown the video options for those two keys. Edit: maybe not, only F1 F2 have scan code, fn+F1 and fn+F2 not Maybe WMI/ACPI? _but in dsdt i not see any known WMI for HP, i am confuse... Now i try with debug version: F1 = 3b=7a F2 = 3c=78 F3 = 3d=63 F4 = 3e=76 F5 = 3f=60 F6 = 40=61 F7 = 41=62 F8 = 42=64 F9 = 43=65 F10 = 44=6d F11 = 57=67 F12 = 58=6f Fn + F1 = e05b=3a Fn + F2 = nothing! Fn + F3 = nothing! Fn + F4 = 1923 Fn + F5 = nothing! Fn + F6 = e010=4d Fn + F7 = e022=34 Fn + F8 = e019=42 Fn + F9 = e02e=49 Fn + F10 = e030=48 Fn + F11 = e020=4a Fn + F12 = nothing! F1= There is an ? F2= brightness down F3= brightness up F4= probably to switch on vga F5= really for nothing F6= trace back F7= pause trace F8= trace forward F9= volume down F10= volume up F11= volume mute F12= wifi on/off Not working: brightness and wifi Working: Fn + SHIFT RIGHT= e045=71 for brightness up Ok, for example now if i want to remap brightness up and down, what exactly i must do to make coincide F2F3 with brightness? Thank you Link to comment Share on other sites More sharing options...
RehabMan Posted November 3, 2013 Share Posted November 3, 2013 That's what I mean... They do not generate scan codes: Fn + F2 = nothing! Fn + F3 = nothing! Fn + F5 = nothing! BTW, was this a typo? Fn + F4 = 1923 You could certainly remap your Fkeys (without Fn), but then you'll lose the capability to press F2, F3, F5 (some apps might use those for keyboard shortcuts). It is a choice you can make. I'm certain these keys are actually handled by ACPI/WMI, so you could go that route. And please open a new thread for this offtopic... 1 Link to comment Share on other sites More sharing options...
Yum Posted November 3, 2013 Share Posted November 3, 2013 That's what I mean... They do not generate scan codes: BTW, was this a typo? You could certainly remap your Fkeys (without Fn), but then you'll lose the capability to press F2, F3, F5 (some apps might use those for keyboard shortcuts). It is a choice you can make. I'm certain these keys are actually handled by ACPI/WMI, so you could go that route. And please open a new thread for this offtopic... Done here http://www.insanelymac.com/forum/topic/293526-remap-keys/ Can you help me with patience if you can buddy? Thank you Link to comment Share on other sites More sharing options...
Yum Posted November 4, 2013 Share Posted November 4, 2013 Rehab i have seen that your battery patch remove completely this device Name (_HID, "PNP0C14")In the other thread i have written this. Is there possibilty to keep that device but with batery patch? Link to comment Share on other sites More sharing options...
RehabMan Posted November 4, 2013 Share Posted November 4, 2013 Rehab i have seen that your battery patch remove completely this device Name (_HID, "PNP0C14")[/size] In the other thread i have written this. Is there possibilty to keep that device but with batery patch?[/size] That is the WMI device. Only used by Windows. Why do you want to keep it? For this patch it was easier to remove it as there would be a lot more to fix/patch if you want to keep it. 1 Link to comment Share on other sites More sharing options...
Yum Posted November 5, 2013 Share Posted November 5, 2013 That is the WMI device. Only used by Windows. Why do you want to keep it? For this patch it was easier to remove it as there would be a lot more to fix/patch if you want to keep it. Now i have seen that with PNP0C14 not removed in new patch Fn + F12 for wifi on/off works again! Like in Windows! Amazing!! Thanks for new patch ;-) Well done Link to comment Share on other sites More sharing options...
Joni_78 Posted December 30, 2013 Share Posted December 30, 2013 Could someone help with the DSDT part for my HP 8570p? DSDT DSDT.aml.zip IOReg ioreg.zip Link to comment Share on other sites More sharing options...
Joni_78 Posted December 30, 2013 Share Posted December 30, 2013 @rehabman I tried your patch "battery_HP-ProBook-Generic.txt" for my 8570p. Battery icon works and shows when plugged into into AC but charge level is always 0% when I unplug AC. I noticed that for 8570p I should use ProBook 4530s patch repo instead, but can't find it. Could you point me to the correct file? Link to comment Share on other sites More sharing options...
RehabMan Posted December 30, 2013 Share Posted December 30, 2013 @rehabman I tried your patch "battery_HP-ProBook-Generic.txt" for my 8570p. Battery icon works and shows when plugged into into AC but charge level is always 0% when I unplug AC. I noticed that for 8570p I should use ProBook 4530s patch repo instead, but can't find it. Could you point me to the correct file? See: https://github.com/RehabMan/HP-ProBook-4x30s-DSDT-Patch Link to comment Share on other sites More sharing options...
Joni_78 Posted December 30, 2013 Share Posted December 30, 2013 See: https://github.com/RehabMan/HP-ProBook-4x30s-DSDT-Patch Thanks I'll try that patch Link to comment Share on other sites More sharing options...
Joni_78 Posted December 30, 2013 Share Posted December 30, 2013 See: https://github.com/RehabMan/HP-ProBook-4x30s-DSDT-Patch Works beautifully, thank you BTW, is that AppleACPIBatteryManager.kext.zip in the first page patched kext or homemade, also is it up to date version? Edit: Also do you have a compatible DSDT patch to fix the brightness? Link to comment Share on other sites More sharing options...
RehabMan Posted December 30, 2013 Share Posted December 30, 2013 Works beautifully, thank you BTW, is that AppleACPIBatteryManager.kext.zip in the first page patched kext or homemade, also is it up to date version? Edit: Also do you have a compatible DSDT patch to fix the brightness? The battery manager is open source (originally based on code provided by Apple). I use my own version of this battery manager: https://github.com/RehabMan/OS-X-ACPI-Battery-Driver For brightness, the latest technique is here: https://github.com/RehabMan/OS-X-ACPI-Backlight. Make sure you follow the links and read everything. Link to comment Share on other sites More sharing options...
Joni_78 Posted December 30, 2013 Share Posted December 30, 2013 The battery manager is open source (originally based on code provided by Apple). I use my own version of this battery manager: https://github.com/RehabMan/OS-X-ACPI-Battery-Driver For brightness, the latest technique is here: https://github.com/RehabMan/OS-X-ACPI-Backlight. Make sure you follow the links and read everything. Your fork of ACPI Battery Manager seems to work really well, reacts fast too. Does backlight still decrease when you unplug AC with ACPI backlight kext or is it 100% all the time? Link to comment Share on other sites More sharing options...
RehabMan Posted December 30, 2013 Share Posted December 30, 2013 Your fork of ACPI Battery Manager seems to work really well, reacts fast too. Does backlight still decrease when you unplug AC with ACPI backlight kext or is it 100% all the time? It should adjust once AC adapter status is detected as changed. This is actually something that the system does, not ACPIBacklight. What I mean is that ACPIBacklight does not track AC status and modify the backlight level. The system does that and informs ACPIBacklight to change the current backlight level to a new value. Open SysPrefs->Displays to see if the slider moves as you plug/unplug AC adapter. Link to comment Share on other sites More sharing options...
Joni_78 Posted December 31, 2013 Share Posted December 31, 2013 It should adjust once AC adapter status is detected as changed. This is actually something that the system does, not ACPIBacklight. What I mean is that ACPIBacklight does not track AC status and modify the backlight level. The system does that and informs ACPIBacklight to change the current backlight level to a new value. Open SysPrefs->Displays to see if the slider moves as you plug/unplug AC adapter. Slider moves when I plug/unplug AC adapter but there is no visible change in backlight. Also if I manually move the slider, nothing happens. Without ACPIBacklight.kext it works fine, except that the backlight is not 100% when I reboot. I wonder if there is some bug specific to my laptop? Link to comment Share on other sites More sharing options...
RehabMan Posted December 31, 2013 Share Posted December 31, 2013 Slider moves when I plug/unplug AC adapter but there is no visible change in backlight. Also if I manually move the slider, nothing happens. Without ACPIBacklight.kext it works fine, except that the backlight is not 100% when I reboot. I wonder if there is some bug specific to my laptop? It means your DSDT methods for backlight are not working; it is not uncommon. Did you follow all links and research the DSDT patches necessary, gather your data range under Windows with RW-Everything, etc? If you don't know what I'm talking about, you didn't read enough. Link to comment Share on other sites More sharing options...
Joni_78 Posted December 31, 2013 Share Posted December 31, 2013 It means your DSDT methods for backlight are not working; it is not uncommon. Did you follow all links and research the DSDT patches necessary, gather your data range under Windows with RW-Everything, etc? If you don't know what I'm talking about, you didn't read enough. You mean for my original DSDT or when I applied the battery patch into my DSDT? Link to comment Share on other sites More sharing options...
RehabMan Posted December 31, 2013 Share Posted December 31, 2013 You mean for my original DSDT or when I applied the battery patch into my DSDT? I'm talking about DSDT methods related to backlight (_BCL/_BQC/_BCM). Unrelated to battery methods. This is off-topic. Backlight issues would be better discussed here: http://www.insanelymac.com/forum/topic/268219-acpi-backlight-driver/ Link to comment Share on other sites More sharing options...
Joni_78 Posted January 1, 2014 Share Posted January 1, 2014 I'm talking about DSDT methods related to backlight (_BCL/_BQC/_BCM). Unrelated to battery methods. This is off-topic. Backlight issues would be better discussed here: http://www.insanelymac.com/forum/topic/268219-acpi-backlight-driver/ I Didn't know ACPIBacklight.kext needed DSDT patching. Thanks, I'll take a look at that thread. Link to comment Share on other sites More sharing options...
RehabMan Posted January 1, 2014 Share Posted January 1, 2014 I Didn't know ACPIBacklight.kext needed DSDT patching. Thanks, I'll take a look at that thread. They are needed when the DSDT methods provided by the OEM aren't functional. See the README at github... follow the links. Link to comment Share on other sites More sharing options...
Recommended Posts