Jump to content

Hacked PS/2 Driver :)


  • Please log in to reply
209 replies to this topic

#121
SmilE

SmilE

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts
sorry guys... but i was trying to make it fine. The problem is that the system reload automaticly the permissions as before.
I'll try to explain...
We have a package which is responsible of ps2 devices : ApplePS2Controller.kext, this package contains three kextfile : ApplePS2keyboard, ApplePS2trackpad and ApplePS2mouse.
the problem we have, we have to reload the good version of package with goods permissions.

The package i have is attached here ;)

so now, we have many solutions:
- change the /etc/rc file which will be executed at every boot.
- unload and reload the kext file.

i don't garantee this solutions works fine, but you must try many times for working :(
the first solutions (under windows):
Download MacDrive
open the file rc in your osx HD and edit it with texteditor (add
"kextunload /System/Library/Extensions/ApplePS2Controller.kext/Contents/Plugins/ApplePS2Keyboard.kext
kextload /System/Library/Extensions/ApplePS2Controller.kext/Contents/Plugins/ApplePS2Keyboard.kext"
at the end of rc file just before "exit 0")
Save and close.
Reboot and tell me ;)


the second solution (under osx):
delete files .mkext .kextcache (2 files normally) in /System/Library/
copy the package .kext i attached into /System/Library/Extensions (you'll need to authenticate so don't forget to load the virtual keybord;))
load this command in terminal (copy it into a textfile and "copy&paste") YOU WILL NEED A ROOT ACCESS!!!

sudo diskutil repairPermissions /
sudo chmod -R 755 /System/Library/Extensions/ApplePS2Controller.kext
sudo chown -R root:wheel /System/Library/Extensions/ApplePS2Controller.kext
kextload /System/Library/Extensions/ApplePS2Controller.kext
kextcache -k /System/Library/Extensions/

ok, let's try it ;)




and if someone comes here and have a better solution WHICH works ...tell us!!
i don't its the best.

Attached Files



#122
npwski

npwski

    InsanelyMac Protégé

  • Members
  • Pip
  • 49 posts
  • Gender:Male
  • Location:Moscow, Russia
SmilE, thanks for driver, it's working :D

My harware:
Logitech MX310 USB mouse. Yes, i can connect it to ps/2-port with adapter, but i want it in USB for use she's rich functions.
Cherry G86 USB keyboard with ps/2 adapter. I connected it in ps/2-port because i can't find any useful drivers for this non-standard keyboard for use in USB.

Summary: PS/2-keyboard and USB-mouse.

Finally, all works fine.

After all, I tried some checks:
1) I removed this lines "kextunload/kextload" in rc. Keyb not working.
2) I enabled "Legacy mouse support" in bios. System hangs.
Finally, i reverted this points. All works fine when "kextunload/kextload" is in rc and "Legacy mouse"&"Legacy keyboard support" disabled in bios.

Thanks :D

PS. Sorry, little correction, you wrote

kextunload /System/Library/Extensions/ApplePS2Controller.kext/Contents/Plugins/ApplePS2Keyboard.kext
kextunload /System/Library/Extensions/ApplePS2Controller.kext/Contents/Plugins/ApplePS2Keyboard.kext

Correct it, please:
kextunload /System/Library/Extensions/ApplePS2Controller.kext/Contents/Plugins/ApplePS2Keyboard.kext
kextload /System/Library/Extensions/ApplePS2Controller.kext/Contents/Plugins/ApplePS2Keyboard.kext

#123
Careless

Careless

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 411 posts
so this driver would allow me to use the standard PS2 port even on my desktop nforce4 AMD?

is that correct? anyone else tried it yet?
K8NXP-SLi mobo is what i have.

what's j00 gots?!

#124
SmilE

SmilE

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts
you are right npwski :)
thanks ;)

#125
184200

184200

    InsanelyMac Protégé

  • Members
  • Pip
  • 35 posts
ThanQ SmilE - gonna give it a try :(

#126
ElSenorPantelone

ElSenorPantelone

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 4 posts
Still no luck. I have tried nearly every solution posted on the forum. I am running 10.4.5 and I have a Gateway NX850XL laptop. I cannot get my touchpad to work on a regular basis. I have edited my /etc/rc file. Sometimes I can get the touchpad to work, but there is no rhyme or reason to when it does function. When it does, I do a dmesg, and I see Synaptics v5.9, but when I reboot, its not working again. I have disabled legacy USB support in bios. Tried every combination of booting with or without my usb HID devices plugged in or not. Does anyone have any unconventional solutions that they could suggest to me that sucessfully worked for them. I'm pulling my hair out here.

#127
SmilE

SmilE

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts
i have the same problem :)
when i executes manually the commands kextload and kextunload under osx, my keyboard works...but after 5/10mn... it freeze !!
i think there are "something" which block the loaded kextfile.....but what? i don't know...
i tried many solutions... but i'm not a "professionnal" mac user... if somebody can help us for this problem...it'll be wonderfull!

#128
184200

184200

    InsanelyMac Protégé

  • Members
  • Pip
  • 35 posts
No luck for me too :D
Let's hope that some clever guy will come up with a working solution :D

#129
cyclonefr

cyclonefr

    InsanelyMacaholic

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,751 posts
  • Gender:Male
  • Location:Paris, France
btw guys im gonna install 10.4.3 1099 keyboard and trackpad work fine under it :(
then im gonna try to find which kext or framework can work with the ApplePS2controller.kext and give the f***ing bug...u can try also and find a workaround! enjoy

#130
SmilE

SmilE

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts
i'va one idea... programming a ".batt" file (like under windows but i don't know if it exists under osx) which executes the necessary commands every time the keyboard freezes...
it's not the better solutions...but right now...there is no other way :D
dear macusers, please help us

#131
hushushus

hushushus

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 4 posts

I have a kernel panic with ApplePS2Controller with FPU segment overrun error. I try to compile ApplePS2Controller from darwin 8.4 sources but i get the following errors :

ApplePS2Controller.cpp: error: converting from `void(ApplePS2Controller::*)(IOInterruptEventSource*, int)' to `void (*)(OSObject*, IOInterruptEventSource*, int)' in a kext. Use OSMemberFunctionCast() instead.

3 of theses when creating interrupts

i'm new on os x devlopment and further kext ! got to find documentation on iokit and that kind of stuff.



Just same issue here, it boots with the 10.4.3 version, but i can only use the os with an usb mouse (no keyb). Tried all patches, but nothing seems to solve it. Removed the IOUSBFamily.kext but doesn't work too.

I think the problem doesn't seem to be related with the appleps2controller.

HEELP!!

#132
nerdgerl

nerdgerl

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts
  • Gender:Female
  • Location:Sydney

the second solution (under osx):
delete files .mkext .kextcache (2 files normally) in /System/Library/
copy the package .kext i attached into /System/Library/Extensions (you'll need to authenticate so don't forget to load the virtual keybord;))
load this command in terminal (copy it into a textfile and "copy&paste") YOU WILL NEED A ROOT ACCESS!!!

sudo diskutil repairPermissions /
sudo chmod -R 755 /System/Library/Extensions/ApplePS2Controller.kext
sudo chown -R root:wheel /System/Library/Extensions/ApplePS2Controller.kext
kextload /System/Library/Extensions/ApplePS2Controller.kext
kextcache -k /System/Library/Extensions/

ok, let's try it :angel:
and if someone comes here and have a better solution WHICH works ...tell us!!
i don't its the best.


First of all, a big thank you to the contributers on this thread. When i first began to read it, i thought it would be a piece of cake to set up my keyboard laptop because like the first poster, i have an LG (LS50) laptop!
However it did take me a few hours.

The last KEXT file that i believe SmilE wrote seemed to work for me. Here is what i did:
-installed the SmilE kext with the instructions from the first post.
-the i ran those terminal window lines above
-i didn't change my usb keyboard, legacy support settings (ie they remained enabled)
- AND i added the kextload, kextunload two lines to the end of my rc file.

now my keyboard AND touchpad (bar the tapping) works fabulously.

Thanks much!!!

ps. Im on 10.4.6

#133
cinepires

cinepires

    InsanelyMac Protégé

  • Members
  • Pip
  • 21 posts
  • Gender:Male
  • Location:portugal
hello all im new on osx scene and
i have
Sony Vaio fe11s duo core
i install osx 10.4.5 and in the first boot the keyboard works well, but in the 2 reboot the OS open an bluetooth divece and search for a new keybord ( i dont have bluetooth keybord ) and the native keyboard never work again

well can any one could help?

i stop the bluetooth software but i cant get native keyboard again... seems the osx register a bluetooth keybord and nothing works know i dont have keyboard

Any ideias?

TKS

Pirez

#134
AP27

AP27

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
I get a weird problem
I added the kext file, open up terminal and try to paste the code. It puts up some rules about 'Respect others privacy' and then asks for a password. Here i cant enter any text. The cursor thing doesnt blink. If i try typing in text editor suppose (using an external usb keyboard) it works fine, but it doesnt let me type in Terminal when it prompts for password.
Any help would be appreciated.

O...im using 10.4.7 JaS btw

thanks everyone

#135
perroncho2

perroncho2

    InsanelyMac Protégé

  • Members
  • Pip
  • 47 posts
I have an acer travelmate c302MXi. No keyboard and no touchpad.
I installed 10.4.3 and 10.4.6 and nothing happend.
In 10.4.3 i can press F8 on boot, but in 10.4.6 no.
How can i fix this problem? because the hacked kext dont work for me.

#136
dongio

dongio

    InsanelyMac Protégé

  • Members
  • Pip
  • 22 posts
Hi, I did it, it works awesome and I'm going to gave you step by step Instruction (Del Inspiron 2650)
Native Keyboard and TauchPad Works Flowless :D

1) Go to HardDisk>Applications>Utilities> (and turn on terminal)
2) (Tupe in Terminal) sundo nano /etc/rc (Push Enter)
3)(It Will Ask you Password: and type in your user pasword and push ENTER)
4)(It Will open rc file and navigation menu on the bottom, push CONTROL+V untill you go to the and of the fille)
5) (Betwan) if [ "${VerboseFlag}" != "-v" ]; then
/usr/libexec/WaitingForLoginWindow
fi


(Line and) exit0 (line insert this code:)

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

6)(Push CONTROL+O, to activate saving potion, Push CONTROL+T, to activate "save to file option")
7)(navigate down and right in to a fille list untill you find "rc" file, get cursor on top of it and push enter, it'll save changes)
8)(Push Control+X, to exite rc fille)
9)(Tupe in exit in terminal, close terminal and reboot)

Hopefully itll be work
good luck.

#137
cashgrow

cashgrow

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 posts
  • Gender:Male
  • Location:Asker,Norway
it worked after the first reboot. then its gone... anybody got a solution?

Edited by cashgrow, 15 December 2006 - 04:02 PM.


#138
digiplaya2005

digiplaya2005

    InsanelyMac Protégé

  • Members
  • PipPip
  • 80 posts
  • Gender:Male
Yeah: for me neither of any of these drivers available works, not even on the first boot with them enabled!

:2cents:

#139
Some_Person

Some_Person

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
How can I install this without booting to OSx86? My keyboard and mouse won't work in it, so I have no way to install this.

#140
vitalo

vitalo

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts
  • Gender:Male
  • Location:Ukraine, Kiev
My keyboard still doesn`t work. I try a few pathes(Enchanced PS2/Hacked), tried some tricks /etc/rc. Kext loaded but keyboard doesn`t respond.
kextstat
Index Refs Address Size Wired Name (Version) <Linked Against>
1 1 0x0 0x0 0x0 com.apple.kernel (8.8.1)
2 18 0x0 0x0 0x0 com.apple.kpi.bsd (8.8.1)
3 31 0x0 0x0 0x0 com.apple.kpi.iokit (8.8.1)
4 32 0x0 0x0 0x0 com.apple.kpi.libkern (8.8.1)
5 30 0x0 0x0 0x0 com.apple.kpi.mach (8.8.1)
6 15 0x0 0x0 0x0 com.apple.kpi.unsupported (8.8.1)
7 1 0x0 0x0 0x0 com.apple.iokit.IONVRAMFamily (8.8.1)
8 1 0x0 0x0 0x0 com.apple.driver.AppleNMI (8.8.1)
9 1 0x0 0x0 0x0 com.apple.iokit.IOSystemManagementFamily (8.8.1)
10 1 0x0 0x0 0x0 com.apple.iokit.ApplePlatformFamily (8.8.1)
11 33 0x0 0x0 0x0 com.apple.kernel.6.0 (7.9.9)
12 1 0x0 0x0 0x0 com.apple.kernel.bsd (7.9.9)
13 1 0x0 0x0 0x0 com.apple.kernel.iokit (7.9.9)
14 1 0x0 0x0 0x0 com.apple.kernel.libkern (7.9.9)
15 1 0x0 0x0 0x0 com.apple.kernel.mach (7.9.9)
16 14 0x1b3fb000 0x10000 0xf000 com.apple.iokit.IOPCIFamily (2.1) <11>
17 10 0x1b40e000 0x4000 0x3000 com.apple.iokit.IOACPIFamily (1.2.0) <11>
18 5 0x1b449000 0x37000 0x36000 com.apple.driver.AppleACPIPlatform (1.0.3) <17 16 11>
19 0 0x1b4da000 0x5000 0x4000 com.apple.BootCache (27) <6 5 4 3 2>
20 3 0x1b59d000 0x32000 0x31000 com.apple.iokit.IOHIDFamily (1.4.9) <6 5 4 3 2>
21 0 0x1b62f000 0x3000 0x2000 com.apple.driver.AppleIntelCPUPowerManagement (1.0.1) <11 6 4 3 2>
22 0 0x1b70f000 0x4000 0x3000 com.apple.driver.AppleAPIC (1.1.0) <11>
23 0 0x1b74e000 0x3000 0x2000 com.apple.driver.AppleSMBIOS (1.0.1) <11>
24 0 0x1b7e8000 0x4000 0x3000 com.apple.driver.AppleACPIButtons (1.0.3) <20 18 17 6 5 4 3 2>
26 0 0x1e963000 0x3000 0x2000 com.apple.driver.AppleACPIPCI (1.0.3) <18 17 16 11>
27 1 0x1e9f7000 0x3000 0x2000 com.apple.iokit.IOSMBusFamily (1.0.1) <5 4 3>
28 0 0x1ea60000 0x5000 0x4000 com.apple.driver.AppleACPIEC (1.0.3) <27 18 17 11>
29 0 0x1eacf000 0x3000 0x2000 com.apple.driver.AppleHPET (1.0.0d1) <17 6 5 4 3>
30 0 0x1eb45000 0x5000 0x4000 com.apple.driver.AppleRTC (1.0.3) <17 5 4 3 2>
33 7 0x1ee5a000 0x1a000 0x19000 com.apple.iokit.IOUSBFamily (2.6.1) <6 5 4 3>
34 0 0x1ef39000 0xe000 0xd000 com.apple.driver.AppleUSBUHCI (2.6.0) <33 16 5 4 3>
35 6 0x1effd000 0x16000 0x15000 com.apple.iokit.IOStorageFamily (1.5.1) <6 5 4 3 2>
37 0 0x1f101000 0x12000 0x11000 com.apple.driver.AppleUSBEHCI (2.6.1) <33 16 5 4 3>
38 1 0x1f19f000 0x5000 0x4000 com.apple.driver.ApplePS2Controller (2.0.0) <11>
39 3 0x1f267000 0xd000 0xc000 com.apple.iokit.IOATAFamily (1.7.1f4) <5 4 3 2>
40 0 0x1f288000 0x8000 0x7000 com.apple.driver.AppleIntelPIIXATA (1.14) <39 16 11>
42 0 0x1f4d8000 0x9000 0x8000 com.apple.driver.AppleUSBHub (2.6.0) <33 11>
43 5 0x1f684000 0x32000 0x31000 com.apple.iokit.IOFireWireFamily (2.5.1) <5 4 3>
44 0 0x1f6ee000 0x18000 0x17000 com.apple.driver.AppleFWOHCI (2.8.3) <43 16 6 5 4 3>
46 4 0x1f9b3000 0x15000 0x14000 com.apple.iokit.IOSCSIArchitectureModelFamily (1.5.1) <11>
47 0 0x1f8e6000 0x4000 0x3000 com.apple.iokit.IOATAPIProtocolTransport (1.5.0) <46 39 11>
48 0 0x1fac0000 0xa000 0x9000 com.apple.iokit.IOATABlockStorage (1.4.4) <39 35 11>
49 0 0x1fb9d000 0x6000 0x5000 com.apple.iokit.SCSITaskUserClient (1.5.1) <46 35 11>
50 2 0x1fce7000 0x8000 0x7000 com.apple.iokit.IOCDStorageFamily (1.4) <35 5 4 3>
51 1 0x1fd18000 0x13000 0x12000 com.apple.iokit.IOSCSIBlockCommandsDevice (1.5.1) <46 35 11>
52 1 0x1fd41000 0x5000 0x4000 com.apple.iokit.IODVDStorageFamily (1.4) <50 35 5 4 3>
53 0 0x1fd72000 0x12000 0x11000 com.apple.iokit.IOSCSIMultimediaCommandsDevice (1.5.1) <52 51 50 46 35 11>
54 0 0x1fe2b000 0x3000 0x2000 com.apple.driver.AppleUSBComposite (2.6.1) <33 11>
55 0 0x1ff2b000 0x5000 0x4000 com.apple.iokit.IOUSBHIDDriver (2.6.0) <33 20 11>
56 0 0x1b71c000 0x9000 0x8000 com.apple.iokit.IOUSBUserClient (2.6.0) <33 11>
57 2 0x1ebb8000 0x16000 0x15000 com.apple.iokit.IONetworkingFamily (1.5.1) <6 5 4 3 2>
58 0 0x1ebce000 0x3b000 0x3a000 com.apple.iokit.AppleYukon (1.0.7b3) <57 16 5 4 3 2>
59 3 0x1ec09000 0x1b000 0x1a000 com.apple.iokit.IOGraphicsFamily (1.4.4) <16 6 5 4 3>
60 2 0x1ec24000 0xf000 0xe000 com.apple.iokit.IONDRVSupport (1.4.4) <59 16 6 5 4 3>
61 2 0x26083000 0x1da000 0x1d9000 com.apple.NVDAResman (4.4.0) <60 59 16 11 5 4 3 2>
62 0 0x2625d000 0x1ab000 0x1aa000 com.apple.nvidia.nv40hal (4.4.0) <61 16 11>
63 0 0x1e971000 0x4000 0x3000 com.apple.driver.AppleACPIPowerSource (1.0.3) <18 17 11>
64 2 0x1ec33000 0xf000 0xe000 com.apple.iokit.IOFireWireAVC (1.9.7) <43 11>
65 1 0x1ec42000 0xe000 0xd000 com.apple.driver.IOPlatformPluginFamily (2.6.0d1) <11>
66 0 0x1ea65000 0x8000 0x7000 com.apple.driver.ACPI_SMC_PlatformPlugin (2.6.0d1) <65 17 16 11 5 4 3>
67 0 0x1e975000 0x4000 0x3000 com.apple.driver.AppleACPIThermal (1.0.3) <18 17 11>
68 2 0x1ead3000 0x5000 0x4000 com.apple.iokit.IOHDAudioFamily (1.0.0d1) <5 4 3 2>
69 0 0x1ead8000 0x6000 0x5000 com.apple.driver.AppleAzaliaController (1.0.0d1) <68 16 5 4 3 2>
70 0 0x1ec50000 0x49000 0x48000 com.apple.GeForce (4.4.0) <61 60 59 16 11 5 4 3 2>
71 1 0x1b729000 0x2000 0x1000 com.apple.kext.OSvKernDSPLib (1.0) <5 4>
72 3 0x1ec99000 0x17000 0x16000 com.apple.iokit.IOAudioFamily (1.6.0b3) <71 33 11>
73 0 0x1eb4e000 0x4000 0x3000 com.apple.driver.AudioIPCDriver (1.0.2) <72 5 4 3 2>
74 1 0x1ecb0000 0x2e000 0x2d000 com.apple.driver.AppleFWAudio (1.2.1b2) <72 64 43 11>
75 0 0x1b7f6000 0x3000 0x2000 com.apple.driver.AppleMLANAudio (1.2.1b2) <74 64 43 11>
76 0 0x1ecde000 0xc000 0xb000 com.apple.driver.AppleAzaliaAudio (1.0.0d1) <72 68 5 4 3 2>
78 1 0x1ed53000 0xa000 0x9000 com.apple.driver.AppleSMC (1.0.2d3) <17 6 5 4 3>
79 0 0x1ed5d000 0x3000 0x2000 com.apple.Dont_Steal_Mac_OS_X (6.0.1) <78 6 4 3 2>
80 0 0x1ed8b000 0x8000 0x7000 com.apple.iokit.IOFireWireIP (1.5.3) <57 43 6 5 4 3 2>
81 0 0x1f168000 0x3000 0x2000 com.apple.driver.ApplePS2Keyboard (1.1.0) <38 20 11>
I have notebook LG LS75-p4jr and usb mouse. JAS 10.4.8. HELP ME PLEASE!





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