Jump to content
Welcome to InsanelyMac Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 
Andy Vandijck

Apple Shipping drive DVD fix (for PATA/SATA)

44 posts in this topic

Recommended Posts

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/432918115/DeviceMergeNub.zip

Or below...

The driver is under build/Release.

 

Download for Tiger, Leopard or Snow Leopard:

http://rapidshare.com/files/433496862/Devi...eNub_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/430687772/IORegistryExplorer.zip

 

We serve to please... :D

 

@Mackonsti: This is what you asked for. ;)

DeviceMergeNub.zip

DeviceMergeNub_all_os.zip

Share this post


Link to post
Share on other sites
Hope this helps with AHCI DVD.

I checked and it works the same way as PATA or non-AHCI SATA. :)

 

Whats the benefit? Thanks

The benefit should be better overall burning support and better functioning DVD player.

Share this post


Link to post
Share on other sites
I checked and it works the same way as PATA or non-AHCI SATA. ;)

 

 

The benefit should be better overall burning support and better functioning DVD player.

 

 

Thanks man !! Keep up the good work :)

Share this post


Link to post
Share on other sites

THX Andy.

 

Here my result. (No test DVD player).

 

AHCI SATA

 

resultf.png

 

other things..

In my kernel log...

 

...
Nov 25 11:28:12 localhost kernel[0]: ff800efc0d00]::MergeDictionaryIntoProvider  provider already had property
Vendor Identification[b]DeviceMergeNub[/b][0xffffff800efc0d00]::MergeDictionaryIntoProvider  setting property
Vendor Identification[b]DeviceMergeNub[/b][0xffffff800efc0d00]::MergeDictionaryIntoProvider  merging "Product
Identification"[b]DeviceMergeNub[/b][0xffffff800efc0d00]::MergeDictionaryIntoProvider  provider already had
property Product IdentificationDeviceMergeNub[0xffffff800efc0d00]::MergeDictionaryIntoProvider  setting property 
Product Identification-[b]DeviceMergeNub[/b][0xffffff800efc0d00]::MergeDictionaryIntoProvider(0xffffff800ef81700, 
0xffffff800e4d0180)  result 1USBMSC Identifier (non-unique): 0x204 0x6025 0x100
Nov 25 11:28:19 localhost kernel[0]: systemShutdown false
...

 

??? Any Idea?

 

Fabio

Share this post


Link to post
Share on other sites

It's fun. Hope to see benefits asap.

 

Rays-Mac-Pro kernel[0]: +DeviceMergeNub[0xffffff800f07fd00]::MergeDictionary(0xffffff800e988100)IntoProvider(0xffffff800a017400)DeviceMergeNub[0xffffff800f07fd00]::MergeDictionaryIntoProvider  merging "Model"DeviceMergeNub[0xffffff800f07fd00]::MergeDictionaryIntoProvider  provider already had property ModelDeviceMergeNub[0xffffff800f07fd00]::MergeDictionaryIntoProvider  setting property ModelDeviceMergeNub[0xffffff800f07fd00]::MergeDictionaryIntoProvider  merging "Revision"DeviceMergeNub[0xffffff800f07fd00]::MergeDictionaryIntoProvider  provider already had property RevisionDeviceMergeNub[0xffffff800f07fd00]::MergeDictionaryIntoProvider  setting property RevisionDeviceMergeNub[0xffffff800f07fd00]::MergeDictionaryIntoProvider  merging "Serial Number"DeviceMergeNub[0xffffff800f07fd00]::MergeDictionaryIntoProvider  provider already had property Serial NumberDeviceMergeNub[0xffffff800f07fd00]::MergeDictionaryIntoProvider  setting property Serial Number-DeviceMergeNub[0xffffff800f07fd00]::MergeDictionaryIntoProvider(0xffffff800a017400, 0xffffff800e988100)  result 1

 

Is this what is expected in kernel.log?

Share this post


Link to post
Share on other sites
slightly modified so to have as in picture also

 

use same procedure explain by andy to substitute the values (IOAHCISerialATAPI)

 

;)

 

 

What about pata drives?

 

burning.png

 

And under pata device:

 

atax.png

 

Maybe this could enable low power polling. :)

Share this post


Link to post
Share on other sites
Will this work if I two optical drives?

Yes, this can work for 2 (or even more).

Use the Apple plist editor to clone the "Fake DVD Drive SCSI ID" under IOKitPersonalities.

Put the first drive in the first, the second drive in the second and install it.

Voila, you now have both recognized as Apple Shipping Drive.

To make it easy I've also attached the Info.plist with allready cloned entry (you can use it)

 

What about pata drives?

 

burning.png

 

And under pata device:

 

atax.png

 

Maybe this could enable low power polling. ;)

I could look into it.

If I find a Mac that enables it I know just what key to inject/alter. :D

I'll do it when I have a bit more time (later on) :D

Info.plist_two_drives.zip

Share this post


Link to post
Share on other sites
@Andy Vandijck

 

Could you see what you can do for me to get a proper install, see my attached files :P

Yes, I'll check it later (when I have the time)

Share this post


Link to post
Share on other sites

Low Power Polling:

 

IODVDServices -> Device Characteristics (Dictionary) -> Low Power Polling (Boolean) -> True

IODVDServices -> Device Characteristics (Dictionary) -> Power Off (Boolean) -> True

Share this post


Link to post
Share on other sites
Hi Andy

Can you compile a version for Leopard 10.5.8 ? Current build doesn't work with leopard.

 

Thank you for your work

I've made builds for Tiger and Leopard as requested... ;)

Share this post


Link to post
Share on other sites
I've made builds for Tiger and Leopard as requested... :D

Thank you very much

Device is listed as Asus in SATA device tree, but as Apple shipping drive in Disc Burning section of System profiler. No burn test yet. Pic bellow.

post-7528-1290895118_thumb.png

Share this post


Link to post
Share on other sites

Thanks for this fix works really good, now my two dvds show as apple shipping in GA EP45-DS3 hack. However I have this really strange thing happening with my Asus P6T-SE hack where I can only make one of my two dvds show as Apple shipping. What´s even more strange is that in the Asus rig I have two different brand dvds and the one I can´t make show up as Apple shipping is the same kind as the two that actually do show as Apple shipping in my GA rig?

 

Could it be it has to be two of the same?

 

These are Sata dvds.

 

Thanks

Share this post


Link to post
Share on other sites
Thanks for this fix works really good, now my two dvds show as apple shipping in GA EP45-DS3 hack. However I have this really strange thing happening with my Asus P6T-SE hack where I can only make one of my two dvds show as Apple shipping. What´s even more strange is that in the Asus rig I have two different brand dvds and the one I can´t make show up as Apple shipping is the same kind as the two that actually do show as Apple shipping in my GA rig?

 

Could it be it has to be two of the same?

 

These are Sata dvds.

 

Thanks

Shouldn't matter.

Just clone the IOKitPersonalities entry n times and set for each DVD.

It should work just fine. ;)

Share this post


Link to post
Share on other sites

Sorry to be an extreme noob with this, but what info.plist do I need to edit? And I was referred to this thread because my DVD was spinning up without a disc in it every so often... will this fix that problem?

 

EDIT

 

I am dumb lol. I edited the info.plist inside the kext, and I replaced the default values as stated by Andy with the values from my dvd drive (HP DVD Writer 1260d). I rebooted, and I still have the "generic drive" in the about this mac. So, I don't think it worked for me. I'm running Snow Leopard with the latest updates.

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.



×