XBMC Community Forum
Crystal HD Driver Error: Update script exited with status: 3 - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Kodi General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Mac OS X support (/forumdisplay.php?fid=56)
+---- Thread: Crystal HD Driver Error: Update script exited with status: 3 (/showthread.php?tid=71045)

Pages: 1 2


Crystal HD Driver Error: Update script exited with status: 3 - positive - 2010-03-29 15:29

Angry What?


- Elbert - 2010-03-29 15:36

Indeed, what? Providing a little bit more information and actually posing a question would make it easier for us to help you Wink


- positive - 2010-03-29 15:59

Install XBMC svn r28256
Code:
ssh frontrow@appletv.local
defaults write com.teamxbmc.xbmclauncher XBMCAdditionalDownloadPlistURLs -array-add http://crystalhd.sartori.at/files/crystalhd.plist

xbmc/downloads/CrystalHD Driver r26 - tap, write: download 1.0mb(100%) running crystalhd installer - Error: Update script exited with status: 3


- davilla - 2010-03-29 19:12

positive Wrote:Install XBMC svn r28256
Code:
ssh frontrow@appletv.local
defaults write com.teamxbmc.xbmclauncher XBMCAdditionalDownloadPlistURLs -array-add http://crystalhd.sartori.at/files/crystalhd.plist

xbmc/downloads/CrystalHD Driver r26 - tap, write: download 1.0mb(100%) running crystalhd installer - Error: Update script exited with status: 3

Can you manually retrieve the plist ?

"wget http://crystalhd.sartori.at/files/crystalhd.plist"


- tcroak - 2010-03-30 01:59

davilla Wrote:Can you manually retrieve the plist ?

"wget http://crystalhd.sartori.at/files/crystalhd.plist"

Is 28256 the most recent stable version that's out there?

I've noticed that I don't get any stutter at the 1 hr mark. Has this been fixed?


- davilla - 2010-03-30 03:42

tcroak Wrote:Is 28256 the most recent stable version that's out there?

I've noticed that I don't get any stutter at the 1 hr mark. Has this been fixed?

28256 is the current nightly release.


- tcroak - 2010-03-30 05:19

davilla Wrote:28256 is the current nightly release.

Davilla, you're just awesome. I don't know if I would have the fortitude that you do! Thank you for all you've done.

What's the URL for contribs?


- davilla - 2010-03-30 18:24

tcroak Wrote:Davilla, you're just awesome. I don't know if I would have the fortitude that you do! Thank you for all you've done.

What's the URL for contribs?

http://xbmc.org/contribute/donate/


- pantherman007 - 2010-05-17 05:42

I just popped a Crystal HD card into my ATV and am getting this same error. I have:

- ATV running 2.2
- Launcher 3.2.4 (ran it again just to be sure)
- Run andy204's script to add the Driver install into the Downloads section. My Launcher shows options for XBM9.11, XBMC SVN, CrystalHD r26, Boxee, and Launcher options.
- When I run the "CrystalHD Driver r26" application I see:
1) It downloads a 1MB crystalhd.tar.gz file (apparently successfully)
2) Screen flash, then "Downloading Update: CrystalHD Driver r26"
3) Another screen flash, the "Running crystalhd_install.sh..."
4) Then get "Error: Update script exited with status: 3"

I looked for the original (non Launcher) install script out on the sartori website in hopes I could get that to work, but it looks like it's been pulled down in favor of the newer, integrated option.

Can someone point me in the right direction, here? I'm not sure where the Launcher app is storing these files to look for logs. Many thanks -


- andy204 - 2010-05-17 08:03

hello,

exit code 3 means that the install script could not find a crystalhd card.
from the script:
Code:
#!/bin/sh
# andreas sartori andreas@sartori.at
# last modified: 2010-02-14
# exit codes
# 2: driver package does not exist
# 3: no crystalhd card installed
# 4: cant find turbo download

this is the code checking for the crystalhd card.
Code:
check_load()
{
    kextstat -b com.broadcom.crystalhd.driver |grep crystalhd > /dev/null 2>&1
    if [ $? -eq 0 ]; then
        echo $PW | sudo -S kextunload /System/Library/Extensions/BroadcomCrystalHD.kext > /dev/null 2>&1
        sleep 2
    fi
    echo $PW | sudo -S kextload /System/Library/Extensions/BroadcomCrystalHD.kext > /dev/null 2>&1
    if [ $? -eq 0 ]; then
        echo "crystalhd loaded"
      else
        echo "error loading crystalhd, exiting..."
        exit 3
      fi
}

this piece of code worked for several months now.

please check if the card has been installed the right way. where did you buy this card? ebay or logicsupply?

thanks for the information.

-andy


- pantherman007 - 2010-05-17 19:59

Thanks for confirming what the error code means.

I got the card from Logic Supply back in February/March. Used it successfully in a Dell Mini9 for a while and just moved it into the ATV last weekend. I'll re-seat the card in the ATV and try again. If that doesn't work, I'll put it back in the netbook and confirm it still works there.

No chance that still being on OS 2.2 is causing the card to fail to be recognized for some reason?


- pantherman007 - 2010-05-24 04:39

OK, I need a little more help here. I put the card back in the Dell Mini and it works. Here it is in the Device Manager:

http://i894.photobucket.com/albums/ac147/pantherman007/DeviceMgr.jpg

and here's a screenshot of XBMC using it (I think) while playing back a 720p MKV file on the Mini:

http://i894.photobucket.com/albums/ac147/pantherman007/CHDplayback-DellMini.jpg

So as far as I can determine, the card itself is fine. Put the same card back in the ATV, tried to install the driver via the Launcher script, and still get the Error 3 message.

Any specific logs that the script creates that I could grab and look at? Other ideas on what might be going on?


- davilla - 2010-05-24 06:34

when in doubt, do the script bits manually.


- haifischjunge - 2011-01-12 20:46

Ive got exactly the same problem. The card works in a Asus 1000H Netbook but not in the AppleTV, but maybe its the installation. Everything I try to install from the Menuextras or Nito fails.

Ill try a quick restore and rehack, I think its faster then anything else. (or the crystalbuntu image)


RE: Crystal HD Driver Error: Update script exited with status: 3 - nunz56 - 2012-03-21 01:00

Just installed a Crystal HD BCM970015 in my ATV 1. I have followed the steps below to load the drivers:

(2010-02-02 12:33)andy204 Wrote:  This is the easiest way to install the CrystalHD driver onto your AppleTV!

To make this easy install available log into your AppleTV
Code:
ssh frontrow@appletv.local

and enter:
Code:
defaults write com.teamxbmc.xbmclauncher XBMCAdditionalDownloadPlistURLs -array-add http://crystalhd.sartori.at/files/crystalhd.plist

This will add a new download source to your "Downloads" section in Launcher.

Current revision: r174 (Build Date: 20101027)

If you have Problems with a new build, you can enable the last working release CrystalHD r156 (20100826):

Code:
defaults write com.teamxbmc.xbmclauncher XBMCAdditionalDownloadPlistURLs -array-add http://crystalhd.sartori.at/devel/crystalhd.plist

--

and keep getting the "Error: Update script exited with status: 3" using either method.
I have reseated the card several times and still get the same error. I purchased the card from Logic Supply.
I have run Crystalbuntu from a USD stick and played 1080p video with good results, most of the time. Video choppy and hangs sometime. So I think the card is working properly with that OS.

Any idea why I keep getting the Error?