Jump to content

Hacked PS/2 Driver :)


  • Please log in to reply
209 replies to this topic

#21
Wingen

Wingen

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 posts
  • Gender:Male
  • Location:Sweden
I'll try formatting and reinstalling OS X once again, then applying the patch like Stern said.

#22
Wingen

Wingen

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 posts
  • Gender:Male
  • Location:Sweden

the owner of the file shouldn't be root, it should be system.  this is much easier to change in the gui if you have administrator rights.  just right click the file and choose "get info", and go to the bottom where it says permissions.  go to details and choose system from the owner box, and wheel from the other.  that should make it work.

<{POST_SNAPBACK}>


When I 'chown' the kext to system:wheel, it gives me the following error:
chown: system: Invalid argument


#23
babaev

babaev

    InsanelyMac Protégé

  • Members
  • Pip
  • 44 posts

When I 'chown' the kext to system:wheel, it gives me the following error:

chown: system: Invalid argument

<{POST_SNAPBACK}>


No, if you use chown, you must use root:wheel. System - it's the name of "root" for GUI applications, as I understand. So, chown -R root:wheel if in terminal.

#24
Wingen

Wingen

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 posts
  • Gender:Male
  • Location:Sweden

No, if you use chown, you must use root:wheel. System - it's the name of "root" for GUI applications, as I understand. So, chown -R root:wheel if in terminal.

<{POST_SNAPBACK}>


Last time I did that, it didn't work. Oh well, I'll try it again.

EDIT: Can't use the keyboard in OS X anymore :) Same thing as last time.

#25
babaev

babaev

    InsanelyMac Protégé

  • Members
  • Pip
  • 44 posts

Last time I did that, it didn't work. Oh well, I'll try it again.

EDIT: Can't use the keyboard in OS X anymore :D Same thing as last time.

<{POST_SNAPBACK}>


If it worked, why did you install patch? :)

If it didn't work neither before, not now - tell me you system configuration, please. I'll try to do something.

#26
Wingen

Wingen

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 posts
  • Gender:Male
  • Location:Sweden

If it worked, why did you install patch?  :)

If it didn't work neither before, not now - tell me you system configuration, please. I'll try to do something.

<{POST_SNAPBACK}>


If I don't apply the patch, the keyboard works in VMware, but not in native mode. If I patch, it doesn't work in VMware nor native. My system config is in one of my later posts on page one of this thread.

Thanks for trying to help :D

#27
myzar

myzar

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 718 posts
KB: ApplePS2Keyboard: Unexpected acknowledge from PS/2 controller.

i get the same error plus something about mach unable to set the interrupt and the keyboard doesn't work anymore.

Now if only i didn't password the root account i would be able to replace the offending kext without having to reinstall osx lol

#28
devorama

devorama

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts
This seems to have fixed my keyboard problem. Although it only seems to work only after a cold boot and if I press a key during the boot up. If I don't touch anything, it doesn't seem to work. Odd...

#29
babaev

babaev

    InsanelyMac Protégé

  • Members
  • Pip
  • 44 posts

This seems to have fixed my keyboard problem.  Although it only seems to work only after a cold boot and if I press a key during the boot up.  If I don't touch anything, it doesn't seem to work.  Odd...

<{POST_SNAPBACK}>


Source driver is written very badly. I did one more step to correct work of ps/2 keyboard driver, but it's not last. When I'll know more about protocol, I'll create more correct patch. Now it's only an "ugly hack" :-)

#30
DeathChill

DeathChill

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 254 posts
Just use this one from darwin, works just fine.

#31
NX01

NX01

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 4 posts
  • Location:/dev/null

Just use this one from darwin, works just fine.

<{POST_SNAPBACK}>


Darwin driver doesn't work on some computers. On mine it didn't work even when I booted Darwin x86 8.01 CD. Babaev hack works for me...

#32
babaev

babaev

    InsanelyMac Protégé

  • Members
  • Pip
  • 44 posts
I spent some more time to create more accurate patch. Now it does not do BAT (keyboard self test), but only sets needed parameters. Also I got rid of annoying messages in system log.

But, in fact new KernelExtension do all the same things.

If your keyboard does not work with this patch - PLEASE, tell me keyboard type/manufacturer/ID/somethingElseToDetermineKeyboard. Type of your notebook, if it's native laptop keyboard.

PS/2 protocol is awfull! But I'll try to write normal driver. Next step will be looking to linux ps/2 drivers.

New Extension (installation is the same): Attached File  ApplePS2Controller.kext.zip   327.16KB   2095 downloads

#33
Wingen

Wingen

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 posts
  • Gender:Male
  • Location:Sweden
I tried your new patch, and unlike the last one, this one made the keyboard work in VMware. However, I still can't use it in native mode. My keyboard is a Logitech Ultra-X Flat (Model name Y-SX49). Would be very grateful if my problem could be solved. Keep up the good work!

#34
Wingen

Wingen

    InsanelyMac Protégé

  • Members
  • Pip
  • 32 posts
  • Gender:Male
  • Location:Sweden
I've finally managed to make the keyboard work in OS X. I disabled USB keyboard and mouse support in BIOS and then put my mouse on PS/2 instead of USB. Voil! It works! Thanks for the patch! :)

#35
babaev

babaev

    InsanelyMac Protégé

  • Members
  • Pip
  • 44 posts

I tried your new patch, and unlike the last one, this one made the keyboard work in VMware. However, I still can't use it in native mode. My keyboard is a Logitech Ultra-X Flat (Model name Y-SX49). Would be very grateful if my problem could be solved. Keep up the good work!

<{POST_SNAPBACK}>


I know that keyboard, I'll try to update a patch for it next week.

#36
craigdarock

craigdarock

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts

I know that keyboard, I'll try to update a patch for it next week.

<{POST_SNAPBACK}>


Hi Babev, could you look at the HP Pavilion ZV5410us keyboard :) , the only thing that was working on it with the new patch was the mousepad. But as soon as I tried typing everything went down.(The Keyboard and Touchpad). So if you could take a look at it. It would be greatly appreciated.

Specs
http://h10025.www1.h...cname=c00285232

#37
babaev

babaev

    InsanelyMac Protégé

  • Members
  • Pip
  • 44 posts

Hi Babev, could you look at the HP Pavilion ZV5410us keyboard :) , the only thing that was working on it with the new patch was the mousepad.  But as soon as I tried typing everything went down.(The Keyboard and Touchpad).  So if you could take a look at it. It would be greatly appreciated.

Specs
http://h10025.www1.h...cname=c00285232

<{POST_SNAPBACK}>



Ok, sure, I'll try. In some days. The difficulty of these keyboard's driver is that all keyboards are different. So, it's very hard to create universal driver. But I'll try in some time to create it.

#38
shenki

shenki

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
  • Location:Adelaide, Australia
@babaev

thanks for your help. I succesfully used your PS2 driver to get the keyboard working on my LG LW40 Express laptop; previously I was experiencing problems similar to those you reported, where the keyboard would not respond after booting OSX.

on a different topic, do you run linux on your LW laptop? If so, does it use the Intel HD audio for it's sound, and have you been able to get that working under linux? I have been running ubuntu, and despide getting everything else working over the past month, I havn't had any sucess with sound. feel free to email me joel.stan at gmail.com if you have any suggestions.

thanks again

#39
babaev

babaev

    InsanelyMac Protégé

  • Members
  • Pip
  • 44 posts

@babaev

on a different topic, do you run linux on your LW laptop?

<{POST_SNAPBACK}>


Yes, I run linux there. But I've no HD Audio (my laptop is LS50, it does not have it).

Seems, like all LG notebooks work after this patch. Good.

#40
speech

speech

    InsanelyMac Protégé

  • Members
  • Pip
  • 24 posts
babaev, I'm using deadmoo wmware image, copied to HD. It doesn't work, because of the trackpad (I guess). I think of using your patch, but, did you have this ApplePS2Controler.kext at the very beginning and tried to replace it, or was your first installation clean of this kext ?

I have seen that there is an AppleTrackpad.kext on Darwin source code site for my trackpad (synaptic) but I have anything to compile it.





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