InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 11-24-2010, 10:03 PM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
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...

Last edited by andyvand; 11-27-2010 at 07:36 PM.
Reply With Quote
  #2  
Old 11-27-2010, 06:33 PM
milanca's Avatar
milanca milanca is offline
 
Join Date: Jan 2008
Location: Serbia and Montenegro
Posts: 326
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

Reply With Quote
  #3  
Old 11-27-2010, 07:38 PM
milanca's Avatar
milanca milanca is offline
 
Join Date: Jan 2008
Location: Serbia and Montenegro
Posts: 326
Confirming this beautiful tweak. Works like a charm! Thanks Andy for hooking us up (entire community) with all these extra tweaks!



Cheers,
-milanca

Reply With Quote
  #4  
Old 11-27-2010, 07:49 PM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
Added builds for Tiger and Leopard
Reply With Quote
  #5  
Old 11-27-2010, 07:50 PM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
Quote:
Originally Posted by milanca View Post
Confirming this beautiful tweak. Works like a charm! Thanks Andy for hooking us up (entire community) with all these extra tweaks!



Cheers,
-milanca
No problem, my pleasure
Reply With Quote
  #6  
Old 12-17-2010, 03:34 PM
sammity sammity is offline
Cheetah
 
Join Date: Dec 2010
Posts: 3
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!
Reply With Quote
  #7  
Old 12-18-2010, 03:11 AM
sammity sammity is offline
Cheetah
 
Join Date: Dec 2010
Posts: 3
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?
Reply With Quote
  #8  
Old 12-18-2010, 06:37 PM
ashp ashp is offline
Cheetah
 
Join Date: Mar 2010
Location: London, United Kingdom
Posts: 10
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
Reply With Quote
  #9  
Old 12-22-2010, 07:06 PM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
Quote:
Originally Posted by ashp View Post
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.



💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers.

Reply With Quote