waterhead Wrote:You can install the driver now, if you want to. You first need to install a few packages.
Code:
sudo apt-get install linux-source linux-headers-`uname -r` build-essential tofrodos autoconf git-core
Then pull the driver source from the GIT repository.
Code:
git clone git://git.wilsonet.com/crystalhd.git
Now cd to the newly created driver folder, and build the driver.
Code:
cd ~/crystalhd/driver/linux
Now load the newly compiled crystalhd module
Code:
sudo modprobe crystalhd
You will also want to build and install the crystalhd library files. So cd to that folder.
Code:
cd ~/crystalhd/linux_lib/libcrystalhd
And run the standard build commands.
I have found when doing a major revision such as this, it is always a good thing to then do a reboot.
This is the way I installed the drivers. If anyone sees a mistake, please tell me!
BTW: I would like to thank Scott and Jarod for their contribution to the CrystalHD project. Without their contribution, there would be no project.
I get this error when I run the make command
xbmc@atv:~/crystalhd/driver/linux$ sudo make
make -C /lib/modules/2.6.24-26-generic/build SUBDIRS=/home/xbmc/crystalhd/driver/linux modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-26-generic'
CC [M] /home/xbmc/crystalhd/driver/linux/crystalhd_lnx.o
cc1: warnings being treated as errors
/home/xbmc/crystalhd/driver/linux/crystalhd_lnx.c:702: warning: type defaults to âintâ in declaration of âDEFINE_PCI_DEVICE_TABLEâ
/home/xbmc/crystalhd/driver/linux/crystalhd_lnx.c:702: warning: parameter names (without types) in function declaration
/home/xbmc/crystalhd/driver/linux/crystalhd_lnx.c:702: error: function âDEFINE_PCI_DEVICE_TABLEâ is initialized like a variable
/home/xbmc/crystalhd/driver/linux/crystalhd_lnx.c:703: warning: braces around scalar initializer
/home/xbmc/crystalhd/driver/linux/crystalhd_lnx.c:703: warning: (near initialization for âDEFINE_PCI_DEVICE_TABLEâ)
/home/xbmc/crystalhd/driver/linux/crystalhd_lnx.c:703: error: invalid initializer
/home/xbmc/crystalhd/driver/linux/crystalhd_lnx.c:703: error: (near initialization for âDEFINE_PCI_DEVICE_TABLEâ)
/home/xbmc/crystalhd/driver/linux/crystalhd_lnx.c:703: warning: excess elements in scalar initializer
/home/xbmc/crystalhd/driver/linux/crystalhd_lnx.c:703: warning: (near initialization for âDEFINE_PCI_DEVICE_TABLEâ)
/home/xbmc/crystalhd/driver/linux/crystalhd_lnx.c:703: warning: excess elements in scalar initializer
/home/xbmc/crystalhd/driver/linux/crystalhd_lnx.c:703: warning: (near initialization for âDEFINE_PCI_DEVICE_TABLEâ)
/home/xbmc/crystalhd/driver/linux/crystalhd_lnx.c:703: warning: excess elements in scalar initializer
/home/xbmc/crystalhd/driver/linux/crystalhd_lnx.c:703: warning: (near initialization for âDEFINE_PCI_DEVICE_TABLEâ)
/home/xbmc/crystalhd/driver/linux/crystalhd_lnx.c:703: warning: excess elements in scalar initializer
/home/xbmc/crystalhd/driver/linux/crystalhd_lnx.c:703: warning: (near initialization for âDEFINE_PCI_DEVICE_TABLEâ)
/home/xbmc/crystalhd/driver/linux/crystalhd_lnx.c:703: warning: excess elements in scalar initializer
/home/xbmc/crystalhd/driver/linux/crystalhd_lnx.c:703: warning: (near initialization for âDEFINE_PCI_DEVICE_TABLEâ)
/home/xbmc/crystalhd/driver/linux/crystalhd_lnx.c:703: warning: excess elements in scalar initializer
/home/xbmc/crystalhd/driver/linux/crystalhd_lnx.c:703: warning: (near initialization for âDEFINE_PCI_DEVICE_TABLEâ)
/home/xbmc/crystalhd/driver/linux/crystalhd_lnx.c:704: warning: braces around scalar initializer
/home/xbmc/crystalhd/driver/linux/crystalhd_lnx.c:704: warning: (near initialization for âDEFINE_PCI_DEVICE_TABLEâ)
/home/xbmc/crystalhd/driver/linux/crystalhd_lnx.c:704: error: invalid initializer
/home/xbmc/crystalhd/driver/linux/crystalhd_lnx.c:704: error: (near initialization for âDEFINE_PCI_DEVICE_TABLEâ)
/home/xbmc/crystalhd/driver/linux/crystalhd_lnx.c:704: warning: excess elements in scalar initializer
/home/xbmc/crystalhd/driver/linux/crystalhd_lnx.c:704: warning: (near initialization for âDEFINE_PCI_DEVICE_TABLEâ)
/home/xbmc/crystalhd/driver/linux/crystalhd_lnx.c:712: error: âchd_dec_pci_id_tableâ undeclared here (not in a function)
make[2]: *** [/home/xbmc/crystalhd/driver/linux/crystalhd_lnx.o] Error 1
make[1]: *** [_module_/home/xbmc/crystalhd/driver/linux] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-26-generic'
make: *** [all] Error 2
Ubuntu hardy
any suggestions?
Thanks
Craig