Jump to content
zoliky

Notebook: FN Key and Shutdown Patch

Recommended Posts

Hello, I have a HP Probook 4540s laptop. It's a very versatile notebook and OS X works like a charm.


I think my Function Key (I have only one on the keybord) works out of the box. What I mean is this: I press FN+F1 and notebook goes to sleep. I press FN+F9 and volume increases. And so on.


My question is: Do I need this patch ?

 

# Enable functions keys
into device label PS2K insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
   Store (Package (0x02)\n
       {\n
           "AAPL,has-embedded-fn-keys", \n
           Buffer (0x04)\n
           {\n
               0x01, 0x00, 0x00, 0x00\n
           }\n
       }, Local0)\n
   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
   Return (Local0)\n
}\n
end;

 

As I mentioned earlier, my function key works without that patch.


Another question, here's the shutdown fix:

#  Shutdown fix
into method label _PTS code_regex_not If\s\(LEqual\s\(Arg0,\s0x05\)\) code_regex ^((?:.|\n)*)$ replace_matched
begin
       If (LEqual (Arg0, 0x05)) {}\n
       Else\n
       {\n
%1
       }
end;

 

Both FN key and Shutdown patch are in the laptop section on Olarila.

I never experienced problems with shutdown, so I need that shutdown patch? What does that shutdown patch really do?


Any suggestion would be greatly appreciated. Thank you!

Edited by Guest
Link to comment
Share on other sites

Hello,


if things work without the patches, you surely don't need them.

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.





×
  • Create New...