linux DeckLink kernel modules

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

Andres Gonzalez

  • Posts: 23
  • Joined: Tue Apr 21, 2015 2:05 am

linux DeckLink kernel modules

PostSat Apr 25, 2015 6:06 am

I noticed that 2 different kernel modules are built when I install the debian package, (1) blackmagic, and (2) blackmagic_io

What is the difference between these 2 and should they both be installed?

dkms status shows this:
blackmagic, 10.4a17, 3.2.0-4-amd64, x86_64: installed
blackmagic, 10.4a17, 3.2.0-4-rt-amd64, x86_64: installed
blackmagic-io, 10.4a17, 3.2.0-4-amd64, x86_64: installed
blackmagic-io, 10.4a17, 3.2.0-4-rt-amd64, x86_64: installed

and lsmod only shows this:
blackmagic_io 389521 0

Is this correct or should both modules be loaded?

I still cannot get this fresh install debian 7.8 box to recognize this new SDI 4K card. When I run the DeviceList Sample program it reports that No Blackmagic Design devices were found.

Thanks,
-Andres
Offline

Dave Johnstone

  • Posts: 223
  • Joined: Mon Dec 08, 2014 11:12 am
  • Location: Adelaide

Re: linux DeckLink kernel modules

PostMon Apr 27, 2015 12:53 am

As far as I know the blackmagic and blackmagic-io modules support different cards. The rt versions are for the real-time kernel. My system (Ubuntu 14.04LTS) only has one module loaded.

dkms status:
blackmagic, 10.3.7a4, 3.13.0-32-generic, x86_64: installed
blackmagic-io, 10.3.7a4, 3.13.0-32-generic, x86_64: installed

lsmod |grep blackmagic:
blackmagic 577354 1

What is the output from "BlackmagicFirmwareUpdater status"?
My system reports 0: /dev/blackmagic/dv0 [DeckLink Optical Fiber] 0x0b OK

Regards,

Dave.
Freelance Television Broadcast Engineer
and Software Programmer.
Offline

Andres Gonzalez

  • Posts: 23
  • Joined: Tue Apr 21, 2015 2:05 am

Re: linux DeckLink kernel modules

PostTue Apr 28, 2015 12:23 am

Thanks for your response Dave.

On one of my development boxes I have this:

BlackmagicFirmwareUpdater status
0: /dev/blackmagic/dv1 [DeckLink SDI] 0x31 OK
1: /dev/blackmagic/dv0 [DeckLink SDI] 0x31 OK
2: /dev/blackmagic/dv2 [DeckLink Studio 2] 0x10 OK
3: /dev/blackmagic/dv3 [Intensity Pro] 0x25 OK
4: /dev/blackmagic/io0 [DeckLink SDI 4K] 0x7d OK

lsmod | grep magic
blackmagic_io 421760 1
blackmagic 577681 4

This box is running Ubuntu 13.10 and I was able to update this box to the recent 10.4 SDK--all appears to be running well on this box. However, I have just setup a newer development box with a fresh install of debian 7.8 and I am having problems getting things working on this box. On this debian box:

lsmod | grep magic
blackmagic_io 389521 0
blackmagic 561496 0

sudo dkms status
blackmagic, 10.4a17, 3.2.0-4-amd64, x86_64: installed
blackmagic-io, 10.4a17, 3.2.0-4-amd64, x86_64: installed

However, both "BlackmagicFirmwareUpdater status" and "lspci | grep magic" return without any messages, that is, neither success nor error messages.

-Andres
Offline

Dave Johnstone

  • Posts: 223
  • Joined: Mon Dec 08, 2014 11:12 am
  • Location: Adelaide

Re: linux DeckLink kernel modules

PostWed Apr 29, 2015 11:32 pm

Your lsmod indicated the modules are loaded but nothing is using them. Does dmesg offer any clues?

dave@OpenGL-Test-System-2:~$ dmesg |grep black
[ 37.974494] blackmagic: Loading driver (version: 10.3.7a4)
[ 41.342795] blackmagic: Successfully loaded device "blackmagic!dv0" [pci@0000:02:00.0]

Are you able to swap cards between systems or the OS drive from a working system?

Regards,

Dave.
Freelance Television Broadcast Engineer
and Software Programmer.

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 10 guests