Muchas Gracias !!!! Me funciono a la PERFECCION !!!
This little script worked for me in ML 10.8.1. I got the -70012 error when I changed the sata port my DVD drive was connected to. DVDs would show on the desktop and System report still showed the drive connected. So I ran the script and selected internal first (no joy) then external and DVD player worked again. Hope this works for some of you guys too.
View attachment 29660
Attached is a copy of the DVDPlayback.framework from a working virtual copy of Lion.
Move your current version of DVDPlayback.framework to the Desktop and extract the attached version in: /System/Library/Frameworks.
Run the commands again, hopefully that should do the trick.
Also included a patched version that you can try.
Personally skipped patching the Mountain Lion framework, patched the attached one instead to fix the error.
Let me know what you find.
Not sure if anyone else encountered this issue after upgrading to ML, but kept getting a "Valid DVD Drive could not be found -70012" when playing a DVD or Blu-Ray disc on drives previously working in Lion.
To fix this error, run the following commands in Terminal:
Step 1 - Create a backup of DVDPlayback.framework
sudo cp /System/Library/Frameworks/DVDPlayback.framework/Versions/A/DVDPlayback /System/Library/Frameworks/DVDPlayback.framework/Versions/A/DVDPlayback.bak
Step 2 - Patch DVDPlayback
sudo perl -pi -e 's|\x49\x6E\x74\x65\x72\x6E\x61\x6C|\x45\x78\x74\x 65\x72\x6E\x61\x6C|g' /System/Library/Frameworks/DVDPlayback.framework/Versions/A/DVDPlayback
Now playback, eject, and auto sleep should be working again. If these steps don't work, try copying the DVDPlayback.framework from a working Lion installation, then run the commands. Good luck!
I just need to choose the DVD drive to finish the shopping list for my first build for Mountain Lion.
I don't find Sony Optiarc. The trick works with any of these models?:
Asus DRW-24B5ST/BLK1
Asus DH0003ER-SB
LG GH24NS90
LG GH24NS95
Pioneer DVR-220LBK
Thanks in advance
Attached is a copy of the DVDPlayback.framework from a working virtual copy of Lion.
Move your current version of DVDPlayback.framework to the Desktop and extract the attached version in: /System/Library/Frameworks.
Run the commands again, hopefully that should do the trick.
Also included a patched version that you can try.
Personally skipped patching the Mountain Lion framework, patched the attached one instead to fix the error.
Let me know what you find.