Help - Search - Members - Calendar
Full Version: PS2 Driver for stock ACPI for Leopard! with EFI boot Laptop users rejoice!
InsanelyMac Forum > OSx86 Project > Hardware and Drivers > Other Peripheral Devices
jharleman
EDIT and UPDATE
Laptop users, rejoice! As many of you know with Leopard we got a new ACPIPlatform.kext and despite netkas' and team's advancement with PC EFI, we lost our PS2 controllers (and thus our keyboards and touchpads/trackpads)! This also effected anybody trying to virtualize leopard. So, as netkas pointed out on his blog there is now a nub that let's us use the generic ACPI! This requires Leopard and the generic or toh kernel as well as the ApplePS2Controller.kext from 10.4.x!

Here is the magician's work: http://tgwbd.org/darwin/extensions.html

I am very, very thankful. For those of you without compile tools here is the compiled nub. Do not download it without agreeing to licensing terms off the above link and as usual, loading osx on a pc is illeagal unless you are an apple developer... cheers biggrin.gif

UPDATE: As MacGirl points out the OSBundleLibraries in the Info.plist need to match the current version of your kext. MacNub recompiled it for 10.5.2 here.

Note: as MacGirl points out you lose your battery meter with the stock acpi. To install this you must be running PC EFI and leopard and have the stock AppleACPIPlatform.kext handy as well as ApplePS2Controller.kext. If you already have a running leopard install, but don't know how to install kexts, this isn't for you. As netkas says, "PC EFI is not for noobs" and this is on top of it. If you have PC EFI going and want to use it, simply backup your current /System/Library/Extenions/AppleACPIPlatform.kext to a safe location and replace with the original from Leopard and add this nub (this assumes you already have the ApplePS2Controller.kext) to your etensions folder. Repair permissions and off you go.
SA22C
Beautiful!I was just furiously trying to hunt down my xCode disc so I could compile this myself. Testing now... Will return with results.

Edit: Well, there's good news and bad news.The good news is that it works. The bad news is that it causes a panic upon startup unless I force a rebuilt of the kextcache. The stock ACPIPlatform also kills my battery meter, which is a huge pain.Sooo, good step, but not perfect. biggrin.gif
macgirl
GREAT, I alredy compiled it, works just fine.
AaronR
Crashed on startup, toh kernel w/ pc efi v51, can't even boot into single user mode, stuck at 'starting ACPIPS2Nub'. How can I fix it? I don't feel like to reinstall it all over again. It's pain in the ass.

By the way, I don't see any PS2Controller.kext. I guess you mean ApplePS2Controller.kext?

-----
OK, got rid of it from the terminal of installer.
SA22C
QUOTE(macgirl @ Nov 21 2007, 11:50 PM) *
GREAT, I alredy compiled it, works just fine.


Do you still have your battery meter? If so, what powermanagement bundle are you using?
macgirl
No, I think it needs the AppleACPIPowerSource.kext Plugin or other, sheesh back to previus sad.gif
nomi81
how can i use this kext?
jharleman
QUOTE(AaronR @ Nov 22 2007, 02:11 PM) *
Crashed on startup, toh kernel w/ pc efi v51, can't even boot into single user mode, stuck at 'starting ACPIPS2Nub'. How can I fix it? I don't feel like to reinstall it all over again. It's pain in the ass.

By the way, I don't see any PS2Controller.kext. I guess you mean ApplePS2Controller.kext?

-----
OK, got rid of it from the terminal of installer.


Sorry to hear it crashed. May require the vanilla kernel. Haven't played around with it, yes the ApplePS2Controller.kext from 10.4. cheers - jl
the great deceiver
QUOTE(naimarshad @ Nov 22 2007, 05:18 PM) *
how can i use this kext?


yep, this probably needs a guide will all the requirements and assumptions that are made to get this to work smile.gif

thanks jharleman, assume this requires the stock kernel as well (sort of makes sense when saying efi is required). Somebody like me who has changed away from stock kernel to get speedstep for example and uses the non stock kernel will run into problems of course smile.gif, just like me. good to know this is going closer to be solved. I will wait a little longer to see if the battery meter gets solved.

thanks again
jharleman
QUOTE(the great deceiver @ Nov 22 2007, 06:47 PM) *
yep, this probably needs a guide will all the requirements and assumptions that are made to get this to work smile.gif


Edited above, but you must have PC EFI and if you do then you know how to repair permissions. If you don't, it highly recommended as it gets you close to a stock apple as possible.

http://forum.osx86scene.com/viewtopic.php?...dc12ca9eb07e536
http://www.digitmemo.com/articles/734/howt...-in-hackintosh/
http://forum.insanelymac.com/index.php?sho...70331&st=60

cheers - jl
Dense
Proper location for this in the PlugIn directory for AppleACPIPlatform. Not in the top level of the extensions directory.
nomi81
when i try to load it manually i get error "cannot resolve dependencies for kernel extension" any idea and by the way i've copied it into AppleACPIPlatform.kext plugins.
the great deceiver
QUOTE(Dense @ Nov 22 2007, 11:53 PM) *
Proper location for this in the PlugIn directory for AppleACPIPlatform. Not in the top level of the extensions directory.


see, told ya, a noob like me puts it into the extensions root and gets kernel panic smile.gif . Now everything is working fine.
thank you Dense!!
Dense
When you rebuild the kext cache you get the following warning:

warning: kernel extension /Volumes/Mac OS X Install DVD/System/Library/Extensions/AppleACPIPlatform.kext/Contents/PlugIns/ACPIPS2Nub.kext is missing dependencies (including in cache anyway; dependencies may be available from elsewhere)

Anyone have a solution for this? Obviously something is missing in the plist that it needs.
macgirl
QUOTE(Dense @ Nov 22 2007, 05:53 PM) *
Proper location for this in the PlugIn directory for AppleACPIPlatform. Not in the top level of the extensions directory.

I don't think so, I put directly on the Extensions directory and had no problems.

Remember to use vanilla AppleACPIPlatform not the hacked/modified one.

Even when you boot with -s option it appears as one of first kexts loaded.
the great deceiver
QUOTE(macgirl @ Nov 23 2007, 04:17 AM) *
I don't think so, I put directly on the Extensions directory and had no problems.

Remember to use vanilla AppleACPIPlatform not the hacked/modified one.

Even when you boot with -s option it appears as one of first kexts loaded.

strange, that did not work for me. when I put the file into the plugin it works. I guess I better stay away from this until all is cleared. Yes, I used the stock kext.
jharleman
QUOTE(Dense @ Nov 23 2007, 02:01 AM) *
When you rebuild the kext cache you get the following warning:

warning: kernel extension /Volumes/Mac OS X Install DVD/System/Library/Extensions/AppleACPIPlatform.kext/Contents/PlugIns/ACPIPS2Nub.kext is missing dependencies (including in cache anyway; dependencies may be available from elsewhere)

Anyone have a solution for this? Obviously something is missing in the plist that it needs.

I am on the iPhone so I can't look right this sec, but if you look at info.plist you will see. You are prabably missing some stock kexts. Cheers jl
Dense
Solved the problem.

ACPIPS2Nub has this reference:

CODE
com.apple.driver.AppleACPIPlatform
1.1.0


My AppleACPIPlatform:

CODE
CFBundleGetInfoString
1.0.5, Copyright Apple Computer, Inc. 2003-2006


So older versions of AppleACPIPlatform won't have a high enough version to match the check in APCIPS2Nub. Just changing the value in the Nub fixes it though.
saepe
Works fine for me! Thank you!!
KlyX
Hmm, can someon tell me something:
How do i see, that it's working? I installed all three kexts... so how do I find out, if it worked?

I have a HP 6710b and battery lifetime atm is not quite good ;-)
leo installed, speedstep kernel 9.1 with EFI v8.
No battery icon (never installed one yet) and I can't change brightness.

Greetings
KlyX
macgirl
QUOTE(KlyX @ Dec 14 2007, 11:27 PM) *
Hmm, can someon tell me something:
How do i see, that it's working? I installed all three kexts... so how do I find out, if it worked?
Greetings
KlyX

PS2Nub is supposed to use with Vanilla kernel and vanilla AppleACPI not with Hacked Kernel.

How do you know it's working, easy, PS2 keyboard and/or Mouse works.
leodm
I finally get this working on DESKTOP
the trick is, u need to plug a PS2 mouse and PS2 KB at same time to get the KB working(the same old trick back to 2005 when OSX first met x86)

for laptop this isn't a problem since it has trackpoint/touchpad connected as PS2 mouse, but on desktop, i always think i've done sth. wrong because everyone else says it works...

I'm glad my current MB still has PS/2 mouse port, seems lots of newer MBs remove it and has PS2 KB port only.

One thing I stick with PS/2 KB because it has same layout as standard apple kbs, ie. win=opt, alt=cmd, and on USB kbs, the 2 keys are reversed.
macgirl
You could saved time if you read the Genius Bar's guid of KB and Mouse, that a very old know issue.
leodm
QUOTE(macgirl @ Dec 23 2007, 06:25 AM) *
You could saved time if you read the Genius Bar's guid of KB and Mouse, that a very old know issue.


yes, but that's not necessary with modified AppleACPIPlatform.
modbears
"This requires Leopard and the generic or toh kernel as well as the ApplePS2Controller.kext from 10.4.x"

Can someone PM or post a link to a ApplePS2Controller.kext from 10.4.x?
Mariusz
Hi all,

I have a question: can someone compile it for 10.5.2 ?

Regards,
Mariusz.

xaviler
QUOTE(Mariusz @ Feb 12 2008, 01:58 PM) *
Hi all,

I have a question: can someone compile it for 10.5.2 ?

Regards,
Mariusz.


i got the probleme here with 10.5.2 shows now : Couldn't alloc class "AppleACPIPS2Nub"

no keyboard and trackpad work anymore.

i am hooked up with usb key+mouse now, this still works...

may anybody please help me ?

thx
mac.nub
I fixed this weeks ago when previous 10.5.2 Developer builds were out. I'm surprised no one else did it...
10.5.2 PS2Nub: http://tinyurl.com/ytkzon

Ignore the fact the file name says it's for 9C16, that just happened to be the developer build I made it for. It works fine on 10.5.2 Final.

Enjoy,
~mac.nub
Lone Wolf
Does the PS2Nub.kext work with PS2 keyboard and Usb Mouse connected to Ps2 using an adapter?

I tried everything, but I never succeded in getting work the Ps2 ports with vanilla ACPI...

I'm under 10.5.2, I also tried the new kext posted by mac.nub, nothing change sad.gif

Any suggestions?
macgirl
you need to edit the ACPIPS2Nub.kext info.plist to match the 10.5.2 kexts in the OSBlundleLibraries, if they don't match it wont load.

ACPIPS2Nub was created when 10.5.1 and has previous versions.
αвѕтяα¢т мα¢
how would i know if they match? i dont even know what to search for tongue.gif umm im basically having the same problem as everyone else. no ps2 keyboard. i copied the ACPIPS2Nub.kext into the AppleACPIPlatform and what not but it still doesnt load.

could someone explain what needs to be changed tongue.gif?
macgirl
Don't copy to the AppleACPIPlatform, leave it directly in the Extensions directory, (check ownership and permission, that ar cause for not loading) check with System Profiler or kextstat (on terminal) if it loads.

Alsho Check OSBundleLibraries in its Info.plist, it need to match the current version of your kest or it wont load.
Aluminum Sponge
FWIW, if anyone's trying to get a PS2 Keyboard working with a USB Mouse, check out this thread for an updated ACPIPS2Nub.
http://forum.insanelymac.com/index.php?showtopic=96585
muitommy
can this work with desktop computer?
i have tried various version of ps2nub, but i got blackscreen or ATAblocking bus error.
what can i do to make it work?

Thanks.
macgirl
AFAIK ATAblocking error has nothing to do with PS2nub.

You can use PS2Nub if you are using the vanilla AppleACPIPlatform (since the vanilla lack of the PS2 kexts)

I din't watch a difference with Vanilla or Modded APCIPlatform kexts.


muitommy
weird i can't get it work, ps2nub with vanilla acpi ...
can't boot up when ps2 keyboard and mouse were plugged in (ps2nub loaded)
Maximo333
i have some kext files on a SD card. how do i install them? in the terminal? and what do start with to start installing them?
zandera
QUOTE(macgirl @ May 5 2008, 05:19 PM) *
AFAIK ATAblocking error has nothing to do with PS2nub.

You can use PS2Nub if you are using the vanilla AppleACPIPlatform (since the vanilla lack of the PS2 kexts)

I din't watch a difference with Vanilla or Modded APCIPlatform kexts.

two lines in info.plist
Vikram
Hi,

I upgraded to 10.5.4 but lost my trackpad. Can someone post the vanilla ACPI kext?

I have tried several combinations of ACPI + PS2 + other plugins and drivers from FFScroll with no luck.

It was all working in 10.5.2. Reverting to old kexts doesnt work either... sad.gif

Thanks,

Vikram
Jackobyte
Not sure why but I managed to get this working on 10.5.4

I was trying to install Jas 10.5.4 on my Samsung laptop and I kept getting the dreaded "No Keyboard" stuff and also I was getting no Wi-fi which I found strange but the Jas disk was not finding my DW1390 during boot.

So I went back to my Leo4All V2 disk, installed that with the correct options, then at reboot I put the Jas disk in and only selected the Jas essentials, the Stage XNU kernal and NVKush (since it was NVInject on the Leo4All). On reboot everything worked perfectly apart from the battery indicator which was solved using one of the methods i found here (can't remember which one, oh my brain!!).

Hope this might help someone, I just do not know why it was not working using Jas, maybe that is designed for desktop systems or something. Still it worked really easily using the method above and i now have a perfect 10.5.4 install including throttling using Chun Nan's GenericCPU thing.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.