Jump to content

fluid | fixed

Apple Shipping drive DVD fix (for PATA/SATA)


  • Please log in to reply
34 replies to this topic

#1
Andy Vandijck

Andy Vandijck

    InsanelyMac Legend

  • Coders
  • 1,082 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
  • 120 posts
  • Gender:Male
  • Location:Toronto
Whats the benefit? Thanks

#4
ricola

ricola

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 170 posts
  • Gender:Male

View PostAndy Vandijck, on Nov 24 2010, 09:02 PM, said:

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.38K   86 downloads

#5
weizh126

weizh126

    InsanelyMac Protégé

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

#6
Andy Vandijck

Andy Vandijck

    InsanelyMac Legend

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

View Postapatsufas, on Nov 24 2010, 11:50 PM, said:

Hope this helps with AHCI DVD.
I checked and it works the same way as PATA or non-AHCI SATA.  :)

View Postkmare, on Nov 25 2010, 02:01 AM, said:

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

View PostAndy Vandijck, on Nov 25 2010, 12:22 PM, said:

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,245 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[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

#9
Smith@@™

Smith@@™

    InsanelyMacaholic

  • Retired
  • 2,723 posts
  • Gender:Male
  • Location:Somewhere over the rainbow... (Italy)- maybe Naples?
  • Interests:le solite fesserie scritte in un box del genere
    A vent'anni che interessi si possono...
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.77K   138 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.84K   184 downloads


#11
RaMDaY

RaMDaY

    InsanelyMac Geek

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

#12
rayap

rayap

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 140 posts
  • Gender:Male
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?

#13
ivik

ivik

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 280 posts

View PostSmith@@™, on Nov 25 2010, 03:48 PM, said:

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 Legend

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

View PostRaMDaY, on Nov 26 2010, 06:22 AM, said:

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)

View Postivik, on Nov 26 2010, 12:32 PM, said:

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
  • 182 posts
  • Gender:Male
  • Location:New York City
Cool. Thanks

#16
Peter_sm

Peter_sm

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 257 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 Legend

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

View PostPeter_sm, on Nov 27 2010, 09:42 AM, said:

@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
  • 439 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 Legend

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

View Postsama7896, on Nov 27 2010, 06:16 PM, said:

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

© 2013 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   Web hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy