Kodi Community Forum
[AppleTV] Compiling crystalhd-for-osx Lib/Kext - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Mac OS X (https://forum.kodi.tv/forumdisplay.php?fid=56)
+---- Thread: [AppleTV] Compiling crystalhd-for-osx Lib/Kext (/showthread.php?tid=66174)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19


- Bobby Blixberg - 2010-01-09

not2fast Wrote:Sorry Bobby, I don't know.
It's just one of the steps I did to get mine working and booting at startup.

What happens if you try:
sudo -s
enter password (frontrow)

and then try to load the kext?

This is how I load the drivers manually, but I have to enter this before I can load the driver:

chmod 755 /sbin/turbo_atv_enabler.bin
/sbin/turbo_atv_enabler.bin

Otherwise I get:
kextload: extension /System/Library/Extensions/BroadcomCrystalHD.kext appears to be valid
kextload: loading extension /System/Library/Extensions/BroadcomCrystalHD.kext
kextload: unable to register module with kernel
kextload: a link/load error occured for kernel extension /System/Library/Extensions/BroadcomCrystalHD.kext
kextload: sending 1 personality to the kernel



- not2fast - 2010-01-09

Bobby Blixberg Wrote:This is how I load the drivers manually, but I have to enter this before I can load the driver:

chmod 755 /sbin/turbo_atv_enabler.bin
/sbin/turbo_atv_enabler.bin

Otherwise I get:
kextload: extension /System/Library/Extensions/BroadcomCrystalHD.kext appears to be valid
kextload: loading extension /System/Library/Extensions/BroadcomCrystalHD.kext
kextload: unable to register module with kernel
kextload: a link/load error occured for kernel extension /System/Library/Extensions/BroadcomCrystalHD.kext
kextload: sending 1 personality to the kernel

Seems like a permissions problem to me, but I don't know why. Sorry.
Let's wait for one of the experts...


- Bobby Blixberg - 2010-01-09

Sounds like a good idea - thanks for your support anyway Smile

And I am still hoping for better performance - with the current drivers most of my 1080p and 720p mkv Videos are heavily stuttering (playing from a NAS over 100 MBit LAN).


- not2fast - 2010-01-09

My pleasure.

I'm also playing 720p and 1080p MKV content over NAS and apart from the behaviour descriped in this post http://forum.xbmc.org/showpost.php?p=478301&postcount=995 (with the answer from Davilla. So we have to be patient...Wink) no heavily stuttering at all.
Your NAS is able to keep up?


- Bobby Blixberg - 2010-01-09

Yes, and HD movies play like a charm from my WD TV live - same LAN, same NAS.

I just copied a 720p movie to my aTV, even this local file is stuttering heavily :confused2:

DV3B Wrote:Also I'm using XBMC SVN revision 26558 and crystalhd r17.

I'm using the same XBMC release, but where did you get crystalhd r17 from?
Most recent version for MacOSX is r16:
http://code.google.com/p/crystalhd-for-osx/downloads/list


- purplechris - 2010-01-09

excellent instructions, apple tv now working with my broadcom hd, after a quick trip to find a t10 and t8 screwdriver. instructions work a treat. had to amend slightly as i found wget didnt work on my atv


- interceptor121 - 2010-01-09

purplechris Wrote:excellent instructions, apple tv now working with my broadcom hd, after a quick trip to find a t10 and t8 screwdriver. instructions work a treat. had to amend slightly as i found wget didnt work on my atv

You don't actually need a Torx8 the 10 will unscrew the chip just fine


How to Guide - purplechris - 2010-01-09

After following the procedures and getting everything working, even as a noob in modding the apple tv, i thought a full guide, will images for both software and hardware installation would be helpful to the community, and i would like to give something back.

So here is my start to finished hardware then software installation guide for the broadcom on the atv. i really hope this helps someone.

http://www.blogythefox.co.uk/2010/01/09/apple-tv-broadcom-hd-card-hardware-and-software-installation/

Full credit obviously needs to go to Davilla, XBMC Team, Turbo Team, Matt for the guide i used and have adapted, the original writer and photographer of the hardware installation and of course you for using this guide.

i hope this helps, any comments or feedback would be great.


- NineT9mustang - 2010-01-10

I think Ive done everything required for the CrystalHD, the only problem I am having is getting TheQuestar download to show up in the Launcher... Can anyone verify this is correct for the command?

defaults read com.teamxbmc.xbmclauncher XBMCAdditionalDownloadPlistURLs 2>/dev/null | grep –silent http://www.sshcs.com/xbmc/Info.asp
if [ $? -eq 1 ]; then
defaults write com.teamxbmc.xbmclauncher XBMCAdditionalDownloadPlistURLs -array http://www.sshcs.com/xbmc/Info.asp
fi


Sometimes I would get URL invalid, so I would add/remove the http:// part, and still doesn't work Sad

Using Launcher 3.2.1


- steve1977 - 2010-01-10

Bobby Blixberg Wrote:You have to enter the following (SSH of course) after rebooting apple TV:

cd /sbin
chmod 755 turbo_atv_enabler.bin
sudo ./turbo_kext_enabler.bin
sudo kextload -v 6 /System/Library/Extensions/BroadcomCrystalHD.kext

Thanks for your help. After entering "chmod 755 turbo..." it returns "no such file or directory". Any thoughts?


- davilla - 2010-01-10

steve1977 Wrote:Thanks for your help. After entering "chmod 755 turbo..." it returns "no such file or directory". Any thoughts?

if the file "turbo_atv_enabler.bin" is not in "/sbin", kinda hard to use chmod on it, right ?


- steve1977 - 2010-01-10

davilla Wrote:if the file "turbo_atv_enabler.bin" is not in "/sbin", kinda hard to use chmod on it, right ?

Fair ;-) Manually copied it there and followed the instructions. Everything works now. It actually closes with ".../BroadcomCrytalHD.kext is already loaded".

In the meantime, I have also succeeded to install the nightly built.

However, it still doesnt show up in the video-playback options. What's the easiest for me to find out why? Thanks for your help!!!


- davilla - 2010-01-10

steve1977 Wrote:Fair ;-) Manually copied it there and followed the instructions. Everything works now. It actually closes with ".../BroadcomCrytalHD.kext is already loaded".

In the meantime, I have also succeeded to install the nightly built.

However, it still doesnt show up in the video-playback options. What's the easiest for me to find out why? Thanks for your help!!!

kext loaded ? check.
library at /usr/lib/libcrystalhd.dylib ?
firmware at /usr/lib/bcmFilePlayFw.bin ?
review xbmc.log ?
review system messages with "sudo dmesg" ?


- steve1977 - 2010-01-10

davilla Wrote:kext loaded ? check.

Not sure how to check.

davilla Wrote:library at /usr/lib/libcrystalhd.dylib ?
firmware at /usr/lib/bcmFilePlayFw.bin ?

yes and yes

davilla Wrote:review xbmc.log ?
review system messages with "sudo dmesg" ?

Looked through sudo dmesg, but didnt see anything. Where is the log on the ATV?


- m_lopez_h - 2010-01-10

Anyone else experiencing dropped frames / stuttering with SD content with the recent SVN builds? Enabling or disabling the crystal HD drivers makes no difference in SD performance (stuttering is still there).

Reverting back to the 9.11 release solves the stuttering problem but I lose the ability to decode HD...