Jump to content

Apple Shipping drive DVD fix (for PATA/SATA)


  • Please log in to reply
41 replies to this topic

#1
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,619 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...
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.co...iceMergeNub.zip
Or below...
The driver is under build/Release.

Download for Tiger, Leopard or Snow Leopard:
http://rapidshare.co...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.co...tryExplorer.zip

We serve to please... :D

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

Attached Files



#2
apatsufas

apatsufas

    InsanelyMac Protégé

  • Members
  • PipPip
  • 55 posts
  • Gender:Male
Hope this helps with AHCI DVD.

Attached Files



#3
kmare

kmare

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 121 posts
  • Gender:Male
  • Location:Toronto
Whats the benefit? Thanks

#4
ricola

ricola

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 171 posts
  • Gender:Male

For AHCI I need more Info.
If somebody with AHCI linked drive would be so kind to give me .ioreg save of his system I would be able to write the injector for that as well.

Attached File  AHCI_DVD.zip   749.38KB   94 downloads

#5
weizh126

weizh126

    InsanelyMac Protégé

  • Members
  • PipPip
  • 64 posts
Here is mine.
Thanks.
Attached File  Archive.zip   464.38KB   49 downloads

#6
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,619 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...

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.

#7
apatsufas

apatsufas

    InsanelyMac Protégé

  • Members
  • PipPip
  • 55 posts
  • Gender:Male

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

#8
ErmaC

ErmaC

    127.0.0.1

  • Supervisors
  • 4,671 posts
  • Gender:Male
  • Location:Canary Islands
THX Andy.

Here my result. (No test DVD player).

AHCI SATA

Posted Image

other things..
In my kernel log...

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

??? Any Idea?

Fabio

#9
Smith@@™

Smith@@™

    InsanelyMac LOL

  • Retired
  • 2,928 posts
  • Gender:Male
  • Location:Somewhere over the rainbow...ITALIA!
  • Interests:Dark matter and dark energy. E basta. HD3000. E basta.
Posted Image

slightly modified so to have as in picture also

use same procedure explain by andy to substitute the values (IOAHCISerialATAPI)
Attached File  DeviceMergeNub.kext.zip   29.77KB   153 downloads

:D

#10
apatsufas

apatsufas

    InsanelyMac Protégé

  • Members
  • PipPip
  • 55 posts
  • Gender:Male
Thanks guys!! Work great!

Here are my results

Attached Files

  • Attached File  cd.png   24.84KB   186 downloads


#11
RaMDaY

RaMDaY

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 184 posts
  • Gender:Male
  • Location:New York City
Will this work if I two optical drives?

#12
rayap

rayap

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 162 posts
  • Gender:Male
It's fun. Hope to see benefits asap.

[codebox]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
[/codebox]

Is this what is expected in kernel.log?

#13
ivik

ivik

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 280 posts

slightly modified so to have as in picture also

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

;)



What about pata drives?

Posted Image

And under pata device:

Posted Image

Maybe this could enable low power polling. :)

#14
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,619 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...

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?

Posted Image

And under pata device:

Posted Image

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

Attached Files



#15
RaMDaY

RaMDaY

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 184 posts
  • Gender:Male
  • Location:New York City
Cool. Thanks

#16
Peter_sm

Peter_sm

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 265 posts
@Andy Vandijck

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

Attached Files



#17
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,619 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...

@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)

#18
Time2Retire

Time2Retire

    Retired

  • Retired Developers
  • 1,012 posts
  • Gender:Female
  • Location:anonymouse.eu
Low Power Polling:

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

#19
sama7896

sama7896

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 440 posts
  • Gender:Male
Hi Andy
Can you compile a version for Leopard 10.5.8 ? Current build doesn't work with leopard.

Thank you for your work

Attached Files



#20
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,619 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...

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... ;)





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