Howto install decklink driver of blackmagicdesign on gentoo linux or any other linux

download latest drivers from here https://www.blackmagic-design.com/support/software/register.asp?download=666

# uname -a
Linux cobra 2.6.34-gentoo-r6 #3 SMP Wed Sep 8 16:53:35 EEST 2010 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz GenuineIntel GNU/Linux
# lspci  |grep Blackmagic
01:00.0 Multimedia video controller: Blackmagic Design Device a11b
05:00.0 Multimedia video controller: Blackmagic Design Device a120

Unpack all files to root of your file systems. It is new libs and applications for decklink management.

# cd /usr/src/DeckLink-7.8.1rc6/
# make

Create dir for blackmagic and copy new driver:

# mkdir /lib/modules/`uname -r`/kernel/drivers/blackmagic/
# cp blackmagic.ko /lib/modules/`uname -r`/kernel/drivers/blackmagic/

Try to insert driver to kernel:

# insmod /lib/modules/`uname -r`/kernel/drivers/blackmagic/blackmagic.ko

Check the module:

# modprobe -l |grep blackmagic
# depmod

Configure driver autoloading:

# echo "blackmagic" >> /etc/modules.autoload.d/{YOUR_KERNEL}

Check devices:

# BlackmagicFirmwareUpdater status
        blackmagic0 [DeckLink SDI]      0x11    PLEASE_UPDATE
        blackmagic1 [DeckLink Studio 2] 0x06    OK



coded by nessus