Jump to content

Any USB Apple keyboard / mouse...


  • Please log in to reply
56 replies to this topic

#1
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,613 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...
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.co...yboard.kext.zip

Mouse kext:
http://rapidshare.co...BMouse.kext.zip

Camera kext:
http://rapidshare.co...ghtCam.kext.zip

New Camera kext:
http://rapidshare.co...Cam.kext_V2.zip

Enjoy...

Edited by Andy Vandijck, 30 November 2010 - 05:35 PM.
links corrected ;-)


#2
valv

valv

    InsanelyMac Architect

  • Members
  • PipPipPipPipPipPipPip
  • 910 posts
  • Gender:Male
  • Location:Unrevealed Area
  • Interests:Operating Systems<br />Networking<br />Security
links not working,
could u please explain if I should unload voodoops2controller before using this.
would it work form E/E/

#3
_Wolverine_

_Wolverine_

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 138 posts
  • Gender:Male
  • Location:Brazil
i think thats only for usb keyboard/mouse and not ps2

#4
alabamas

alabamas

    InsanelyMac Protégé

  • Members
  • PipPip
  • 65 posts
  • Gender:Male
  • Location:Siena Italy
Could you please post some other links.Thanks

#5
chewanik

chewanik

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
Thanks for your work, can you explain the fake iSight camera kext, what can I do with it?

#6
pippo choi

pippo choi

    InsanelyMac Protégé

  • Members
  • Pip
  • 28 posts
Good ~Great work~

#7
teateam

teateam

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 153 posts
Thanks!
Can you make one for USB Bluetooth?

#8
Plucka

Plucka

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 162 posts
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

#9
bbeepp

bbeepp

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 150 posts
  • Gender:Male
  • Location:Poland

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! :)

#10
VCH888

VCH888

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 585 posts

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.

#11
Hazara

Hazara

    InsanelyMac Protégé

  • Members
  • PipPip
  • 91 posts
  • Gender:Male
  • Location:Sweden
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?

Posted Image
Posted Image

#12
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,613 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...
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...)

#13
valv

valv

    InsanelyMac Architect

  • Members
  • PipPipPipPipPipPipPip
  • 910 posts
  • Gender:Male
  • Location:Unrevealed Area
  • Interests:Operating Systems<br />Networking<br />Security
yey!
Now my mbp5,4 is turning more into reality, with isight thingy.

thanx to Andy

#14
valv

valv

    InsanelyMac Architect

  • Members
  • PipPipPipPipPipPipPip
  • 910 posts
  • Gender:Male
  • Location:Unrevealed Area
  • Interests:Operating Systems<br />Networking<br />Security
Andy, this is a really nice one
Attached File  mouse1.png   68.03KB   544 downloadsAttached File  mouse2.png   31.28KB   361 downloads
Thank u for your hard work

#15
BladeRunner

BladeRunner

    InsanelyMac Legend

  • Donators
  • 688 posts
  • Gender:Male
  • Location:New York
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 :[codebox]AnyAppleUSBKeyboard.kext
AnyAppleUSBMouse.kext
AppleIntelPIIXATA.kext
facesmc.kext[/codebox]

The info I get from CPU-z is:
Attached File  cpuz_1.PNG   60.08KB   99 downloads
Attached File  cpuz_2.PNG   40.6KB   65 downloads

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

#16
STLVNUB

STLVNUB

    InsanelyMac Legend

  • Coders
  • 1,123 posts
  • Gender:Male
Maybe problem is in your DSDT USB.
OR try a -f when loading DVD, maybe caches need fixing on it.

#17
BladeRunner

BladeRunner

    InsanelyMac Legend

  • Donators
  • 688 posts
  • Gender:Male
  • Location:New York

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.

#18
GLXOZ

GLXOZ

    InsanelyMac Protégé

  • Members
  • PipPip
  • 93 posts
  • Gender:Male
Cool work, Andy!!!

#19
MARKBOARD NETSET

MARKBOARD NETSET

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts
  • Gender:Male
  • Interests:Luck for Hack

Yes my usb mouse now gets Appleusb one Thanks Andy for this nice work go ahead :D



#20
bbeepp

bbeepp

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 150 posts
  • Gender:Male
  • Location:Poland

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.





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