SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2013-05-09 09:37:48

Arda
New Member
Registered: 2013-05-07
Posts: 7

[SOLVED]Compiling/installing CrystalHD for "Waldorf" 2013.05.06

Last edited by Arda (2013-05-09 11:39:04)

Offline

Help fund CrunchBang, donate to the project!

#2 2013-05-09 10:21:24

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: [SOLVED]Compiling/installing CrystalHD for "Waldorf" 2013.05.06

Yes. Nothing Ubuntu-specific in there at first sight.
You don't even have to edit the file like it says. Has been done already.

You will need the linux-headers package for your kernel:

sudo apt-get install linux-headers-$(uname -r)

before.

Offline

#3 2013-05-09 10:33:02

Arda
New Member
Registered: 2013-05-07
Posts: 7

Re: [SOLVED]Compiling/installing CrystalHD for "Waldorf" 2013.05.06

sudo apt-get install linux-headers-$(uname -r)

Last edited by Arda (2013-05-09 10:41:27)

Offline

#4 2013-05-09 10:50:12

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: [SOLVED]Compiling/installing CrystalHD for "Waldorf" 2013.05.06

rm -rf /home/arda/crystalhd

Offline

#5 2013-05-09 10:52:54

Arda
New Member
Registered: 2013-05-07
Posts: 7

Re: [SOLVED]Compiling/installing CrystalHD for "Waldorf" 2013.05.06

Nah, those strange characters should be ' (shows OK on terminal), please ignore them (I'm installing on my laptop, and writing from PC, those occurred while transferring via a paste site), sorry about that.

Offline

#6 2013-05-09 10:58:49

Arda
New Member
Registered: 2013-05-07
Posts: 7

Re: [SOLVED]Compiling/installing CrystalHD for "Waldorf" 2013.05.06

arda@arda-lappy:~/crystalhd/driver/linux$ make CONFIG_DEBUG_SECTION_MISMATCH=y
make -C /lib/modules/3.2.0-4-amd64/build SUBDIRS=/home/arda/crystalhd/driver/linux modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-4-amd64'
  CC [M]  /home/arda/crystalhd/driver/linux/crystalhd_lnx.o
  CC [M]  /home/arda/crystalhd/driver/linux/crystalhd_misc.o
  CC [M]  /home/arda/crystalhd/driver/linux/crystalhd_cmds.o
  CC [M]  /home/arda/crystalhd/driver/linux/crystalhd_hw.o
  CC [M]  /home/arda/crystalhd/driver/linux/crystalhd_linkfuncs.o
  CC [M]  /home/arda/crystalhd/driver/linux/crystalhd_fleafuncs.o
  CC [M]  /home/arda/crystalhd/driver/linux/crystalhd_flea_ddr.o
  LD [M]  /home/arda/crystalhd/driver/linux/crystalhd.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/arda/crystalhd/driver/linux/crystalhd.mod.o
  LD [M]  /home/arda/crystalhd/driver/linux/crystalhd.ko
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-4-amd64'
arda@arda-lappy:~/crystalhd/driver/linux$ sudo make install
if [ -e "/lib/udev/rules.d" ] ; then cp -f 20-crystalhd.rules /lib/udev/rules.d/ ; fi
if [ -e "/etc/udev/rules.d" ] ; then cp -f 20-crystalhd.rules /etc/udev/rules.d/ ; fi
if [ -d "/lib/modules/3.2.0-4-amd64/kernel/drivers/staging/crystalhd" ] ; \
		then install -m 0644 crystalhd.ko /lib/modules/3.2.0-4-amd64/kernel/drivers/staging/crystalhd/ ; \
	else \
		install -d /lib/modules/3.2.0-4-amd64/kernel/drivers/video/broadcom ; \
		install -m 0644 crystalhd.ko /lib/modules/3.2.0-4-amd64/kernel/drivers/video/broadcom ; \
	fi
/sbin/depmod -a
arda@arda-lappy:~/crystalhd/driver/linux$ 

Offline

#7 2013-05-09 11:23:44

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: [SOLVED]Compiling/installing CrystalHD for "Waldorf" 2013.05.06

That looks OK, yes.

Offline

#8 2013-05-09 11:38:45

Arda
New Member
Registered: 2013-05-07
Posts: 7

Re: [SOLVED]Compiling/installing CrystalHD for "Waldorf" 2013.05.06

Much appreciated , It's shown on lsmod | grep crystalhd. I guess it works now, thanks! smile I'll post if anything further unexpected occurs.

Offline

#9 2013-05-09 11:50:04

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: [SOLVED]Compiling/installing CrystalHD for "Waldorf" 2013.05.06

No problem.
happy hacking

Offline

#10 2013-12-18 02:04:53

DjangoR
New Member
Registered: 2013-08-18
Posts: 5

Re: [SOLVED]Compiling/installing CrystalHD for "Waldorf" 2013.05.06

Re the fix referenced in post 3, how do I apply that? I'm getting the same error message but I don't know what to do with the referenced fix code.

Offline

#11 2013-12-18 07:03:46

Arda
New Member
Registered: 2013-05-07
Posts: 7

Re: [SOLVED]Compiling/installing CrystalHD for "Waldorf" 2013.05.06

Offline

#12 2013-12-19 09:23:02

DjangoR
New Member
Registered: 2013-08-18
Posts: 5

Re: [SOLVED]Compiling/installing CrystalHD for "Waldorf" 2013.05.06

Thank you so much, Arda. That seems to have installed the driver but when I use "vlc --codec=crystalhd" to start vlc with the crystalhd codec and then select a video it plays the audio but no video. The terminal message says "Opened CrystalHD hardware with success" but also says "COULD not find free MDATA try again"
'

Offline

#13 2013-12-19 09:45:50

Arda
New Member
Registered: 2013-05-07
Posts: 7

Re: [SOLVED]Compiling/installing CrystalHD for "Waldorf" 2013.05.06

Offline

#14 2013-12-20 21:18:30

DjangoR
New Member
Registered: 2013-08-18
Posts: 5

Re: [SOLVED]Compiling/installing CrystalHD for "Waldorf" 2013.05.06

Cool! Installing XBMC seems to have fixed the crystalhd problems in VLC. It works great with XBMC. Arda, have you gotten any ap-indicator to work in the taskbar so it's easier to tell if the card is engaged? Thanks for your help and feedback.

I was just playing a 720p video in YouTube via Chromium and the computer totally locked up. I can't get to another console to try to kill services or reboot so it looks like I'll have to just hit the power button. Same thing happened last night wih VLC before I installed XBMC.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo