Page 1 of 1

2nd shot: kext for hotkeys

Posted: Thu Apr 01, 2010 3:30 am
by adidasprince
Problem
Hotkeys, Volumn Up/Down,Mute,ThinkVantage,Fn+F1..., does not work with Leopard or SL.

Motivation
  • Want a perfect IBMac.
  • Want to learn about acpi and kext.
Solution Part 1
Fn+ArrowKey, Fn+PrtSc/ScrLk/Pause work with modified VoodooPS2Keyboard.kext.

Solution Part 2
Volumn keys, Fn+F1 ... need a kext for "HKEY" device (id:"IBM0068").

Knowing issue
My kext only catch key-press event. Hope some one can do a front-end application to respond about those events.

Downloads and details
are on my blog.
http://wencheng.fang.sh.cn/2010/03/thin ... opard.html

4/3 Edit
Re-uploaded the package for wrong logging setting.

Re: 2nd shot: kext for hotkeys

Posted: Thu Apr 01, 2010 4:08 am
by Silencer
That's a very good thing you are doing! I will give it a go tonight, will also look into creating some frontend app (shouldn't be too hard).

One other thing that I'm interested in - ThinkPad fan controller for OSX. The driver should be able to read THRM device status and set \_SB.PCI0.LPC.EC.HFSP register according to the current temperature. The logic is pretty simple, I just don't have the knowledge yet to write kernel extensions for OSX (drivers).

Re: 2nd shot: kext for hotkeys

Posted: Thu Apr 01, 2010 11:18 am
by adidasprince
Silencer wrote:That's a very good thing you are doing! I will give it a go tonight, will also look into creating some frontend app (shouldn't be too hard).

One other thing that I'm interested in - ThinkPad fan controller for OSX. The driver should be able to read THRM device status and set \_SB.PCI0.LPC.EC.HFSP register according to the current temperature. The logic is pretty simple, I just don't have the knowledge yet to write kernel extensions for OSX (drivers).
Thank you.

Temperature thing is lining at 4th or 5th. :P
I 'm trying brightness and monitor switch(my external monitor does not come back after wakeup.)