[LINUX] How do I complile Broadcom Crystal HD driver on Ubuntu Karmic?
#61
So, I did try with --enable-crystalhd

no such luck.

What kind of information do you guys need to (please) help me?

thanks
Reply
#62
you might try posting xbmc.log to a pastebin site. Also the output of dmesg.
Reply
#63
Hi. here is the log.
http://pastebin.com/Ps6rbt4j

i searched for crystalhd part. says
compiled in hardware support, crystalhd no.

next up:

dmesg
Reply
#64
http://pastebin.com/puVnxfd6

var/log

does that help?
Reply
#65
blademat Wrote:Hi. here is the log.
http://pastebin.com/Ps6rbt4j

i searched for crystalhd part. says
compiled in hardware support, crystalhd no.

next up:

dmesg

compiled in hardware support: Crystal HD:no

This means configure could not find libcrystalhd.so, you say "I downloaded broadcom drivers and installed", how about the crystalhd lib ?
Reply
#66
Create 4 ready to install deb packages based on the latest stable git tree,

crystalhd-firmware
crystalhd-kernel-modules-dkms
libcrystalhd
libcrystalhd-dev

If you are struggling to get all the crystalhd files needed please give them a try.

Download link can be found in this thread:
http://forum.xbmc.org/showthread.php?tid=70635
Reply
#67
davilla Wrote:compiled in hardware support: Crystal HD:no

This means configure could not find libcrystalhd.so, you say "I downloaded broadcom drivers and installed", how about the crystalhd lib ?

Hi again, thanks for answering.
I went into the ~/crystalhd-for-osx-1.0.3/crystalhd/linux_lib/libcrystalhd
and followed every step that was written in page #2...

I'll try the four packages later today and write back.

errrrrrrrrrr,
do I need to recompile after installing the four packages?

thanks
Reply
#68
blademat Wrote:Hi again, thanks for answering.
I went into the ~/crystalhd-for-osx-1.0.3/crystalhd/linux_lib/libcrystalhd
and followed every step that was written in page #2...

I'll try the four packages later today and write back.

errrrrrrrrrr,
do I need to recompile after installing the four packages?

thanks

yes, when you do the configure step, it will output "yes" if crystalhd is enabled for compile.

"ls -l /usr/lib/libcrystalhd*" should show the lib and it's symlinks.
Reply
#69
the last one didn't work, by the by.

the lib.

ran ./configure
in the output, there is :
-----------------------
XBMC Configuration:
------------------------
Debugging: Yes
Profiling: No
Optimization: Yes
OpenGL: Yes
VDPAU: No
CrystalHD: Yes

seems good, no?

more to come. I'll edit when done.


edit: no such luck. I'll redo everything. thanks again for the help
Reply
#70
blademat Wrote:the last one didn't work, by the by.

the lib.

ran ./configure
in the output, there is :
-----------------------
XBMC Configuration:
------------------------
Debugging: Yes
Profiling: No
Optimization: Yes
OpenGL: Yes
VDPAU: No
CrystalHD: Yes

seems good, no?

more to come. I'll edit when done.

"CrystalHD: Yes", means configure found the crystalhd lib and headers. A build with this configure will be crystalhd enabled.
Reply
#71
Guys, you rock. so much support on an un-official release, I truly cannot believe it.

Everything works great.

Oh, and I'm really stupid. I had done everything, BUT doing : make install. and before compiling the svn trunk, I had installed xbmc via package manager. Hence, when I started xbmc with only xbmc via konsole, I was always starting the "stable" release.
I removed it and did "make install"

I'm so stupid. Sorry for taking all of your time. Big Big Big thanks for the help.

results up to here:
720p is crystal clear. 1080 tested on a video and it did stutter.

I'll stop taking space in this thread. Thanks again.
Reply
#72
Guess I am an idiot, but here goes...

I am on Hardy (I am aware this thread is about Karmic) on my Apple TV and have had Crystal HD running OK. I then decided tonight to pull the newest revision of the driver and build it. It failed. I then tried revision 1.0.3 as suggested somewhere, but it gave exactly the same error. I untar the files from github and do the following:

Code:
cd crystalhd-for-osx-1.0.3\crystalhd\driver\linux
autoconf
./configure
make

I then get this:

Code:
make -C /lib/modules/2.6.24-25-generic/build SUBDIRS=/home/atv/dev/crystalhd-for-osx-1.0.3/crystalhd/driver/linux modules
make: *** /lib/modules/2.6.24-25-generic/build: No such file or directory.  Stop.
make: *** [all] Error 2

Sure enough, the build folder is missing. Manually creating it just gives me this

Code:
make -C /lib/modules/2.6.24-25-generic/build SUBDIRS=/home/atv/dev/crystalhd-for-osx-1.0.3/crystalhd/driver/linux modules
make[1]: Entering directory `/lib/modules/2.6.24-25-generic/build'
make[1]: *** No rule to make target `modules'.  Stop.
make[1]: Leaving directory `/lib/modules/2.6.24-25-generic/build'
make: *** [all] Error 2

Any idea whats wrong?

/ Thanks in advance
Reply
#73
pouldam Wrote:Guess I am an idiot, but here goes...

I am on Hardy (I am aware this thread is about Karmic) on my Apple TV and have had Crystal HD running OK. I then decided tonight to pull the newest revision of the driver and build it. It failed. I then tried revision 1.0.3 as suggested somewhere, but it gave exactly the same error. I untar the files from github and do the following:

Code:
cd crystalhd-for-osx-1.0.3\crystalhd\driver\linux
autoconf
./configure
make

I then get this:

Code:
make -C /lib/modules/2.6.24-25-generic/build SUBDIRS=/home/atv/dev/crystalhd-for-osx-1.0.3/crystalhd/driver/linux modules
make: *** /lib/modules/2.6.24-25-generic/build: No such file or directory.  Stop.
make: *** [all] Error 2

Sure enough, the build folder is missing. Manually creating it just gives me this

Code:
make -C /lib/modules/2.6.24-25-generic/build SUBDIRS=/home/atv/dev/crystalhd-for-osx-1.0.3/crystalhd/driver/linux modules
make[1]: Entering directory `/lib/modules/2.6.24-25-generic/build'
make[1]: *** No rule to make target `modules'.  Stop.
make[1]: Leaving directory `/lib/modules/2.6.24-25-generic/build'
make: *** [all] Error 2

Any idea whats wrong?

/ Thanks in advance

looks like you don't have kernel headers

davilla@atv-doser:~$ ls /lib/modules/2.6.24-24-generic/build
arch crypto drivers include ipc kernel Makefile Module.symvers samples security usr
block Documentation fs init Kbuild lib mm net scripts sound
Reply
#74
You're right,

ls /lib/modules/2.6.24-25-generic/build

gives me nothing but an empty directory...

I am really fumbling here...

Tried "apt-get install linux-libc-dev" and "apt-get install kernel-package", but when finished the "build" directory was still empty. So, how do I install the headers?

/ Thanks in advance
Reply
#75
pouldam Wrote:You're right,

ls /lib/modules/2.6.24-25-generic/build

gives me nothing but an empty directory...

I am really fumbling here...

Tried "apt-get install linux-libc-dev" and "apt-get install kernel-package", but when finished the "build" directory was still empty. So, how do I install the headers?

/ Thanks in advance

From http://wiki.xbmc.org/index.php?title=HOW...he_AppleTV -> Install alsa-driver 1.0.19

sudo apt-get install linux-sound-base alsa-utils build-essential linux-headers-`uname -r`

you don't need "linux-sound-base alsa-utils".
Reply

Logout Mark Read Team Forum Stats Members Help
[LINUX] How do I complile Broadcom Crystal HD driver on Ubuntu Karmic?0