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


- Winkie - 2010-01-08

Hi,
having followed the previous instructions (literally minutes ago), can I just copy the new files (libcrystalhd.dylib, BroadcomCrystalHD.kext) over the existing ones, or do I also need bcmFilePlayFw.bin to be recompiled in order to use these new files?

Please forgive me if this is a dumb question (I am very new to this).

Cheers,
Winkie


- ddale - 2010-01-08

Well thought I had it but.....

Have everything in place but the kext doesn't appear to be loading.

I already had nitotv installed so other kexts are loading just fine.

If I go to a command line and try to load the kext manually with this command:

sudo /sbin/kextload -v /System/Library/Extensions/BroadcomCrystalHD.kext

I get the following error:

kextload: extension /System/Library/Extensions/BroadcomCrystalHD.kext is not authentic (check ownership and permissions)

Any thoughts?

Darryl


- davilla - 2010-01-08

ddale Wrote:Well thought I had it but.....

Have everything in place but the kext doesn't appear to be loading.

I already had nitotv installed so other kexts are loading just fine.

If I go to a command line and try to load the kext manually with this command:

sudo /sbin/kextload -v /System/Library/Extensions/BroadcomCrystalHD.kext

I get the following error:

kextload: extension /System/Library/Extensions/BroadcomCrystalHD.kext is not authentic (check ownership and permissions)

Any thoughts?

Darryl

yes, you did not pay attention to the guide at crystalhd-for-osx Smile

check ownership and permissions, humm. hint, chmod and chown.


- ddale - 2010-01-08

Found it.

Messed up the chown command on the kext.

It's loaded now (verified with kextstat)

Now to find a sample 720 / 1080p file to play somewhere. Anybody have some links?

Darryl

ddale Wrote:Well thought I had it but.....

Have everything in place but the kext doesn't appear to be loading.

I already had nitotv installed so other kexts are loading just fine.

If I go to a command line and try to load the kext manually with this command:

sudo /sbin/kextload -v /System/Library/Extensions/BroadcomCrystalHD.kext

I get the following error:

kextload: extension /System/Library/Extensions/BroadcomCrystalHD.kext is not authentic (check ownership and permissions)

Any thoughts?

Darryl



- davilla - 2010-01-08

Winkie Wrote:Hi,
having followed the previous instructions (literally minutes ago), can I just copy the new files (libcrystalhd.dylib, BroadcomCrystalHD.kext) over the existing ones, or do I also need bcmFilePlayFw.bin to be recompiled in order to use these new files?

Please forgive me if this is a dumb question (I am very new to this).

Cheers,
Winkie

bcmFilePlayFw.bin is firmware, does not get compiled. you can pull this directly from the svn at http://code.google.com/p/crystalhd-for-osx/ , once the license wording is resolved about re-distribution with Broadcom, then I'll bundle it with the download.


- fredaroony - 2010-01-08

davilla Wrote:bcmFilePlayFw.bin is firmware.


So this file doesnt get changed? i.e. with each revision.


- davilla - 2010-01-08

fredaroony Wrote:So this file doesnt get changed? i.e. with each revision.

Not currently, but it might change in the future depend on what Broadcom releases.


- davilla - 2010-01-08

davilla Wrote:bcmFilePlayFw.bin is firmware, does not get compiled. you can pull this directly from the svn at http://code.google.com/p/crystalhd-for-osx/ , once the license wording is resolved about re-distribution with Broadcom, then I'll bundle it with the download.

download updated to include firmware Smile


Any info on 10.6.2 support? - dailydisco - 2010-01-08

Looking at the google code page, I just realized it stats 10.4 and 10.5 as being supported. Any notions or ideas as to whether this works on 10.6.2? I ordered my card last week and didn't see this note until now... hoping the kext and lib will work in snow leopard on my Intel 950 mini HTPC!


- TeknoJnky - 2010-01-08

doesn't seem be loading for me:

Code:
-bash-2.05b$ sudo /sbin/kextload -v /System/Library/Extensions/BroadcomCrystalHD.kext
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

duno maybe is because it loaded the first time?

tried with both bcm kext after turbo kext and the very last

Code:
/sbin/turbo_kext_enabler.bin
/sbin/kextload -v /System/Library/Extensions/BroadcomCrystalHD.kext
/sbin/kextload -v /System/Library/Extensions/IOCDStorageFamily.kext
/sbin/kextload -v /System/Library/Extensions/IODVDStorageFamily.kext
/sbin/kextload -v /System/Library/Extensions/msdosfs.kext
/sbin/kextload -v /System/Library/Extensions/IOUSBMassStorageClass.kext
/sbin/kextload -v /System/Library/Extensions/AppleSMBIOS.kext
/sbin/kextload -v /System/Library/Extensions/IOSCSIArchitectureModelFamily.kext
/sbin/kextload -v /System/Library/Extensions/IOStorageFamily.kext
/sbin/kextload -v /System/Library/Extensions/cddafs.kext
/sbin/kextload -v /System/Library/Extensions/smbfs.kext
/sbin/kextload -v /System/Library/Extensions/udf.kext
/sbin/kextload -v /System/Library/Extensions/IOBluetoothFamily.kext
/sbin/kextload -v /System/Library/Extensions/IOBluetoothHIDDriver.kext
/sbin/kextload -v /System/Library/Extensions/IOHDIXController.kext
/sbin/kextload -v /System/Library/Extensions/ntfs.kext

but I also not getting the broadcom/crystalhd option in the video rendering options and this error in the xbmc log

Code:
22:55:20 T:2684407808 M:  4575232    INFO: removing tempfiles
22:55:20 T:2684407808 M:  4567040   DEBUG: SECTION:LoadDLL(libcrystalhd.dylib)
22:55:20 T:2684407808 M:  4464640   DEBUG: Loading: libcrystalhd.dylib
22:55:21 T:2684407808 M:  4407296   ERROR: CrystalHD: device open failed
22:55:21 T:2684407808 M:  4354048    INFO: CrystalHD: broadcom crystal hd not found
22:55:21 T:2684407808 M:  4354048  NOTICE: initialize done

http://pastebin.com/m441fd73b


Also, xbmc still seems to have only 720p in the display options even though its set to 1080p in the frontrow settings.


- agehring - 2010-01-08

Is anyone else using the SVN builds & a Harmony Remote?

The start/stop/pause/ff/rew/... keys have stopped working like they were in the 9.11 release, and the DMG that was shared earlier.

I've checked the keymap files, and unless I'm mistaken they look the same...


- herod98 - 2010-01-08

I used Davilla's binary

http://crystalhd-for-osx.googlecode.com/files/crystalhd-for-osx-1.0.0.zip

And the following instructions :-

http://todayguesswhat.blogspot.com/2010/01/thanks-davilla-and-xbmc-team-apple-tv.html


- davilla - 2010-01-08

might want to take a peek here http://xbmc.org/theuni/2010/01/08/xbmc-is-growing-up-gains-cool-new-services/


- davilla - 2010-01-08

dailydisco Wrote:Looking at the google code page, I just realized it stats 10.4 and 10.5 as being supported. Any notions or ideas as to whether this works on 10.6.2? I ordered my card last week and didn't see this note until now... hoping the kext and lib will work in snow leopard on my Intel 950 mini HTPC!

10.6 opens a 32/64 bit door with respect to driver and library. Under 10.6, the kext can be 32 or 64 bit but needs to match the os (32 bit or 64 bit). The current kext is 32 bit and "should" work under 32 bit 10.6, it maps the DMA region to below 4GB address space. However, I've not done any testing at all under 10.6. I'd have to setup a 10.6 boot on my macmini dev box. Maybe this weekend I can give it a shot.


- herod98 - 2010-01-08

I'm not sure if this is the best location or not.. or whether issue is Crystal HD related on ATV...

I've found that a few of my MKVs are playing only the audio component, and not showing the video. This accounts for about 30% of the files. The other 70% are playing back perfectly. Sorry if this is the wrong area for this.

Details here:

http://pastebin.com/d2a9d194b