spear1403 / crystalhd

Broadcom Crystal HD Hardware Decoder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crystal HD Hardware Decoder Driver for antiX 17 & antiX 19

Broadcom BCM70012 & BCM70015

1. Install required files

sudo apt-get update
sudo apt-get install linux-headers-`uname -r` git autoconf build-essential subversion dpkg-dev fakeroot pbuilder build-essential dh-make debhelper devscripts patchutils quilt git-buildpackage pristine-tar git yasm zlib1g-dev minizip libzip-dev libx11-dev libxv-dev vstream-client-dev libgtk2.0-dev libpulse-dev libxxf86dga-dev x11proto-xf86dga-dev git automake libtool libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gir1.2-appindicator3-0.1 

2. Get the source

Get the driver source code from the git repository.

git clone https://github.com/spear1403/crystalhd.git

The original repo source is available at git://git.linuxtv.org/jarod/crystalhd.git

3. Compile driver, install libraries, and load driver

Use make command to compile driver. If you have multiple core processor then use the “-j2″ or “-j4″ option (2 or 4 is the number of cores). This will speed up the make process.

cd crystalhd/driver/linux
autoconf
./configure
make -j2
sudo make install

4. Install the libraries.

cd ../../linux_lib/libcrystalhd/
make -j2
sudo make install 

5. Load the driver.

sudo modprobe crystalhd

6. Reboot your system , then check if 'crystalhd' is listed in the output of the following commands.

lsmod
dmesg | grep crystalhd

Then you should see something like this:

[  886.604511] Loading crystalhd v3.10.0
[  886.604588] crystalhd 0000:03:00.0: Starting Device:0x1615

7. Optional: Install a system-tray icon , a simple tray icon where CrystalHD driver status is visible. (Best visible on a dark themed toolbar)

Borrowed and modified to work on antiX from https://github.com/Ardakilic/indicator-crystalhd.git

cd ../../
sudo cp usr / -R
sudo chmod +x /usr/bin/crystalhd_tray

Run

 sudo crystalhd_tray

It will run and set itself to run at autostart.

About

Broadcom Crystal HD Hardware Decoder


Languages

Language:C 95.5%Language:C++ 3.6%Language:Shell 0.7%Language:M4 0.1%Language:Makefile 0.1%Language:Python 0.0%