Jump to content

Revised PS/2 Keyboard Driver--Works without PS/2 Mouse plugged


leodm
 Share

15 posts in this topic

Recommended Posts

I think this deserve a dedicate thread.

 

For the original ACPIPS2Nub kext, there is a slight problem which confuses some desktop users, let me quote my old post

 

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.

 

So here is the revised version, including the source code. which works on system WITHOUT PS/2 mouse. I hope all the major release could incorporate it in the future(and replace the old one). I've tested it on 10.5.1 Kalyway and 10.5.2 Leo4all release with great success. If you don't have USB keyboard or another PS/2 mouse around, replace the kext from installation dvd.

 

It's NOT written by me, cant remember the original website now.... Greeting to the hacker who made it.

ACPIPS2NubUpdate.zip

Link to comment
Share on other sites

I've been trying to get a PS/2 keyboard working on my setup. This seems to be the solution, but I gave the kext to Kext Helper and restarted and it didn't fix anything. Did I miss a step somewhere?

Link to comment
Share on other sites

Same thing here leodm... I finally got a chance to download the Kext you provided in this thread on my iHack and unfortunately it wasn't the magic solution... :wacko:

 

In fact, when I use this ACPIPS2Nub provided here, I dont get any PS2 devices recognized! I had an old PS2 mouse to go along with the new PS2 keyboard and using this ACPIPS2Nub, OS X failed to recognize either. At least with the previous one floating around, a PS2 mouse&KB combo would at least work (see http://forum.insanelymac.com/index.php?showtopic=96475 for my trial & error).

 

With the Kext provided here I experience some kind of dependency error, stating it is unable to load during the boot process. Yes, I have the OSBundleLibraries section updated with the correct corresponding versions too. Boot screen shot provided:

clipboard01pq4.th.jpg

 

Whereas with the original Kext, with both a PS2 mouse&KB, i would see a verbose output that it detected a PNP mouse, followed by ACPIPS2Num reporting "startup complete" and then the keyboard would also work.

 

Is this a similar behavior anyone else getting?

Link to comment
Share on other sites

sorry, turns out I'm using a modified AppleACPIPlatform kext(from Leo4All v2), so I replace it with the one found in Apple 10.5.2 update(is it the latest vanilla version?), and get the same dependency error...

 

anyway, the fix is easy:

 

root /System/Library/Extensions # kextload -t ACPIPS2Nub.kext 
kernel extension ACPIPS2Nub.kext has problems:
Missing dependencies:
{
"com.apple.driver.AppleACPIPlatform" = 
	"A valid compatible version of this dependency cannot be found"
}

 

Change the version# in Info.plist so it can match the current AppleACPIPlatform

 

		<key>OSBundleLibraries</key>
	<dict>
			<key>com.apple.driver.AppleACPIPlatform</key>
			<string>1.1.0</string>
			<key>com.apple.iokit.IOACPIFamily</key>
			<string>1.0.0d1</string>
			<key>com.apple.kernel.libkern</key>
			<string>1.1</string>
	</dict>
	<key>OSBundleRequired</key>

 

 

To determine the current version#, other than looking it up in system profile->software->extensions, just check other bundled(and correct) plugin, in my case, it's

"/System/Library/Extensions/AppleACPIPlatform.kext/Contents/PlugIns/AppleACPIEC.kext/Contents/Info.plist"

 

Change "1.1.0" to "1.2.1" and try kextload again, the kext loads correctly.

 

Delete kext cache, reboot. Done...

 

To Aluminum Sponge:

Sorry but I have no idea if you've changed the OSBundleLibraries section and still can't get it working...

Link to comment
Share on other sites

Yeah, i've definitely updated my OSBundleLibraries to match the current vanilla AppleACPIPlatform (which is 1.2.1) and it still wont work.

 

Does this work for everyone else to allow them to get USB Mouse and PS2 Kb to live together?

Link to comment
Share on other sites

Yeah, i've definitely updated my OSBundleLibraries to match the current vanilla AppleACPIPlatform (which is 1.2.1) and it still wont work.

 

Does this work for everyone else to allow them to get USB Mouse and PS2 Kb to live together?

 

so what's the error msg. u get when trying "kextload -t"?

 

and, if the other ACPIPS2Nub driver loads for you, can you try to replace the driver content only(the ACPIPS2Nub file in Contents/MacOS) and see how it goes?

Link to comment
Share on other sites

  • 1 month later...

Is there a distro that has this patch included so the keyboad just works from the gitgo? With no keyboard, how does one install the kext?

 

After sleeping on it, would it be feasible to modify the files on the Kalyway 10.5.1 media under Linux and burn another DVD? Or, perhaps install Kalyway 10.5.1 and then patch the drive by booting from a Linux CD (which supports HFSplus partitions) and installing the kext from a USB flash drive

 

Thanks! :P

Link to comment
Share on other sites

  • 1 month later...

I know this thread is kinda old but.. Meh, this is on topic. I am reasonably disappointed about all the threads where someone asks about using PS/2 devices and then provide/receive no real information so I will post plenty in the hopes that it will encourage others to make more detailed posts.

 

Does this work for everyone else to allow them to get USB Mouse and PS2 Kb to live together?
It works for me. All I did was edit the previously specified version number then drop it into kext helper and rebooted.

My keyboard is an old Focus Electronic co. EZ Key that I got with a second hand Pentium I system a while back. I wanted to use it because my only USB keyboards are those short original Apple USB Keyboards. I was using the older Apple ones with my previous G3 and G4 mobos but they are mushy after so many years of being used basically every day and unless I am mistaken I can't access my current mobo's BIOS with them. It helps to have a full compliment of keys for other things anyway.

If this had not worked I would have stuck it out with my Apple 'board until I picked up a Razer Lycosa. Now the money that would have been spent on that can go towards a Logitech G25 wheel. :)

 

My mouse is an "el cheapo" Logitech M-UV96.

 

Continuing on, my system:

 

Celeron E1200 3.2Ghz w/ 400Mhz FSB (AC Freezer 7 Pro), Asus P5K(vanilla)

|x2| 1GB OCZ Platinum XTC Rev 2 DDR2-1000 5-5-5 15

|x2| 500GB 7200.11 'Cuda SATA/250GB 7200.10 'Cuda PATA, Pioneer DVR-112D PATA

Radeon HD 3850 256MB (715Mhz|1035Mhz), 17" Dell D1028L @ 1280x1024

Antec Neopower 650 Blue, Generic(?) ATX fulltower case (6x 5.25"/5x 3.5")

Sansui G-4700 receiver +2x 60w spks/Yamaha YST-M7

 

OS and such installed in roughly this order:

Kalyway 10.5.1 DVD -> Kalyway 10.5.2 combo update -> AttansicL1/Natit+menufix/PC_EFI v8/recent netkas SMBIOS/Time Machine update.

The ALC883 install option that came on the install DVD for certain Gigabyte boards worked without issue.

 

 

*Edit 08.06.11

I originally was using v1.0.3 of AppleACPIPlatform.kext but when I installed ACPIPS2Nub.kext I decided to up to version 1.2.1 of AppleACPIPlatform.kext. This worked fine aside from System Profiler being on crack and calling my system a "Mac" and "P5K" with some other apps calling it a "MacBookAir1,1". (That is an amazingly huge, horrible and dirty insult and I simply cannot live with it.)

 

Normally my System is a "Asus P5K" "MacPro3,1" with apps reporting that. Anyway, so I tried v1.0.3 of AppleACPIPlatform.kext and System Profiler returned to normal but the PS/2 keyboard did not work. As it turns out version 1.1.0 of AppleACPIPlatform.kext works just fine (or so it seems) without System Profiler and other apps reporting odd things.

 

Ok, so it was not System Profiler's fault but it is still more amusing to say that it was on crack due to not having the correct information. I suppose that is akin to shooting the messenger... *shrug*

Link to comment
Share on other sites

  • 3 months later...

I'm using the Kalyway Mac OS X 10.5.2 install DVD and upgrading to 10.5.5 via this method:

 

http://forum.insanelymac.com/index.php?showtopic=126268

 

I'm on an HP Pavilion dv9339us.

 

With the 10.5.2 native, PS/2 Mouse / Trackpad both worked fine. When I updated the version at all (10.5.3,4,and 5), they all made the PS/2 stop working. I found that using the ACPIPS2Nub.kext file with the modified version (1.2.1 worked on all version)... everything was fine.

 

That's the only kext change i needed. Even the vanilla kernel worked flawlessly.

Link to comment
Share on other sites

I personally just gave up on this whole endeavor to get a PS/2 Keyboard working with a USB mouse and went out and bought a cheap USB Keyboard (hence USB KB + USB Mouse), and everything works fine. After much wrangling with the issue, it seemed like there is jus a plain ole incompatibility between my motherboard (ASRock 775I65GV) and OSx86. Some people were able to play around and fix it, but i've heard about that they still seems to be some weird compatibility between very specific motherboards and this PS/2-USB issue. If a new USB Mouse or USB Keyboard is the price of admission in the amazing world of OS X, i say jus go out and buy the new device (if possible)!

Link to comment
Share on other sites

Hello there,

 

I'm a big big big newbie here... Don't know anything about mac, and don't even ask me what X11, kext, or sudo nano mean... I'm a PC guy, Windows poweruser, and I've just installed Mac OSX 10.5.2 (Kelyway's). Updated succesfully to 10.5.5 with Apple's Combo update...

 

After what : no more PS2 Keyboard (althought the PS2 Mouse works fine).

 

Anyone can please clear all this up for me, and for all newbies ? It would be so nice from you guys. Simples steps for beginners (e.g. "1. Open the Command utility in the Application folder of your Mac, 2. type the following, etc...")

 

Thank you in advance for your time and great support !!!

Link to comment
Share on other sites

  • 2 weeks later...

Hey,

I imagine _some_ people have gotten it working... but if you did all the possible combination of USB and PS/2, then I suggest you just give in and get 2 USB or 2 PS/2...Some people say they are just some hard incompatibilities between OS X and certain motherboards...

Link to comment
Share on other sites

  • 3 weeks later...

I have USB mouse and PS2 Keyboard. Your solution just worked like magic. I changed

 

 

	<key>CFBundleVersion</key>
<string>1.2.1</string>

 

 

in place of

 

	 <key>CFBundleVersion</key>
 <string>1.0.1d1</string>

 

 

and replaced

 

		<key>com.apple.driver.AppleACPIPlatform</key>
	<string>1.0.1</string>

 

with

 

		<key>com.apple.driver.AppleACPIPlatform</key>
	<string>1.2.1</string>

 

 

And it Worked....

 

But I can't still log in without safe boot. Now Attack that problem

Link to comment
Share on other sites

 Share

×
×
  • Create New...