Jump to content
InsanelyMac Forum
Andy Vandijck

Any USB Apple keyboard / mouse...

Recommended Posts

I've made some new kexts that allow you to use Apple's AppleUSBHIDMouse.kext or AppleUSBHIDMouse.kext.

All you need to do is replace 4x the USB Vendor and USB Device entries with the decimal value of your keyboard or mouse and install them.

They will then after reboot ensure you are using Apple's kexts (which work much better).

I also created one to fake iSight camera... same procedure...

 

Keyboard kext:

http://rapidshare.com/files/365440932/AnyA...yboard.kext.zip

 

Mouse kext:

http://rapidshare.com/files/365444077/AnyA...BMouse.kext.zip

 

Camera kext:

http://rapidshare.com/files/365444698/AnyiSightCam.kext.zip

 

New Camera kext:

http://rapidshare.com/files/434106421/Anyi...Cam.kext_V2.zip

 

Enjoy...

Edited by Andy Vandijck
links corrected ;-)

Share this post


Link to post
Share on other sites
Advertisement

links not working,

could u please explain if I should unload voodoops2controller before using this.

would it work form E/E/

Share this post


Link to post
Share on other sites

Thanks for your great work, I am curious, I have a nearly perfectly working vanilla SL install, with the exception of my UVC class HP webcam. It works in Skype and Google talk, but not in Photobooth or iChat? Would this kext enable my webcam in these apps?

 

On my Leopard install it worked with all apps from day one!!!

 

Any advice would be greatly appreciated, cheers mate, Plucka

Share this post


Link to post
Share on other sites
I've made some new kexts that allow you to use Apple's AppleUSBHIDMouse.kext or AppleUSBHIDMouse.kext.

All you need to do is replace 4x the USB Vendor and USB Device entries with the decimal value of your keyboard or mouse and install them.

They will then after reboot ensure you are using Apple's kexts (which work much better).

I also created one to fake iSight camera... same procedure...

 

...

 

Hi,

 

 

Where exactly do I have to put those entries in "info.plist" file?

 

Here?:

 

			<dict>
...
		<key>idProduct</key>
		<integer>1234</integer>
		<key>idVendor</key>
		<integer>1234</integer>
	</dict>

...

 

Thanks in advanace! :)

Share this post


Link to post
Share on other sites
Hi,

 

 

Where exactly do I have to put those entries in "info.plist" file?

 

Here?:

 

			<dict>
...
		<key>idProduct</key>
		<integer>1234</integer>
		<key>idVendor</key>
		<integer>1234</integer>
	</dict>

...

 

Thanks in advanace! :)

 

For example: Asrock Mouse

 

Using Calculator from Applications

Product ID: 0x0001 (HEX) >> 1 (DEC)

VendorID : 0x062a (HEX) >> 1578 (DEC)

 

then replacing idProduct of 1234 with 1 and 1578 for idVendor.

Share this post


Link to post
Share on other sites

Firstly i thank you for your effort.

Secondly i have a problem with this, I have done what you mention on the first post and put the kexts in extention folder of my bootloader (BootThink 2.4.6). Now as you can se on my ioregistry screenshots below, i have both apple driver and another one loaded and when i change anything in mouse options it does not change anything and my mouse works exactly as it did before the new kext.

Have done something wrong? How can i fix it?

 

10mmwqx.png

2rgi8gg.png

Share this post


Link to post
Share on other sites

For mouse it allways attaches 2 interfaces (Accel + Mouse driver).

It's just a better way to use it...

Same goes for keyboard... works just like a real apple one (check .ioreg file from real mac...)

Share this post


Link to post
Share on other sites

yey!

Now my mbp5,4 is turning more into reality, with isight thingy.

 

thanx to Andy

Share this post


Link to post
Share on other sites

Andy, this is a really nice one

post-498884-1272477888_thumb.pngpost-498884-1272477911_thumb.png

Thank u for your hard work

Share this post


Link to post
Share on other sites

Andy, first, thanks for sharing these kext.

 

I have been attempting to get a 10.6 boot132 CD built so I can install my retail 10.6 on an HP Pavilion (p6340). The system has no PS/2 ports. The keyboard and mouse are both USB connected.

 

I used a system info app on Windows7 and a Linux lsusb command to check the device ID for the keyboard and mouse. I converted the hex to decimal and inserted the values in your kext info.plist files.

 

My problem is, when the retail DVD boots, I get to the language selection display and neither the keyboard or mouse will work.

 

The kext I am using are :

AnyAppleUSBKeyboard.kext
AnyAppleUSBMouse.kext
AppleIntelPIIXATA.kext
facesmc.kext

 

The info I get from CPU-z is:

post-51049-1281111464_thumb.png

post-51049-1281111479_thumb.png

 

Can anyone suggest what I may have missed or done wrong? Any suggestions would be greatly appreciated.

Share this post


Link to post
Share on other sites
Maybe problem is in your DSDT USB.

OR try a -f when loading DVD, maybe caches need fixing on it.

 

Thanks for the suggestions. I tried the -f (easiest first) but that had no effect.

 

I have not been able to locate a pre-boot cd for my version of HP Pavilion. So, I used one for another brand and dropped the DSDT from the setup. To replace it, I got a copy of the DSDT edit and patch app for Linux & Win. I used it under Windows 7 to extract the dsdt from the system and compile it. Without patches, just error fixes, It produced the same result.

 

So, now I am searching for improvements to the dsdt for my system. I don't want to divert or hi-jack this thread so If I still need help I will start a new topic. Many thanks.

Share this post


Link to post
Share on other sites
Yes my usb mouse now gets Appleusb one Thanks Andy for this nice work think about other components & periphericals

 

go ahead :(

 

Hi,

 

Can you send me your modified kext file as mine seems not to work. I'd like to compare mine with yours.

Share this post


Link to post
Share on other sites
Good job ;)

 

 

Nice work, will try it out when i get home.

 

Can this work for a PS/2 keyboard

Share this post


Link to post
Share on other sites

Thanks for your work! :)

 

Just a thought: it could be great to have an injector that will automatically detect and insert the Device and Vendor ID's into the kext...

Share this post


Link to post
Share on other sites

Hi all,

 

The VendorID and ProductID are present in 4 different place in the usb file.

Should I replace de 4 occurence ?

 

regards,

Barnum

Share this post


Link to post
Share on other sites
Hi all,

 

The VendorID and ProductID are present in 4 different place in the usb file.

Should I replace de 4 occurence ?

 

regards,

Barnum

Yes.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.



×