2nd shot: kext for hotkeys

OK, here is a place to discuss OSX on thinkpads.
Post Reply
Message
Author
adidasprince
Posts: 34
Joined: Wed Mar 07, 2007 1:54 am
Location: Tokyo, Japan
Contact:

2nd shot: kext for hotkeys

#1 Post by adidasprince » Thu Apr 01, 2010 3:30 am

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.
Last edited by adidasprince on Fri Apr 02, 2010 2:15 pm, edited 1 time in total.
IBM ThinkPad T60p 2007-93J

Silencer
Junior Member
Junior Member
Posts: 345
Joined: Sat Dec 25, 2004 8:17 pm
Location: Riga, Latvia

Re: 2nd shot: kext for hotkeys

#2 Post by Silencer » Thu Apr 01, 2010 4:08 am

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).
ThinkPad T60p with Snow Leopard 10.6.8
Intel Core 2 Duo T7600
4GB RAM, ATI FireGL V5200 256MB (1400x1050)

adidasprince
Posts: 34
Joined: Wed Mar 07, 2007 1:54 am
Location: Tokyo, Japan
Contact:

Re: 2nd shot: kext for hotkeys

#3 Post by adidasprince » Thu Apr 01, 2010 11:18 am

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.)
IBM ThinkPad T60p 2007-93J

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “OS-X on a ThinkPad”

Who is online

Users browsing this forum: No registered users and 3 guests