![]() |
#1
|
||||
|
||||
DeviceMergeNub for _DSM style injection (Injecting values into PCI devices with kext)
This is an example of using the DeviceMergeNub for injection.
The stock plist injects into an SMBus controller. In the case of the example it uses -Vendor ID: 0x8086 (Intel) with vendor-id (<86800000>) -Device ID: 0x27da with device-id (<da270000>) And it injects the following values through IOProviderMergeProperties: -device-id: set to 0x303a (<3a300000>) -name: set to pci8086,303a -IOName: set to pci8086,303a It is possible to inject for any device this way. It can even match for entire classes if class-code is used instead of vendor-id and device-id. IORegistryExplorer is handy for looking up the exact device entries. You need to get the Apple plist editor for editing the Info.plist Download example: http://rapidshare.com/files/43331213...Nub_inject.zip Download plist editor: http://rapidshare.com/files/43331229...ist_Editor.zip Download IORegistryExplorer: http://rapidshare.com/files/43068777...ryExplorer.zip Sources for DeviceMergeNub: http://rapidshare.com/files/43291811...ceMergeNub.zip Sources and builds for Tiger, Leopard and Snow Leopard: http://rapidshare.com/files/43349686...Nub_all_os.zip Last edited by andyvand; 11-27-2010 at 08:06 PM. |
#2
|
||||
|
||||
A proper plist example is the one attached below.
Sorry for the bad first example... ![]() 💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers. |