Jump to content

PS2 Driver for stock ACPI for Leopard! with EFI boot Laptop users rejoice!


  • Please log in to reply
40 replies to this topic

#1
jharleman

jharleman

    InsanelyMac Protégé

  • Members
  • PipPip
  • 78 posts
  • Gender:Male
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/dar...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 ;)

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.

Attached Files



#2
SA22C

SA22C

    Escaping the Reality Distortion Field

  • Members
  • PipPipPipPipPip
  • 333 posts
  • Gender:Male
  • Location:Soviet Kanukistan
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. :D

#3
macgirl

macgirl

    Stargate's Pharaoh

  • Retired
  • 7,612 posts
  • Gender:Female
  • Location:Mexico City
  • Interests:Techie gadgets
GREAT, I alredy compiled it, works just fine.

#4
AaronR

AaronR

    InsanelyMac Protégé

  • Members
  • Pip
  • 43 posts
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 {censored}.

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.

#5
SA22C

SA22C

    Escaping the Reality Distortion Field

  • Members
  • PipPipPipPipPip
  • 333 posts
  • Gender:Male
  • Location:Soviet Kanukistan

GREAT, I alredy compiled it, works just fine.


Do you still have your battery meter? If so, what powermanagement bundle are you using?

#6
macgirl

macgirl

    Stargate's Pharaoh

  • Retired
  • 7,612 posts
  • Gender:Female
  • Location:Mexico City
  • Interests:Techie gadgets
No, I think it needs the AppleACPIPowerSource.kext Plugin or other, sheesh back to previus :(

#7
nomi81

nomi81

    InsanelyMac Protégé

  • Members
  • Pip
  • 44 posts
  • Gender:Male
  • Location:Saudi Arabia
how can i use this kext?

#8
jharleman

jharleman

    InsanelyMac Protégé

  • Members
  • PipPip
  • 78 posts
  • Gender:Male

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 {censored}.

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

#9
TheGreatDeceiver

TheGreatDeceiver

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 862 posts
  • Location:Soederhof/Germany

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

#10
jharleman

jharleman

    InsanelyMac Protégé

  • Members
  • PipPip
  • 78 posts
  • Gender:Male

yep, this probably needs a guide will all the requirements and assumptions that are made to get this to work :D


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.osx86sc...dc12ca9eb07e536
http://www.digitmemo...-in-hackintosh/
http://forum.insanel...o...70331&st=60

cheers - jl

#11
Dense

Dense

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 230 posts
Proper location for this in the PlugIn directory for AppleACPIPlatform. Not in the top level of the extensions directory.

#12
nomi81

nomi81

    InsanelyMac Protégé

  • Members
  • Pip
  • 44 posts
  • Gender:Male
  • Location:Saudi Arabia
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.

#13
TheGreatDeceiver

TheGreatDeceiver

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 862 posts
  • Location:Soederhof/Germany

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 :lol: . Now everything is working fine.
thank you Dense!!

#14
Dense

Dense

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 230 posts
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.

#15
macgirl

macgirl

    Stargate's Pharaoh

  • Retired
  • 7,612 posts
  • Gender:Female
  • Location:Mexico City
  • Interests:Techie gadgets

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.

#16
TheGreatDeceiver

TheGreatDeceiver

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 862 posts
  • Location:Soederhof/Germany

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.

#17
jharleman

jharleman

    InsanelyMac Protégé

  • Members
  • PipPip
  • 78 posts
  • Gender:Male

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

#18
Dense

Dense

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 230 posts
Solved the problem.

ACPIPS2Nub has this reference:

com.apple.driver.AppleACPIPlatform
1.1.0

My AppleACPIPlatform:

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.

#19
!!___!!

!!___!!

    InsanelyMac Protégé

  • Members
  • Pip
  • 30 posts
Works fine for me! Thank you!!

#20
KlyX

KlyX

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 137 posts
  • Gender:Male
  • Location:Langenthal, Switzerland
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





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy