Manually installing CrystalHD driver/lib/firmware

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
-Matt- Offline
Junior Member
Posts: 27
Joined: Apr 2009
Reputation: 0
Post: #131
davilla Wrote:did you reboot after updating the kext ?

Yes



davilla Wrote:cat /System/Library/Extensions/BroadcomCrystalHD.kext/Contents/Info.plist

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>CFBundleDevelopmentRegion</key>
        <string>English</string>
        <key>CFBundleExecutable</key>
        <string>BroadcomCrystalHD</string>
        <key>CFBundleIdentifier</key>
        <string>com.broadcom.crystalhd.driver</string>
        <key>CFBundleInfoDictionaryVersion</key>
        <string>6.0</string>
        <key>CFBundlePackageType</key>
        <string>KEXT</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        [b][color=red]<key>CFBundleVersion</key>
        <string>0.9.26</string>[/color][/b]
        <key>IOKitPersonalities</key>
        <dict>
                <key>FirstPersonality</key>
                <dict>
                        <key>CFBundleIdentifier</key>
                        <string>com.broadcom.crystalhd.driver</string>
                        <key>IOClass</key>
                        <string>BroadcomCrystalHD</string>
                        <key>IOMatchCategory</key>
                        <string>BroadcomCrystalHD</string>
                        <key>IOPCIMatch</key>
                        <string>0x161214e4</string>
                        <key>IOProviderClass</key>
                        <string>IOPCIDevice</string>
                </dict>
        </dict>
        <key>OSBundleLibraries</key>
        <dict>
                <key>com.apple.kpi.bsd</key>
                <string>8.0.0</string>
                <key>com.apple.kpi.iokit</key>
                <string>8.0.0</string>
                <key>com.apple.kpi.libkern</key>
                <string>8.0.0</string>
                <key>com.apple.kpi.mach</key>
                <string>8.0.0</string>
        </dict>
</dict>
</plist>



davilla Wrote:CFBundleVersion should be 3.6.0

Still stuck on 0.9.2.6. For some reason I can't seem to overwrite the old version. I must be missing a step to make the hard disk writable.
find quote
davilla Offline
Team-XBMC Developer
Posts: 10,399
Joined: Feb 2008
Reputation: 58
Post: #132
-Matt- Wrote:Yes





Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>CFBundleDevelopmentRegion</key>
        <string>English</string>
        <key>CFBundleExecutable</key>
        <string>BroadcomCrystalHD</string>
        <key>CFBundleIdentifier</key>
        <string>com.broadcom.crystalhd.driver</string>
        <key>CFBundleInfoDictionaryVersion</key>
        <string>6.0</string>
        <key>CFBundlePackageType</key>
        <string>KEXT</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        [b][color=red]<key>CFBundleVersion</key>
        <string>0.9.26</string>[/color][/b]
        <key>IOKitPersonalities</key>
        <dict>
                <key>FirstPersonality</key>
                <dict>
                        <key>CFBundleIdentifier</key>
                        <string>com.broadcom.crystalhd.driver</string>
                        <key>IOClass</key>
                        <string>BroadcomCrystalHD</string>
                        <key>IOMatchCategory</key>
                        <string>BroadcomCrystalHD</string>
                        <key>IOPCIMatch</key>
                        <string>0x161214e4</string>
                        <key>IOProviderClass</key>
                        <string>IOPCIDevice</string>
                </dict>
        </dict>
        <key>OSBundleLibraries</key>
        <dict>
                <key>com.apple.kpi.bsd</key>
                <string>8.0.0</string>
                <key>com.apple.kpi.iokit</key>
                <string>8.0.0</string>
                <key>com.apple.kpi.libkern</key>
                <string>8.0.0</string>
                <key>com.apple.kpi.mach</key>
                <string>8.0.0</string>
        </dict>
</dict>
</plist>





Still stuck on 0.9.2.6. For some reason I can't seem to overwrite the old version. I must be missing a step to make the hard disk writable.

and also ignoring the error message that would result Smile


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
-Matt- Offline
Junior Member
Posts: 27
Joined: Apr 2009
Reputation: 0
Post: #133
Ok, I think I now have 3.6.0 installed properly.

Code:
-bash-2.05b$ kextstat | grep crystal
64    0 0x301e7000 0x18000    0x17000    com.broadcom.crystalhd.driver (3.6.0) <5 4 3 2>

Here is what I did (thanks to herod98 for suggesting adding the rm -rf commands):

Code:
sudo -s
mount -uw /
touch /.readwrite
rm -rf /System/Library/Extensions/BroadcomCrystalHD.kext
rm -rf /usr/lib/libcrystalhd.dylib
rm -rf /usr/lib/bcm70012fw.bin
rm -rf /usr/lib/bcm70015fw.bin
wget http://crystalhd-for-osx.googlecode.com/files/crystalhd-for-osx-3.6.0.zip
unzip crystalhd-for-osx-3.6.0
mv crystalhd-for-osx-3.6.0/BroadcomCrystalHD.kext /System/Library/Extensions/
mv crystalhd-for-osx-3.6.0/libcrystalhd.dylib /usr/lib/
mv crystalhd-for-osx-3.6.0/libcrysbcm70012fw.bin /usr/lib/
mv crystalhd-for-osx-3.6.0/libcrysbcm70015fw.bin /usr/lib/
chown -R root:wheel /System/Library/Extensions/BroadcomCrystalHD.kext
chmod -R 755 /System/Library/Extensions/BroadcomCrystalHD.kext
chown -R root:wheel /usr/lib/libcrystalhd.dylib
chmod -R 755 /usr/lib/libcrystalhd.dylib
chown -R root:wheel /usr/lib/bcm70012fw.bin
chmod -R 644 /usr/lib/bcm70012fw.bin
chown -R root:wheel /usr/lib/bcm70015fw.bin
chmod -R 644 /usr/lib/bcm70015fw.bin
touch /.readwrite
mount -uw /


Pretty sure that is effectively the same as what I tried last night. Anyway, I did everything really carefully one step at a time (checking that the files were removed after the rm commands etc) it seems to have worked this time.

davilla Wrote:and also ignoring the error message that would result Smile

By the way, last night, the mv commands did not result in an error message but for some reason they failed to overwrite the existing files.
(This post was last modified: 2010-08-25 22:49 by -Matt-.)
find quote
-Matt- Offline
Junior Member
Posts: 27
Joined: Apr 2009
Reputation: 0
Post: #134
...So now I am allowed to use my tv! Upon testing the install I still don't get a "CrystalHD" option under "Settings>Video>Playback>Render method".

Please can someone confirm what is the expected behaviour if the install has worked? Should there be a "CrystalHD" option or am I mistaken?

I do have the: "Settings>Video>Playback>Allow hardware acceleration (CrystalHD)" checkbox checked.

Is that all I should expect?



dmesg

Code:
BroadcomCrystalHD::start
crystalhd_hw_open: setting up functions, device = Link
Starting Crystal HD Device
Opening HW. hw:0x1e94404, hw->adp:0x1f4ad00
Stopping Crystal HD Device
BroadcomCrystalHD: Found HW and started driver SW.
netsmb_dev: loaded
Opening new user[0] handle
crystalhd_hw_open: setting up functions, device = Link
Starting Crystal HD Device
Opening HW. hw:0x22ef404, hw->adp:0x1f4ad00
BroadcomCrystalHD opened
allocated 18 elem
Initializing Dio pool 10 1024 305c 0x1df0e64
crystalhd_link_download_fw entered
Firmware Downloaded Successfull
crystalhd_link_do_fw_cmd entered
find quote
davilla Offline
Team-XBMC Developer
Posts: 10,399
Joined: Feb 2008
Reputation: 58
Post: #135
-Matt- Wrote:...So now I am allowed to use my tv! Upon testing the install I still don't get a "CrystalHD" option under "Settings>Video>Playback>Render method".

Please can someone confirm what is the expected behaviour if the install has worked? Should there be a "CrystalHD" option or am I mistaken?

I do have the: "Settings>Video>Playback>Allow hardware acceleration (CrystalHD)" checkbox checked.

The setting for CrystalHD moved from Renderer to it's own checkbox several months ago. This is normal.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
-Matt- Offline
Junior Member
Posts: 27
Joined: Apr 2009
Reputation: 0
Post: #136
Ok great, so hopefully that means everything is installed correctly.

I'm still having problems playing a 720p movie but it might be the file.
find quote
Post Reply