Contribute
Register

[solved] Struggling to swap Capslock and Ctrl

Status
Not open for further replies.
Joined
May 22, 2011
Messages
9
Motherboard
Lenovo Thinkpad x1 Carbon 5th Gen - Clover
CPU
i7-7500u
Graphics
HD 620, 1920x1080
Mac
  1. MacBook Air
  2. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
Hey All,

Using these guides:
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
https://www.tonymacx86.com/threads/...5th-gen-with-dual-boot-unchanged-win7.237922/
(big thanks to the users involved in those!)

I've got my Lenovo X1 Carbon 5th Gen (2017) working almost perfectly. (10.14 Mojave)

I've tried to follow https://www.tonymacx86.com/threads/swapped-caps-lock-and-control-causes-locked-control.246546/ and used the example here https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller/blob/master/SSDT-Swap-LeftControlCapsLock.dsl for making Caps Lock act as Ctrl, by remapping in the DSDT instead of sys prefs (when using sys prefs i get an "always on" ctrl).

For reference, I'm trying these two SSDT patches in EFI/Clover/ACPI/patched:

Screenshot 2018-10-16 at 23.34.31.png


Looking at the logs, I can confirm the patches are being applied successfully. However they don't seem to have any effect on the Caps Lock button.

I'm trying both with two different "paths" to the Keyboard, which I've tried guessing but also attempted to workout from looking at ioreg:

Screenshot 2018-10-16 at 23.37.25.png


Any ideas where I'm going wrong?

Attached output from gen_debug.
 
Last edited:
Hey All,

Using these guides:
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
https://www.tonymacx86.com/threads/...5th-gen-with-dual-boot-unchanged-win7.237922/
(big thanks to the users involved in those!)

I've got my Lenovo X1 Carbon 5th Gen (2017) working almost perfectly. (10.14 Mojave)

I've tried to follow https://www.tonymacx86.com/threads/swapped-caps-lock-and-control-causes-locked-control.246546/ and used the example here https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller/blob/master/SSDT-Swap-LeftControlCapsLock.dsl for making Caps Lock act as Ctrl, by remapping in the DSDT instead of sys prefs (when using sys prefs i get an "always on" ctrl).

For reference, I'm trying these two SSDT patches in EFI/Clover/ACPI/patched:

View attachment 358318

Looking at the logs, I can confirm the patches are being applied successfully. However they don't seem to have any effect on the Caps Lock button.

I'm trying both with two different "paths" to the Keyboard, which I've tried guessing but also attempted to workout from looking at ioreg:

View attachment 358321

Any ideas where I'm going wrong?

Attached output from gen_debug.

First, you should not have multiple AML files attempting PS2 configuration (eg. should not have both SSDT-Swap-LeftControlCapsLock.aml and SSDT-Caps-Ctl.aml)

All RMCF data for PS2 configuration must be in a single file containing the RMCF data (otherwise you have duplicate symbols).

Your PS2 keyboard device is at _SB.PCI0.LPCB.KBD.

Which means both of your SSDTs are coded incorrectly.

SSDT-Swap-LeftControlCapsLock.aml uses _SB.PCI0.LPCB.PS2K.RMCF, which is wrong (LPCB.KBD, not LPCB.PS2K).
SSDT-CapsCtl.aml uses _SB.PCI0.LPCB.KBD, which is wrong (should be _SB.PCI0.LPCB.KBD.RMCF).
 
Legend! Thank you.

I had incorrectly assumed "_SB.PCI0.LPCB.PS2K.RMCF" (from your example) was the device path, which is why I was omitting "RMCF" and using just my device path. Silly mistake.
 
Legend! Thank you.

I had incorrectly assumed "_SB.PCI0.LPCB.PS2K.RMCF" (from your example) was the device path, which is why I was omitting "RMCF" and using just my device path. Silly mistake.

Marked solved.
 
i am new to Hackintosh and i have the same problem but i don't understand this method to make it work so what should i do now thank you.....
 
Status
Not open for further replies.
Back
Top