InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   10.X (http://infinitemac.com/forumdisplay.php?f=36)
-   -   Apple Shipping Drive DVD fix (DeviceMergeNub for Snow Leopard) (http://infinitemac.com/showthread.php?t=6747)

andyvand 11-24-2010 10:03 PM

Apple Shipping Drive DVD fix (DeviceMergeNub for Snow Leopard)
 
I recently rewrote AppleUSBMergeNub for PCI linked devices.
The injector can operate against any IOPCIDevice entered device and can function for lots of things.
For fixing your DVD drive (to get it recognized in System Profiler as Apple Shipping Drive) you need IORegistryExplorer.

Install Procedure:
-Look up your DVD drive in IORegistryExplorer.
-Next get under it the IOSCSIPeripheralDeviceNub.
-Look up Vendor Identification (default in DeviceMergeNub Info.plist is "HL-DT-ST") and insert it in the Info.plist.
-Look up Product Identification (default in DeviceMergeNub Info.plist is "DVD-ROM GDR8162B") and insert it in the Info.plist.
-Install the kext in /System/Library/Extensions.
-Reboot
-Enjoy the Apple Shipping Drive recognized DVD drive. ;)

This should work for all PATA and non-AHCI SATA and AHCI drives.

Download including sources:
http://rapidshare.com/files/43291811...ceMergeNub.zip
The driver is under build/Release.

Download for Tiger, Leopard or Snow Leopard:
http://rapidshare.com/files/43349686...Nub_all_os.zip
Or below...
The driver is under build/Release (Tiger/Leopard).

Download for IORegistryExplorer (if you don't have it yet):
http://rapidshare.com/files/43068777...ryExplorer.zip

We serve to please... :D

milanca 11-27-2010 06:33 PM

Thanks Andy ;-)

Hope it can help my DVD drive from disappearing when in AHCI mode. No big deal, i use it in native IDE mode and there is no big difference, only ahci is more apple way.

-milanca

milanca 11-27-2010 07:38 PM

Confirming this beautiful tweak. Works like a charm! Thanks Andy for hooking us up (entire community) with all these extra tweaks!

http://i103.photobucket.com/albums/m...uperdrive3.jpg

Cheers,
-milanca

andyvand 11-27-2010 07:49 PM

Added builds for Tiger and Leopard ;)

andyvand 11-27-2010 07:50 PM

Quote:

Originally Posted by milanca (Post 51621)
Confirming this beautiful tweak. Works like a charm! Thanks Andy for hooking us up (entire community) with all these extra tweaks!

http://i103.photobucket.com/albums/m...uperdrive3.jpg

Cheers,
-milanca

No problem, my pleasure :D

sammity 12-17-2010 03:34 PM

Thank you Andyvand for an excellent tweak. But despite my efforts I just can't get it to work for me.
I'm running Snow leopard 10.6.5 64bit on a HP DV8-1200.
In the Release leopard folder I've opened the kext contents and I've edited the plist file to input my drive details from IOreg.
I've put in my DVD drive vendor id as hp, and the drive type as shown in my IOreg as CDDVDW TS-L633N.
Saved the plist file, installed the kext via kext helper and rebooted, but no success.

Perhaps I'm missing something simple, could you possibly share some ideas on where I'm going wrong?
Thanks in advance!

sammity 12-18-2010 03:11 AM

figured it out.

Running kextutil in terminal I get this message:


sh-3.2# kextutil /System/Library/Extensions/DeviceMergeNub.kext
Warnings:
Executable does not contain code for architecture:
x86_64

Can't load /System/Library/Extensions/DeviceMergeNub.kext - no code for running kernel's architecture.
Failed to load /System/Library/Extensions/DeviceMergeNub.kext - (libkern/kext) requested architecture/executable not found.

Thats why it won't work for me! Any chance it could be complied for 64bit?

ashp 12-18-2010 06:37 PM

Hi Andy,

Could I do this for two DVD drives in my computer (like combining EFI strings for device injection in chameleon). I'm just not sure how to go about this.

Regards,
Ash

andyvand 12-22-2010 07:06 PM

Quote:

Originally Posted by ashp (Post 51806)
Hi Andy,

Could I do this for two DVD drives in my computer (like combining EFI strings for device injection in chameleon). I'm just not sure how to go about this.

Regards,
Ash

Yes you can use it with 2 (or even more) drives by cloning the IOKitPersonalities entry and putting each of the drives into it.