Jump to content
30 posts in this topic

Recommended Posts

My brightness key on my keyboard are fn+arrowup and fn+arrowdown key. Currently, it's remapped to fn+insert and fn+f3 key. Is there a way to fix this? Thanks

More info:

I tried ACPIDebug and it always log EC _Q66 for all keyboard hotkeys

In the Attachment, there are the info.plist of voodoops2keyboard which I found many mapping there and also my DSDT.aml (Which patched by guys from osxlatitude forum).

Archive.zip

 

 

Link to comment
https://www.insanelymac.com/forum/topic/330190-dell-keyboard-hotkeys-remapping/
Share on other sites

Can you attach your DSDT from origin? Which version of VoodooPS2Controller are you using?

VoodooPS2Controller: http://forum.osxlatitude.com/index.php?/topic/8285-refined-alps-touchpad-driver/page-48&do=findComment&comment=65797

I think I use the latest Keyboard plugin from Rehabman 

Origin DSDT:origin.zip

Thank you very much

P/s: A few other hotkeys: 

Fn+F1:Sleep

Fn+F2:Numlock

Fn+F3:Scroll lock

Fn+F10: Previous track?

Fn+F11:Play/pause

Fn+f12:Next Track?

 

P/s2:A little about system hardware(anything that I think you will need):

Motherboard: AMIBIOS?

CPU+GPU:IvyBridge i7 

Intel HD 4000:

 

  Chipset Model: Intel HD 4000

  Type: GPU

  Bus: Built-In

  VRAM (Dynamic, Max): 1536 MB

  Vendor: Intel

  Device ID: 0x0166

  Revision ID: 0x0009

  Metal: Supported, feature set macOS GPUFamily1 v3

  Displays:

Display:

  Resolution: 1366 x 768 @ 60 Hz

  Framebuffer Depth: 24-Bit Color (ARGB8888)

  Main Display: Yes

  Mirror: Off

  Online: Yes

  Rotation: Supported

  Automatically Adjust Brightness: No

 

Sound: IDT92HD93

Intel 82579LM PCI Express Gigabit Ethernet, rebranded BCM4322(DW1510) 

Laptop_Integrated_Webcam_E4HD:

 

  Model ID: UVC Camera VendorID_3141 ProductID_25663

  Unique ID: 0x1a1500000c45643f

 

Supposing that you have a working brightness slider in System Preferences.

Try this version of VoodooPS2Controller.kext: https://bitbucket.org/RehabMan/os-x-voodoo-ps2-controller/downloads/RehabMan-Voodoo-2017-1130.zip

It maps brightness keys to F14 and F15. The other hotkeys should work OOB.

Your _Q66 Method calls NEVT Method which calls EVxx Methods. Try to debug brightness hotkeys with this DSDT.

DSDT.aml.zip

Supposing that you have a working brightness slider in System Preferences.

Try this version of VoodooPS2Controller.kext: https://bitbucket.org/RehabMan/os-x-voodoo-ps2-controller/downloads/RehabMan-Voodoo-2017-1130.zip

It maps brightness keys to F14 and F15. The other hotkeys should work OOB.

Your _Q66 Method calls NEVT Method which calls EVxx Methods. Try to debug brightness hotkeys with this DSDT.

Here is the result for both up and down brightness hotkey: 

ACPIDebug: "EC _Q66 enter"

ACPIDebug: "EV4 (0x0800,Zero)"

 

Here is the Log of ApplePS2Keyboard with LogScanCode 1

Arrow up:ApplePS2Keyboard: sending key e048=7e down

Arrow Down: ApplePS2Keyboard: sending key e050=7d down

P/s: I don't use any Backlight kext from Rehabman or from any other hackintohser. I use native one, untouched from Apple.

 

See my guide for Dell Laptop. The link is in my signature.

Briefly

1. I don't use any Brightness kext.

2. I don't patch DSDT for brightness.

3. Brightness hot keys are F1 and F2 as it should be for real Mac.

4. My version of VoodooPS2Keyboard + VoodooPS2Trackpad by DrHurt.

I have full brightness control for both cases Optimus=Enable/Disable.

See my guide for Dell Laptop. The link is in my signature.

Briefly

1. I don't use any Brightness kext.

2. I don't patch DSDT for brightness.

3. Brightness hot keys are F1 and F2 as it should be for real Mac.

4. My version of VoodooPS2Keyboard + VoodooPS2Trackpad by DrHurt.

I have full brightness control for both cases Optimus=Enable/Disable.

But The problem is the Fn+F1 key will hibernate the Operating system. When I boot up again, It completely freezed

Could you please enable that from my DSDT please? I couldn't find anywhere to insert the patch. Thanks

attachicon.gifDSDT.dsl.zip

We've made a working code with Rehabman but since Sierra it becomes useless. It's an known issue, the brightness up key lowers also the volume.

The EC query _Q66 is the right place but only useful @10.11 and earlier.

Could you please enable that from my DSDT please? I couldn't find anywhere to insert the patch. Thanks

attachicon.gifDSDT.dsl.zip

You have removed the WMI code from this DSDT, but it is needed for the brightness key fix. If you upload a DSDT with the WMI part I'll add the code to it, also a kext by Dr Hurt (which you're probably use) with the ADB Map fix.

 

No such issue in current macOS 10.12.6/10.13.x.

No more!

You've changed the ADB codes on your VoodooPS2.kext, but your trackpad code does not support ALPS trackpads. I think the most ALPS user are using Dr Hurts kext without changed ADB codes.

You have removed the WMI code from this DSDT, but it is needed for the brightness key fix. If you upload a DSDT with the WMI part I'll add the code to it, also a kext by Dr Hurt (which you're probably use) with the ADB Map fix.

The ADB mapping of the kext was untouched.

P/s: the kext in the Archive.zip may be touched without intention, Please get the original one from http://forum.osxlati...e-48#entry65797 Thanks

I have re-added some AMW code from the original dsdt to the one i sent you.

Archive.zip

Trying to patch DSDT myself. The brightness are now only controlled by the FN+F3 and FN+Insert key. The Fn+Arrow(Which I couldn't managed to get the scancodes) stop changing brightness independently now!DSDT 2.zip

The ADB mapping of the kext was untouched.

P/s: the kext in the Archive.zip may be touched without intention, Please get the original one from http://forum.osxlati...e-48#entry65797 Thanks

I have re-added some AMW code from the original dsdt to the one i sent you.

attachicon.gifArchive.zip

Trying to patch DSDT myself. The brightness are now only controlled by the FN+F3 and FN+Insert key. The Fn+Arrow(Which I couldn't managed to get the scancodes) stop changing brightness independently now!attachicon.gifDSDT 2.zip

 

Here is your DSDT with the brightness keys fix DSDT_brightness_fix.zip

 

Here Dr Hurts fork with Rehabmans ADB map fix VoodooPS2Controller.kext_ADBMap_brightness_fix.zip

Here is your DSDT with the brightness keys fix attachicon.gifDSDT_brightness_fix.zip

 

Here Dr Hurts fork with Rehabmans ADB map fix attachicon.gifVoodooPS2Controller.kext_ADBMap_brightness_fix.zip

 

What a pity that it doesn't work as expected

Brightness still map to fn+f3 and fn+Insert instead of fn+Arrow up and down

What a pity that it doesn't work as expected

Brightness still map to fn+f3 and fn+Insert instead of fn+Arrow up and down

Does it work with the WMI kext? Is it the E6430?

Here, the DSDT patch works again after the ADB map fix on a E6420, thanks to Rehabman.

Does it work with the WMI kext? Is it the E6430?

Here, the DSDT patch works again after the ADB map fix on a E6420, thanks to Rehabman.

I'm on the E6230. The fn+Arrow seem stop changing the brightness, make the Fn+f3/Insert the only way to change the brightness.

kernel	ApplePS2Keyboard: sending key e045=71 down //Fn+ Insert: cause the screen brighten up
kernel	ApplePS2Keyboard: sending key 46=6b down   //Fn+ F3: cause the screen brighten down
kernel	ApplePS2Keyboard: sending key e048=7e down //Arrow Up
kernel	ApplePS2Keyboard: sending key e050=7d down //Arrow Down

Here is the only related scancodes I could fetch Fn+up and Fn+Down doesn't result in scancodes:Only ACPI _Q66

I'm on the E6230. The fn+Arrow seem stop changing the brightness, make the Fn+f3/Insert the only way to change the brightness.

 

kernel	ApplePS2Keyboard: sending key e045=71 down //Fn+ Insert: cause the screen brighten up
kernel	ApplePS2Keyboard: sending key 46=6b down   //Fn+ F3: cause the screen brighten down
kernel	ApplePS2Keyboard: sending key e048=7e down //Arrow Up
kernel	ApplePS2Keyboard: sending key e050=7d down //Arrow Down

Here is the only related scancodes I could fetch Fn+up and Fn+Down doesn't result in scancodes:Only ACPI _Q66

 

The brightness keys are ACPI controlled, so no scan codes.

The DSDT I've uploaded was a .dsl file, have you saved it as binary?, if not here is the .aml. DSDT.aml.zip

The brightness keys are ACPI controlled, so no scan codes.

The DSDT I've uploaded was a .dsl file, have you saved it as binary?, if not here is the .aml. attachicon.gifDSDT.aml.zip

caused the computer freezed when press fn+arrow or fn+f3/insert. took a few reboot early to get back on.

caused the computer freezed when press fn+arrow or fn+f3/insert. took a few reboot early to get back on.

That's a good sign, it seems that the code does something. But your DSDT is a mess, you've added the WMI device to the wrong place. Other code is missing.

Here is the DSDT from Slice, with the brightness code it is probably the same, try it. But, I recommend you to create a new DSDT with the brightness code.

DSDT.aml_SLICE_brightness.zip

That's a good sign, it seems that the code does something. But your DSDT is a mess, you've added the WMI device to the wrong place. Other code is missing.

Here is the DSDT from Slice, with the brightness code it is probably the same, try it. But, I recommend you to create a new DSDT with the brightness code.

attachicon.gifDSDT.aml_SLICE_brightness.zip

I couldn't try it because it cause the screen black(brightness=0)

System abrupt when press Fn Arrows with this DSDT(I try to edit the dsdt that i received from osxlatitude). I couldn't patch the dsdt from beginning.

attachicon.gifDSDT-2.zip

Maybe your laptop needs other codes, try it with the WMI kext below, it's a debug version. Look at the Console.

I think it's better to patch a new DSDT, press F4 @Clover menu and upload the DSDT.

IOWMIFamily.kext_debug.zip

Maybe your laptop needs other codes, try it with the WMI kext below, it's a debug version. Look at the Console.

I think it's better to patch a new DSDT, press F4 @Clover menu and upload the DSDT.

attachicon.gifIOWMIFamily.kext_debug.zip

Here is it:

origin.zip

×
×
  • Create New...