babaev Posted August 30, 2005 Share Posted August 30, 2005 My native notebook keyboard did not work "out of the box". I downloaded ApplePS2 driver source from Apple's developer site, hacked them a little (added self-test to keyboard enabling method) and my notebook's keyboard (notebook: LG LS50, Centrino (SSE2 only), ATI Radeon M10 (9600)) works almost perfect. I give no guarantee, that it'll work with your's specific keyboard, but you can try. May be I'll continue to develop this driver. I'm totally newbie to MacOSX developing, so... How to install: 1. download ApplePS2Controller.kext.zip 2. unzip 3. copy it to /System/Library/Extensions (something like "cp -R ApplePS2Controller.kext /System/Library/Extensions/" in terminal) 4. modify owner (something like "chown -R root:wheel /System/Library/Extensions/ApplePS2Controller.kext" in terminal) before entering commands in terminal, switch to superuser mode ("su", press enter and enter password) Reboot, unplug USB keyboard and enjoy (if you can). Link to comment Share on other sites More sharing options...
nemattoad Posted August 31, 2005 Share Posted August 31, 2005 if it works for one PS/2 keyboard, it will work for all of them. Link to comment Share on other sites More sharing options...
cwestpha Posted August 31, 2005 Share Posted August 31, 2005 This thing can be considered a Alpha product that is a first "real" release on this platform. Rules of logic dont apply. An extra key might be enough to throw the whole thing off and cause a panic for all we know. Link to comment Share on other sites More sharing options...
azuran Posted August 31, 2005 Share Posted August 31, 2005 It works for me for a while but then it will randomly just stop, and I will have to plug in a usb mouse to do anything. Any ideas? There is no real indicative output to Console. Azuran Link to comment Share on other sites More sharing options...
babaev Posted August 31, 2005 Author Share Posted August 31, 2005 Well, It's not a normal patch, it's a hack. Workink for me flawlessly. I'm totally new to MacOSX an totally new to PS/2 . So, I need some more time to find out all the problems of Apple's driver. It's not complete - I can cay it because not all PS/2 messages are handled. And the problem of my keyboard was, that it didn't initialized properly. I'll continue to develop this driver, so, may be in some time we'll get fully working one. Link to comment Share on other sites More sharing options...
NX01 Posted August 31, 2005 Share Posted August 31, 2005 Allright dude! I also have an LG laptop, but LS 70 express model and my keyboard doesn't work too. Thank god that someone developed a patch... Will try patch as soon as get home from work Link to comment Share on other sites More sharing options...
azuran Posted August 31, 2005 Share Posted August 31, 2005 Best of luck, your work is very much appreciated Link to comment Share on other sites More sharing options...
babaev Posted August 31, 2005 Author Share Posted August 31, 2005 Well, a day passed. Driver works normally, without any problems (I work with another drivers now, so I do reboot often and so on). Even display backlight keys works (combinations with Fn key) and volume button works. If anybody is interested - I've updated one more driver. PCCard now works for me. It's a Texas Instruments chipset. As I remember, TI7620. If anybody needs this updated driver, I can upload it here. Link to comment Share on other sites More sharing options...
NX01 Posted August 31, 2005 Share Posted August 31, 2005 Repect man! My keyboard now works excellent! Sure, upload the driver for PCCard... mine laptop has also Texas Instruments chipset - don't know which model, but i'd like to try... Link to comment Share on other sites More sharing options...
babaev Posted August 31, 2005 Author Share Posted August 31, 2005 Ok, here is my patched PCCard driver IOPCCardFamily.kext.zip. If it does not work, it is not very hard to add another (similar) chipset... Installation is like keyboard driver, only names differ. Link to comment Share on other sites More sharing options...
Wingen Posted August 31, 2005 Share Posted August 31, 2005 I have a PS/2 keyboard and a USB mouse. Tried the patch, now OS X won't boot anymore. At the grey loading screen, I get that "no go" sign after a while. In verbose mode, I don't get any special error messages (afaik). I've tried booting with the -x parameter and with the platform parameter. When I boot OS X from VMware (used the physical disk as a VMware "image"), everything works fine and OS X boots like normal. Could it be that VMware makes the system think I have a USB keyboard? Link to comment Share on other sites More sharing options...
babaev Posted August 31, 2005 Author Share Posted August 31, 2005 try booting -v, you'll see, where booting is stopped - write it here, we'll try to help. Link to comment Share on other sites More sharing options...
Wingen Posted August 31, 2005 Share Posted August 31, 2005 The weird thing is that when I boot with -v, it actually manages to boot all the way. I can use OS X like nothing happened. Even my iPod is recognized and mounted! Everything's tip top, except for one thing, of course. Any PS/2 device I have plugged in (first I tried with the keyboard on PS/2 and mouse on USB, then both on PS/2) won't function once OS X has booted. If I boot with the -s parameter, giving me access to a shell, I won't be able to type anything in. I took a screenshot of the last message sent in verbose mode, along with the rest on the screen. I had both the mouse and the keyboard plugged in on PS/2 at the time. Clicky. Link to comment Share on other sites More sharing options...
babaev Posted August 31, 2005 Author Share Posted August 31, 2005 I took a screenshot of the last message sent in verbose mode, along with the rest on the screen. I had both the mouse and the keyboard plugged in on PS/2 at the time. <{POST_SNAPBACK}> Try to check permissions on newly installed patch. There must be a line or two, mentioning PS/2 patch. Looks like you have wrong permissions/copied file to wrong place. Anyway, if this patch does not work - please, tell you computer configuration, I'll try to solve this problem. Link to comment Share on other sites More sharing options...
Wingen Posted September 1, 2005 Share Posted September 1, 2005 Try to check permissions on newly installed patch. There must be a line or two, mentioning PS/2 patch. Looks like you have wrong permissions/copied file to wrong place. Anyway, if this patch does not work - please, tell you computer configuration, I'll try to solve this problem. <{POST_SNAPBACK}> I put it in /System/Library/Extensions using the "cp -R" command and then chowned the kext with "chown -R root:wheel". Isn't that how I should do it? The permissions window for the file I copied into the Extensions folder has the following in it: Ownership & Permissions: You can: Read only Details: Owner: system (lock icon) Access: Read & Write Group: wheel Access: Read only Others: Read only Now my keyboard isn't working in VMware either Link to comment Share on other sites More sharing options...
Stern Posted September 1, 2005 Share Posted September 1, 2005 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. Link to comment Share on other sites More sharing options...
babaev Posted September 1, 2005 Author Share Posted September 1, 2005 I put it in /System/Library/Extensions using the "cp -R" command and then chowned the kext with "chown -R root:wheel". Isn't that how I should do it? <{POST_SNAPBACK}> Did you execute these commands in superuser mode? Well, maybe, this patch isn't for you. What is your system configuration? Link to comment Share on other sites More sharing options...
Wingen Posted September 1, 2005 Share Posted September 1, 2005 Did you execute these commands in superuser mode? Well, maybe, this patch isn't for you. What is your system configuration? <{POST_SNAPBACK}> I'll do some attempts to fix the PS/2 devices once I get home from school. I am pretty sure I executed the commands in SU mode. This morning I tried to make a document with the necessary terminal commands, and put that with the zip file containing the kext, and making an ISO of it. I then used the ISO as a CD-ROM-drive in VMware, brought up a terminal, opened the text document, copied the commands from the document, pasted in terminal, but that's where I get stuck. I have no idea of how to actually "enter" the stuff without my enter key My system consists of the following: AMD Athlon64 3200+ (S754) 1024 MB Corsair Value Select PC3200 MSI K8N Neo Platinum Edition (nForce 250Gb chipset) Hercules 9800 Pro That's the relevant stuff Link to comment Share on other sites More sharing options...
Wingen Posted September 1, 2005 Share Posted September 1, 2005 Just saw something in verbose mode. KB: ApplePS2Keyboard: Unexpected acknowledge from PS/2 controller. Huh? Link to comment Share on other sites More sharing options...
babaev Posted September 1, 2005 Author Share Posted September 1, 2005 Just saw something in verbose mode. KB: ApplePS2Keyboard: Unexpected acknowledge from PS/2 controller. Huh? <{POST_SNAPBACK}> It's ok. I'll rebuild driver on the weekend, insert normal dmesg output (to verbose mode) and, maybe, create more accurate ps/2 keyboard initialization. Link to comment Share on other sites More sharing options...
Wingen Posted September 1, 2005 Share Posted September 1, 2005 I'll try formatting and reinstalling OS X once again, then applying the patch like Stern said. Link to comment Share on other sites More sharing options...
Wingen Posted September 1, 2005 Share Posted September 1, 2005 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 Link to comment Share on other sites More sharing options...
babaev Posted September 1, 2005 Author Share Posted September 1, 2005 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. Link to comment Share on other sites More sharing options...
Wingen Posted September 1, 2005 Share Posted September 1, 2005 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. Link to comment Share on other sites More sharing options...
babaev Posted September 1, 2005 Author Share Posted September 1, 2005 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. <{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. Link to comment Share on other sites More sharing options...
Recommended Posts