-
Notifications
You must be signed in to change notification settings - Fork 30
Doesn't work in Mountain Lion? #8
Comments
PCKeyboardHack needs the source code of kernel. I'll release PCKeyboardHack for 10.8 after the source code of OS X 10.8 is published. Wait for public release of 10.8. Takayama Fumihiko tekezo@pqrs.org On 12/03/18 17:13, Leask wrote:
|
It seems that we have a very long time to wait. Thanks you all the same. Yours sincerely, Leask Huang / 黄思夏 / www.leaskh.com On Sunday, March 18, 2012 at 9:01 PM, Takayama Fumihiko wrote:
|
Still no updates? |
@macx they won't get the source till 10.8 is released. That may be July, but macrumors.com is your best source for that sort of information. |
AFAIK the current one is already GM, so it should be ok to start your work :P I can't live without this :) |
The source code is not released. As already mentioned, this will not happen until the public release of the OS. |
it seems the only difference between 10.6 and 10.7 kext is: +#define kEjectKeyDelayMS 100 // the delay for a dedicated eject key
+#define kEjectF12DelayMS 250 // the delay for an F12/eject key |
If you load the 10.7 kext on 10.8 it'll work (only tested caps lock remapping). |
@fbuenemann could you explain how do this right ? and where i can get kext ? |
How? I need it! Yours sincerely, Leask Huang / 黄思夏 / www.leaskh.com On Thursday, July 12, 2012 at 4:06 PM, Anton Shemerey wrote:
|
I extracted PCKeyboardHack.10.7.kext using Pacifist, moved it to /System/Library/Extensions/PCKeyboardHack.kext and loaded it using kexktutil. Make sure it's owned by root:wheel, or loading will fail. If you don't know how to enter single user to debug problems, you're probably better off waiting for a new release. |
To add to fbuenemann's comment, I was also able to get PCKeyboardHack for 10.7 to work with Mountain Lion by using the 10.7 kext. I'm using a couple remappings and everything seems to work great. These are the steps I followed to make it work:
I hope this helps! /Library/org.pqrs/PCKeyboardHack/scripts/kext.sh:#!/bin/sh
PATH=/bin:/sbin:/usr/bin:/usr/sbin; export PATH
basedir="/Library/org.pqrs/PCKeyboardHack"
kextfile=''
uname=`uname -r`
case "${uname%%.*}" in
10)
kextfile="$basedir/PCKeyboardHack.10.6.kext"
;;
11)
kextfile="$basedir/PCKeyboardHack.10.7.kext"
;;
12)
kextfile="$basedir/PCKeyboardHack.10.7.kext" # Hack to use 10.7 kext in 10.8
;;
esac
if [ "x$kextfile" == 'x' ]; then
exit 1
fi
if [ "$1" == 'unload' ]; then
kextunload -b org.pqrs.driver.PCKeyboardHack
else
kextload "$kextfile"
fi
exit 0 |
It works! Thank you and thank god! Yours sincerely, Leask Huang / 黄思夏 / www.leaskh.com On Friday, July 13, 2012 at 12:46 AM, Josh Skidmore wrote:
|
Thanks @joshskidmore—adding those three lines worked a treat! (Running 10.8 GM Seed) |
@joshskidmore You are a prince. Back to coding for me! |
I used the code above from joshskidmore but got a python error while trying to use sudo to update the file. So, I had to do this: cd /Library/org.pqrs/PCKeyboardHack/scripts Thanks! Vim-sanity is restored! |
I can't live without this as you. The adding 12) line seems working for me, too. Though, I understand the author's conservative attitude. Thanks takezo and folks!! hirano |
@joshskidmore It works like a charm. |
I'm still trying to figure out why it keeps looking for the 10.6 kext/SDK. |
Would someone mind explaining how to edit the file as sudo? Thank you in advance. |
@drsethl in a terminal window, do |
no luck here. It seems to kill the preferences pane so I can't edit anything |
thanks @tnorthcutt. I don’t have an editor installed (unless there's one included with Mountain Lion?). Googled and found MacVim, but don’t know how to use it with Sudo. Any more advice appreciated, thanks for the time. |
You don't actually need to substitute something for vim - it's included and should work fine. You may need to read up on how to edit a file with it. |
https://gist.github.com/3204240 PC Keyboard Hack on OS X 10.8 Mountain LionTL;DR
Instructions
|
@coolaj86 You are an absolute legend, thank you mate! |
@Leask will you please edit your original post to include the solution in my comment #8 (comment) right up at the top where it's easy for people to get at? |
ignore my earlier comment. It started working after a couple of reboots. Not sure why the preferences pane was temporarily broken. |
Seems it's out! |
As knu stated, it is out, will we see an updated version soon? |
This is amazing. Thank you so much! |
Worked perfectly. Thank you! |
@coolaj86 Nice one thank you! |
The source code for 10.8 has been published: http://www.opensource.apple.com/release/mac-os-x-108/ |
I've released PCKeyboardHack for OS X 10.8. |
Thank you tekezo for your support! |
I second that--thanks so much for your efforts! |
Thank you tekezo! Caps Lock = Esc again :) |
This is broken again for mountain lion 1.8.2, should i open a new issue? |
It works great for me currently in the latest os x 10.8.2. Yours sincerely, Leask Huang / 黄思夏 / www.leaskh.com On Tuesday, September 25, 2012 at 4:36 AM, grillermo wrote:
|
KeyRemap4MacBook and PCKeyboardHack grab key events from keyboard driver. |
It seems like that, anyway to make it work again?
The text was updated successfully, but these errors were encountered: