Sample Header Ad - 728x90

hidutil stopped working on macOS 14.2 update

14 votes
7 answers
2625 views
I've got the following command to run on every macOS start:
hidutil property --set '{"UserKeyMapping": [{"HIDKeyboardModifierMappingSrc": 0x700000064, "HIDKeyboardModifierMappingDst": 0x700000035}]}'
It always rebinds a key (non_us_backslash to grave_accent_and_tilde) on my international Apple Magic Keyboard to a convenient one to match with my us keyboard laptop. Right after 14.2 install this command stopped working. It throws no error, the hidutil property --get UserKeyMapping prints out some kind a valid output as follow, but the key behaviour isn't updates after the command run as it appears before update. Also I'm not sure that in the past the --get argument output was printed out as a Decimal rather than hex. But this is as it is now. The command output:
(
        {
        HIDKeyboardModifierMappingDst = 30064771125;
        HIDKeyboardModifierMappingSrc = 30064771172;
    }
)
## UPD 2024.01.17: I've got the answer from Apple on my issue about that. They said that the problem is fixed. I've tried to reproduce it on my laptop and it persists, yet it gets with a lower severity, as now (as the one mentioned somewhere above) binding starts working but after replugging the device. I can add that this is true for a wireless devices as well. My binding started working after I reenabled Bluetooth. This fix worked for me a few times in the row, so I consider it as a persistent. Nonetheless I've objected Apple's claim that the issue has been solved. So let's see what's happens next.
Asked by Yaroslav L (143 rep)
Dec 12, 2023, 03:17 PM
Last activity: May 28, 2025, 08:28 PM