jharleman
Nov 22 2007, 03:34 AM
EDIT and UPDATELaptop 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.htmlI 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
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
Nov 22 2007, 05:29 AM
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.
macgirl
Nov 22 2007, 05:50 AM
GREAT, I alredy compiled it, works just fine.
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.
SA22C
Nov 22 2007, 02:50 PM
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
Nov 22 2007, 04:53 PM
No, I think it needs the AppleACPIPowerSource.kext Plugin or other, sheesh back to previus
nomi81
Nov 22 2007, 05:18 PM
how can i use this kext?
jharleman
Nov 22 2007, 06:26 PM
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
Nov 22 2007, 06:47 PM
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

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

, 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
Nov 22 2007, 07:55 PM
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

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?...dc12ca9eb07e536http://www.digitmemo.com/articles/734/howt...-in-hackintosh/http://forum.insanelymac.com/index.php?sho...70331&st=60cheers - jl
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.
nomi81
Nov 23 2007, 12:38 AM
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
Nov 23 2007, 01:34 AM
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

. Now everything is working fine.
thank you Dense!!
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.
macgirl
Nov 23 2007, 04:17 AM
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
Nov 23 2007, 05:54 AM
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
Nov 23 2007, 10:17 AM
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
Nov 24 2007, 01:21 AM
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
Nov 29 2007, 09:53 PM
Works fine for me! Thank you!!
KlyX
Dec 15 2007, 04:41 AM
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
Dec 15 2007, 05:11 AM
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
Dec 23 2007, 05:22 AM
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
Dec 23 2007, 05:28 AM
You could saved time if you read the Genius Bar's guid of KB and Mouse, that a very old know issue.
leodm
Dec 23 2007, 05:47 AM
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
Jan 31 2008, 06:28 AM
"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
Feb 12 2008, 12:58 PM
Hi all,
I have a question: can someone compile it for 10.5.2 ?
Regards,
Mariusz.
xaviler
Feb 15 2008, 07:23 PM
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
Feb 15 2008, 08:54 PM
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/ytkzonIgnore 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
Feb 17 2008, 12:17 AM
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

Any suggestions?
macgirl
Feb 17 2008, 10:15 PM
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.
αвѕтяα¢т мα¢
Mar 29 2008, 06:17 AM
how would i know if they match? i dont even know what to search for

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

?
macgirl
Mar 29 2008, 02:44 PM
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
Mar 31 2008, 09:55 AM
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
May 4 2008, 06:33 AM
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
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.
muitommy
May 7 2008, 01:25 AM
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
May 21 2008, 11:48 AM
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
Jun 27 2008, 03:16 PM
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
Jul 8 2008, 03:32 PM
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...
Thanks,
Vikram
Jackobyte
Dec 3 2008, 02:23 PM
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.