Jump to content

Dell Keyboard hotkeys remapping


  • Please log in to reply
28 replies to this topic

#1
Trung_Nguyen

Trung_Nguyen

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 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).

Attached File  Archive.zip   21.44KB   5 downloads

 

 



#2
foskvs

foskvs

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,812 posts
  • Gender:Male
  • Location:Italy

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



#3
Trung_Nguyen

Trung_Nguyen

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 posts

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

VoodooPS2Controller: http://forum.osxlati...e-48#entry65797

I think I use the latest Keyboard plugin from Rehabman 

Origin DSDT:Attached File  origin.zip   53.91KB   1 downloads

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

 


#4
foskvs

foskvs

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,812 posts
  • Gender:Male
  • Location:Italy

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

Try this version of VoodooPS2Controller.kext: https://bitbucket.or...o-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.

Attached Files



#5
Trung_Nguyen

Trung_Nguyen

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 posts

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

Try this version of VoodooPS2Controller.kext: https://bitbucket.or...o-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.
 



#6
Slice

Slice

    InsanelyMac V.I.P.

  • Local Moderators
  • 6,628 posts
  • Gender:Male
  • Location:Moscow

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.



#7
Trung_Nguyen

Trung_Nguyen

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 posts

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



#8
Slice

Slice

    InsanelyMac V.I.P.

  • Local Moderators
  • 6,628 posts
  • Gender:Male
  • Location:Moscow

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

Differ Fn+F1 from just F1.



#9
wern apfel

wern apfel

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 557 posts
  • Gender:Male
  • Location:Earth

Try this kext it should enable your brightness keys.



#10
Trung_Nguyen

Trung_Nguyen

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 posts

Try this kext it should enable your brightness keys.

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

Attached File  DSDT.dsl.zip   31.43KB   1 downloads



#11
wern apfel

wern apfel

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 557 posts
  • Gender:Male
  • Location:Earth

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.



#12
RehabMan

RehabMan

    InsanelyMacaholic

  • Developers
  • 3,240 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

It's an known issue, the brightness up key lowers also the volume.


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

#13
wern apfel

wern apfel

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 557 posts
  • Gender:Male
  • Location:Earth

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.



#14
Trung_Nguyen

Trung_Nguyen

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 posts

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.

Attached File  Archive.zip   115.08KB   1 downloads


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!Attached File  DSDT 2.zip   35.51KB   1 downloads



#15
wern apfel

wern apfel

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 557 posts
  • Gender:Male
  • Location:Earth

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 Attached File  DSDT_brightness_fix.zip   35.86KB   5 downloads

 

Here Dr Hurts fork with Rehabmans ADB map fix Attached File  VoodooPS2Controller.kext_ADBMap_brightness_fix.zip   80.39KB   2 downloads



#16
Trung_Nguyen

Trung_Nguyen

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 posts

 

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



#17
wern apfel

wern apfel

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 557 posts
  • Gender:Male
  • Location:Earth

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.



#18
Trung_Nguyen

Trung_Nguyen

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 posts

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



#19
wern apfel

wern apfel

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 557 posts
  • Gender:Male
  • Location:Earth

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. Attached File  DSDT.aml.zip   19.25KB   1 downloads



#20
Trung_Nguyen

Trung_Nguyen

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 posts

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.







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy