Jump to content

Hacked PS/2 Driver :)


  • Please log in to reply
209 replies to this topic

#61
bedrock

bedrock

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 posts

seen this?

http://forum.osx86pr...indpost&p=31019


Yes i have seen that, thats the kext that maxxuss included in his 1.1 PPF patch, and that is already on my patched DVD, but it isn't working the keyboard on my laptop. So when i cam accross this thread i thought the hacked PS/2 driver might work, but then it is for 10.4.1 ;)

I hope someone can help me get my laptop keyboard working, caus apart from that everything else is good, even sound is working fine, just no keyboard

--
bedrock

#62
babaev

babaev

    InsanelyMac Protégé

  • Members
  • Pip
  • 44 posts

Yes i have seen that, thats the kext that maxxuss included in his 1.1 PPF patch, and that is already on my patched DVD, but it isn't working the keyboard on my laptop. So when i cam accross this thread i thought the hacked PS/2 driver might work, but then it is for 10.4.1 ;)

I hope someone can help me get my laptop keyboard working, caus apart from that everything else is good, even sound is working fine, just no keyboard

--
bedrock


Well, I recompiled my patched driver for 10.4.3. It works for me. As soon as I'll test it, I post it here

#63
bedrock

bedrock

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 posts

Well, I recompiled my patched driver for 10.4.3. It works for me. As soon as I'll test it, I post it here


I'm looking forward to testing with my laptop also. I have borrowed a usb keyboard, and i am planning on installing XCode and getting source too, so i can experiment, i am puzzeled why laptop keyboard isn't when it did with 10.4.1, according to apple developer site darwin source didn't chage for this kext ;)

--
bedrock

#64
babaev

babaev

    InsanelyMac Protégé

  • Members
  • Pip
  • 44 posts

I'm looking forward to testing with my laptop also. I have borrowed a usb keyboard, and i am planning on installing XCode and getting source too, so i can experiment, i am puzzeled why laptop keyboard isn't when it did with 10.4.1, according to apple developer site darwin source didn't chage for this kext ;)


As I've understood, all ps/2 code was removed from this new version of MacOSX... I do not even see ps2 headers.

But I'm only in the beginnig. I'll continue research.

#65
bedrock

bedrock

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 posts
Well i have been doing some experimenting with USB keyboard attached...

At boot time i get

ApplePS2Controller: Timed out waiting for keyboard input stream

and laptop keyboard doesn't work, but after OSX has booted if i open a terminal and

kextunload ApplePS2Keyboard.kext
kextload ApplePS2Keyboard.kext

my laptop keyboard start working ;)

Is there some way i can automate this process with a bootup script? I am not familair with apple scripting although i do know a little about bash, i have created a shell script, but of course it is useless caus i need to be root to execute kextunload/kextload, so i need some way from a script to su and then execute the two lines above. Any help?

Thanks

--
bedrock

#66
bedrock

bedrock

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 posts
Well i added those two lines to the end of /etc/rc and for now i get keyboard working okay on bootup, so it looks like i have a tempory solution

but i still dont understand why the default ApplePS2Controller.kext times out on boot?

--
bedrock

#67
babaev

babaev

    InsanelyMac Protégé

  • Members
  • Pip
  • 44 posts

Well i added those two lines to the end of /etc/rc and for now i get keyboard working okay on bootup, so it looks like i have a tempory solution

but i still dont understand why the default ApplePS2Controller.kext times out on boot?


Big Bug :(

I've got similar behavior.

#68
oZen

oZen

    InsanelyMac Protégé

  • Members
  • Pip
  • 46 posts
Hello, I tried the etc/rc trick but it failed for me... :unsure:

Can you put what you wrote exactly in your rc (which one ?) file and where (in the script ? or after ?) please !

I'm lost...

thank youy in advance !

#69
babaev

babaev

    InsanelyMac Protégé

  • Members
  • Pip
  • 44 posts

Hello, I tried the etc/rc trick but it failed for me... ;)

Can you put what you wrote exactly in your rc (which one ?) file and where (in the script ? or after ?) please !

I'm lost...

thank youy in advance !


Something like

kextunload ApplePS2Keyboard.kext
kextload ApplePS2Keyboard.kext

into file /etc/rc

just before the end (as I understand, before login window start)

#70
oZen

oZen

    InsanelyMac Protégé

  • Members
  • Pip
  • 46 posts
Thank you babaev ! Unfortunatly it doesn't work...

But I just realized that ApplePS2Keyboard.kext is not loaded in native boot.
it's loaded in VMware and I use that mode to make the changes in etc/rc

I thought I could just copy/paste the commands in a .txt but it can't work 'cause I need to hit Enter... too bad...

#71
oZen

oZen

    InsanelyMac Protégé

  • Members
  • Pip
  • 46 posts
Hi !

I put the two lines between the last if -> fi, and exit0, and now I can see something when I boot in -v verbose mode. However, something's wrong with the permissions.

I probably need to "chown" something, but what ? The kextload/kextunload couple or the ApplePS2Keyboard.kext ?

I tried to unload/reload manualy that kext in Vmware (where it's loaded contrary to native) and it gave me the same permission error than during the native boot process.

Finally what 's the cause, ant what's the consequence ?
I mean, is the lake of ApplePS2Keyboard.kext the cause of the timing out or is the timing out the cause of the lake of ApplePS2Keyboard.kext when the system is loaded ?

Hope it's the first solution even if I think it's probably the second... :huh:

Need your advises and opinions

Thank you in advance !

#72
babaev

babaev

    InsanelyMac Protégé

  • Members
  • Pip
  • 44 posts

I put the two lines between the last if -> fi, and exit0, and now I can see something when I boot in -v verbose mode. However, something's wrong with the permissions.


cd /System/Library/Extensions
chown -R root:wheel *

#73
oZen

oZen

    InsanelyMac Protégé

  • Members
  • Pip
  • 46 posts
Thank you, now I have the ApplePS2Keyboard.kext loaded in native mode, but the Keyboard still doesn't work :S

Is there a way to create a kind of script that I could place on the Desktop and launch with the only mouse ?

Thank you !

#74
babaev

babaev

    InsanelyMac Protégé

  • Members
  • Pip
  • 44 posts

Thank you, now I have the ApplePS2Keyboard.kext loaded in native mode, but the Keyboard still doesn't work :S

Is there a way to create a kind of script that I could place on the Desktop and launch with the only mouse ?

Thank you !


You have to enter Administrator password anyway. But on-screen keyboard (one of the standard layouts) will help you.

#75
oZen

oZen

    InsanelyMac Protégé

  • Members
  • Pip
  • 46 posts

You have to enter Administrator password anyway.

In fact I probably could find a solution with Sudoers, but i'm pretty sure that won't bring me answer

Can you post your new recompiled driver for 10.4.3, I'm gonna test it, 'cause the rc trick doesn't work... definitly :D

Thank you in advance !

i'm a little bit desperate... :)

#76
bedrock

bedrock

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 posts
Well i dont know exactly what you have been putting in your rc file, but here is the end of mine, and this has worked for all 10.4.3 builds that give a time out when they try and load the kext automatically on boot

<snip>

if [ "${VerboseFlag}" != "-v" ]; then
	/usr/libexec/WaitingForLoginWindow
fi

kextunload /System/Library/Extensions/ApplePS2Controller.kext/Contents/PlugIns/ApplePS2Keyboard.kext
kextload /System/Library/Extensions/ApplePS2Controller.kext/Contents/PlugIns/ApplePS2Keyboard.kext

exit 0

--
bedrock

#77
relin

relin

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
Need Help with this driver. I installed but on reboot I received a message saying the driver was not installed correctly and could not be loaded. I have a Gateway keyboard incase this is of any help. Thanks

#78
yakuzaa

yakuzaa

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
  • Location:Russia, Ekaterinburg
  • Interests:Machintosh
Dear Babaev, how about special keys on notebook keyboard, like Fn+"something" ? Do you have any progress with "Volume Up/Dn", "Brightness Up/Dn" keys support?

#79
shadowsa

shadowsa

    InsanelyMac Protégé

  • Members
  • Pip
  • 24 posts
i have an vaio vgn-u70p, i dont have ps2 and i tryed to install 10.4.3. with jas patch installation was perfect, but it asks me after bootup for a keyboard, my machine has no ps2 only usb, what can i do?

#80
momo7

momo7

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 2 posts
Great works!

but posted kexts are not work on 10.4.4(kextload error)
would you please post your patched kext for 10.4.3 or 10.4.4?
thanks :guitar:





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