Kodi Community Forum
[AppleTV] CrystalHD Driver for XBMC Launcher - 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] CrystalHD Driver for XBMC Launcher (/showthread.php?tid=69321)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30


- untg99 - 2010-03-31

Although I just contacted the ebay seller and they told me that these cards will not work with 'apple products'.

I replied, saying that if it will not work, it's either faulty or fraudulent and not as described in the ebay listing, since any standard card should work the Apple TV.


- davilla - 2010-03-31

untg99 Wrote:Although I just contacted the ebay seller and they told me that these cards will not work with 'apple products'.

I replied, saying that if it will not work, it's either faulty or fraudulent and not as described in the ebay listing, since any standard card should work the Apple TV.

The ebay seller is looking for an out. Tell him the drivers are blessed by Broadcom and we work very closely with them. The card is defective and he knows it.


- tuckbodi - 2010-03-31

Hmmm, in 28256 I can see my card and select it, but in svn28937 (and others this past week or so) it no longer appears as a selection in the Playback/Render Method. Is this an indication of a bad card (ebay) or maybe how I'm building my SVN's (followed readme.osx on the svn download)?

ATV 3.0.2
Launcher 3.2.4
XBMC 28256 & 28937
Broadcom Installer r26

svn 28256
xbmc.log: http://pastebin.com/dqYViBcJ
dmesg & kextstat: http://pastebin.com/wDaJs02V

svn 28937
xbmc.log: http://pastebin.com/7ugNtPGQ
dmesg & kextstat: http://pastebin.com/HGNYt49r

MediaInfo on test movie: http://pastebin.com/gNTMvAsP

Steps to reproduce:
1) Install XBMC to Applications folder (28256 from Launcher and 28937 from build and then copy to mounted ATV Applications folder)
2) Install CrystalHD Driver r26 from Launcher
3) Reboot ATV
4) Launch XBMC and go to System/Video/Playback/Render Method
5) 28256 I can select Broadcom BUT on 28937 I do not see it

As always, a big thanks to the dev's and their hard work!


- davilla - 2010-03-31

tuckbodi Wrote:Hmmm, in 28256 I can see my card and select it, but in svn28937 (and others this past week or so) it no longer appears as a selection in the Playback/Render Method. Is this an indication of a bad card (ebay) or maybe how I'm building my SVN's (followed readme.osx on the svn download)?

ATV 3.0.2
Launcher 3.2.4
XBMC 28256 & 28937
Broadcom Installer r26

svn 28256
xbmc.log: http://pastebin.com/dqYViBcJ
dmesg & kextstat: http://pastebin.com/wDaJs02V

svn 28937
xbmc.log: http://pastebin.com/7ugNtPGQ
dmesg & kextstat: http://pastebin.com/HGNYt49r

MediaInfo on test movie: http://pastebin.com/gNTMvAsP

Steps to reproduce:
1) Install XBMC to Applications folder (28256 from Launcher and 28937 from build and then copy to mounted ATV Applications folder)
2) Install CrystalHD Driver r26 from Launcher
3) Reboot ATV
4) Launch XBMC and go to System/Video/Playback/Render Method
5) 28256 I can select Broadcom BUT on 28937 I do not see it

As always, a big thanks to the dev's and their hard work!

svn 28937=> compiled in hardware support: Crystal HD:no , check what configure says at the end.


- tuckbodi - 2010-03-31

davilla Wrote:svn 28937=> compiled in hardware support: Crystal HD:no , check what configure says at the end.

XBMC Configuration
-----------------------
CrystalHD: No

Aha, excellent news...my card lives to another day! Guess I'll keep an eye on trac. Just wanted to play with the dds and mysql stuff so I went for it. Thx for the heads up.


- davilla - 2010-03-31

tuckbodi Wrote:XBMC Configuration
-----------------------
CrystalHD: No

Aha, excellent news...my card lives to another day! Guess I'll keep an eye on trac. Just wanted to play with the dds and mysql stuff so I went for it. Thx for the heads up.

This means that configure cannot find the CrystalHD lib and include headers on the build platform.


- tcroak - 2010-04-01

Which one is the most recent stable (fairly) build?


- davilla - 2010-04-01

tcroak Wrote:Which one is the most recent stable (fairly) build?

the tag 1.0.3 at crystalhd-for-osx google code project.


- andy204 - 2010-05-07

since the start of my installer, there have been 3231 downloads! yay Smile


- grey - 2010-05-07

congrats)


- brock_gonad - 2010-05-08

andy204 Wrote:since the start of my installer, there have been 3231 downloads! yay Smile

At least 4 of those are mine, Big Grin

my own, plus 2 co-workers, and 1 friend I that I talked into it.

Looking forward to more great updates in the future!

Thanks


- da-bitsch - 2010-05-11

untg99 Wrote:Hi Guys,

Thanks a lot for the great work on this, I've just installed my Broadcom HD card into the ATV and it either is not recognising it or failing at some other point, I have:


bash-2.05b# kextstat | grep crystalhd
65 0 0x2fcfb000 0xb000 0xa000 com.broadcom.crystalhd.driver (0.9.26) <5 4 3 2>


But:
bash-2.05b# dmesg | grep -i crystal

Displays nothing?

I followed the instructions to install the latest SVN(r28923) and drivers(r26).

The relevant XBMC lines seem to be:


bash-2.05b# grep -i crystal /Users/frontrow/Library/Logs/xbmc.log
21:32:35 T:2684407808 M: 34086912 DEBUG: SECTION:LoadDLL(libcrystalhd.dylib)
21:32:35 T:2684407808 M: 34054144 DEBUG: Loading: libcrystalhd.dylib
21:32:35 T:2684407808 M: 33964032 ERROR: CrystalHD: device open failed
21:32:35 T:2684407808 M: 33964032 INFO: CrystalHD: broadcom crystal hd not found
21:33:05 T:2684407808 M: 20000768 DEBUG: SECTION:UnloadDelayed(DLL: libcrystalhd.dylib)
21:33:05 T:2684407808 M: 20008960 DEBUG: Unloading: libcrystalhd.dylib
21:35:22 T:2684407808 M: 23715840 INFO: CrystalHD: device closed


So it appears as though the ATV isn't loading the drivers either because it cannot see the card or possibly it's a dud card?
I'm using ATV version 3.0.2.

Any help or another log file I should be looking at would be greatly appreciated.

Hi there. I installed the svn and the driver and i could not configure xbmc to render through the crystal hd. I then looked at the above approach and tried writing the same commands. I get the same errors. I am pretty new to the unix way of doing it! but does the above line tells me that the card is for sure broken or is there another way of testing for that?


- davilla - 2010-05-11

da-bitsch Wrote:Hi there. I installed the svn and the driver and i could not configure xbmc to render through the crystal hd. I then looked at the above approach and tried writing the same commands. I get the same errors. I am pretty new to the unix way of doing it! but does the above line tells me that the card is for sure broken or is there another way of testing for that?

don't do "bash-2.05b# dmesg | grep -i crystal" it won't show what you would be looking for.

dmesg and then look at the output.


- da-bitsch - 2010-05-11

davilla Wrote:don't do "bash-2.05b# dmesg | grep -i crystal" it won't show what you would be looking for.

dmesg and then look at the output.

sorry for bothering you again Smile - i just did that command as sudo and nothing about the crystal hd showed up.. i got the following (sorry for posting so much kernel stuff)

sudo dmesg
hi mem tramps at 0xffe00000
PAE enabled
standard timeslicing quantum is 10000 us
vm_page_bootstrap: 59162 free pages
mig_table_max_displ = 71
Enabling XMM register save/restore and SSE/SSE2 opcodes
61 prelinked modules
ACPI CA 20060421
AppleACPICPU: ProcessorApicId=0 LocalApicId=0 Enabled
AppleACPICPU: ProcessorApicId=1 LocalApicId=0 Disabled
Copyright © 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.

using 1310 buffer headers and 1310 cluster IO buffer headers
IOAPIC: Version 0x20 Vectors 64:87
ACPI: System State [S0 S4] (S0)
NVDANV40HAL loaded and registered.
display: family specific matching fails
EHCI Root Hub Simulation: family specific matching fails
USB caused wake event (EHCI)
Security auditing service present
BSM auditing present
disabled
rooting via boot-uuid from /chosen: 00002F97-6DDB-0000-0A32-0000E74D0000
Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</st ring><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
UHCI Root Hub Simulation: family specific matching fails
Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PATA@1F ,1/AppleIntelPIIXATARoot/PRID@0/AppleIntelPIIXPATA/ATADeviceNub@0/IOATABlockStor ageDriver/IOATABlockStorageDevice/IOBlockStorageDriver/SAMSUNG HM160HC Media/IOG UIDPartitionScheme/OSBoot@3
BSD root: disk0s3, major 14, minor 3
jnl: journal start/end pointers reset! (jnl 0x1c69e60; s 0x3b0000 e 0x641800)
com_apple_IRRecovery::probe(IR Receiver)
com_apple_IRRecovery:Confusedtart(IR Receiver) <1>
com_apple_IRRecovery(0x1babd80):Confusedtart
com_apple_IRRecovery(0x1babd80):Confusedtart - This is the HID Receiver device, disabl e recovery
com_apple_IRRecovery(0x1babd80):Confusedtart Exiting
com_apple_IRRecovery(0x1babd80):Confusedtart - defining AppleIRRecoveryDisabled to dis able IR Recovery from occurring (again)
com_apple_IRRecovery(0x1babd80):Confusedtart - Intentionally fails, because work is do ne in start. This frees up resources.
com_apple_IRRecovery:Confusedtart(IR Receiver) <1> failed
IOGMD(0x1cb7480): wB = o0, l1
IOGMD(0x1cb7480): wB = o0, l3
jnl: journal start/end pointers reset! (jnl 0x1c69d7c; s 0xc36a00 e 0xefce00)
jnl: close: flushing the buffer cache (start 0xf03000 end 0xf05200)
Jettisoning kernel linker.
RTL8139::registerEEPROM: 8129 10ec 8139 10ec 8139 4020 e510 b964
RTL8139::registerEEPROM: fde8 457b 8d10 f7c2 8801 03b9 60f4 071a
RTL8139::registerEEPROM: dfa3 9836 dfa3 9836 03b9 60f4 1a1a 1a1a
RTL8139::registerEEPROM: 0000 1769 0000 0000 0000 0000 0000 2000
RTL8139::registerEEPROM: 0000 0000 0000 0000 0000 0000 0000 0000
RTL8139::registerEEPROM: 0000 0000 0000 0000 0000 0000 0000 0000
RTL8139::registerEEPROM: 0000 0000 0000 0000 0000 0000 0000 0000
RTL8139::registerEEPROM: 0000 0000 0000 0000 0000 0000 0000 0000
Resetting IOCatalogue.
com_apple_driver_RTL8139: Ethernet address 64:b9:e8:fd:7b:45


Again.. should the crystal hd card be listed here nomatter what? or could i have messed something up while installing atv/xbmc nightly/crystal drivers?


- davilla - 2010-05-11

da-bitsch Wrote:sorry for bothering you again Smile - i just did that command as sudo and nothing about the crystal hd showed up.. i got the following (sorry for posting so much kernel stuff)

sudo dmesg
hi mem tramps at 0xffe00000
PAE enabled
standard timeslicing quantum is 10000 us
vm_page_bootstrap: 59162 free pages
mig_table_max_displ = 71
Enabling XMM register save/restore and SSE/SSE2 opcodes
61 prelinked modules
ACPI CA 20060421
AppleACPICPU: ProcessorApicId=0 LocalApicId=0 Enabled
AppleACPICPU: ProcessorApicId=1 LocalApicId=0 Disabled
Copyright © 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.

using 1310 buffer headers and 1310 cluster IO buffer headers
IOAPIC: Version 0x20 Vectors 64:87
ACPI: System State [S0 S4] (S0)
NVDANV40HAL loaded and registered.
display: family specific matching fails
EHCI Root Hub Simulation: family specific matching fails
USB caused wake event (EHCI)
Security auditing service present
BSM auditing present
disabled
rooting via boot-uuid from /chosen: 00002F97-6DDB-0000-0A32-0000E74D0000
Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</st ring><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
UHCI Root Hub Simulation: family specific matching fails
Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PATA@1F ,1/AppleIntelPIIXATARoot/PRID@0/AppleIntelPIIXPATA/ATADeviceNub@0/IOATABlockStor ageDriver/IOATABlockStorageDevice/IOBlockStorageDriver/SAMSUNG HM160HC Media/IOG UIDPartitionScheme/OSBoot@3
BSD root: disk0s3, major 14, minor 3
jnl: journal start/end pointers reset! (jnl 0x1c69e60; s 0x3b0000 e 0x641800)
com_apple_IRRecovery::probe(IR Receiver)
com_apple_IRRecovery:Confusedtart(IR Receiver) <1>
com_apple_IRRecovery(0x1babd80):Confusedtart
com_apple_IRRecovery(0x1babd80):Confusedtart - This is the HID Receiver device, disabl e recovery
com_apple_IRRecovery(0x1babd80):Confusedtart Exiting
com_apple_IRRecovery(0x1babd80):Confusedtart - defining AppleIRRecoveryDisabled to dis able IR Recovery from occurring (again)
com_apple_IRRecovery(0x1babd80):Confusedtart - Intentionally fails, because work is do ne in start. This frees up resources.
com_apple_IRRecovery:Confusedtart(IR Receiver) <1> failed
IOGMD(0x1cb7480): wB = o0, l1
IOGMD(0x1cb7480): wB = o0, l3
jnl: journal start/end pointers reset! (jnl 0x1c69d7c; s 0xc36a00 e 0xefce00)
jnl: close: flushing the buffer cache (start 0xf03000 end 0xf05200)
Jettisoning kernel linker.
RTL8139::registerEEPROM: 8129 10ec 8139 10ec 8139 4020 e510 b964
RTL8139::registerEEPROM: fde8 457b 8d10 f7c2 8801 03b9 60f4 071a
RTL8139::registerEEPROM: dfa3 9836 dfa3 9836 03b9 60f4 1a1a 1a1a
RTL8139::registerEEPROM: 0000 1769 0000 0000 0000 0000 0000 2000
RTL8139::registerEEPROM: 0000 0000 0000 0000 0000 0000 0000 0000
RTL8139::registerEEPROM: 0000 0000 0000 0000 0000 0000 0000 0000
RTL8139::registerEEPROM: 0000 0000 0000 0000 0000 0000 0000 0000
RTL8139::registerEEPROM: 0000 0000 0000 0000 0000 0000 0000 0000
Resetting IOCatalogue.
com_apple_driver_RTL8139: Ethernet address 64:b9:e8:fd:7b:45


Again.. should the crystal hd card be listed here nomatter what? or could i have messed something up while installing atv/xbmc nightly/crystal drivers?

I don't see the crsytalhd messages, which means that even though kext loaded, the kext does not see the crystalhd hardware. I'd suspect something borked with the card.