[mythtv-users] (somewhat off-topic) compiling the TBS 6981 driver

UB40D ub40dd at googlemail.com
Tue Dec 31 16:00:41 UTC 2013


Thanks Karl.

On Tue, Dec 31, 2013 at 2:04 PM, Karl Dietz
<dekarl at spaetfruehstuecken.org>wrote:

>
> from https://github.com/ljalves/linux_media/wiki
>
> Open Source Drivers for TBS6980, TBS6981, TBS6984 DVB-S/S2 cards
> The TBS6980/1 is now supported by the official linuxtv media_tree.
>
> Maybe that's an alternative.
>

Now tried that too.

sudo su
mkdir /usr/src/linuxtv-opensource-driver
cd /usr/src/linuxtv-opensource-driver
apt-get install libdigest-sha-perl libproc-processtable-perl
 make gcc git patch patchutils
git clone git://linuxtv.org/media_build.git
cd media_build/
./build
   (no errors reported)
make install
   (no errors reported)

wget http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v130901.zip
unzip -p tbs-linux-drivers_v130901.zip linux-tbs-drivers.tar.bz2 | tar
jxOf - linux-tbs-drivers/v4l/tbs6981fe_driver.o.x86_64 | dd bs=1
skip=10144 count=55486 of=dvb-fe-cx24117.fw

shutdown -r now

Then in mythbacked capture card setup I could not find anything of
relevance: under DVB DTV caputre card (v3.x) I got no DVB device to select.

Not sure whether the stuff installed correctly or not, because the tests
recommended on the page at
http://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Driversaren't
very specific on what to check.

"they should be listed in /proc/modules"... well, a bunch of stuff is, not
sure if "they" are in there or not: "video" is there, "dvb_core" also is...
is this what I'm looking for?

cat /proc/modules
snd_hda_codec_hdmi 37463 1 - Live 0xffffffffa0265000 (F)
snd_hda_codec_realtek 79962 1 - Live 0xffffffffa02d9000 (F)
coretemp 13596 0 - Live 0xffffffffa0180000 (F)
kvm 455932 0 - Live 0xffffffffa034a000 (F)
snd_hda_intel 44339 3 - Live 0xffffffffa02a0000 (F)
snd_hda_codec 141761 3
snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel, Live
0xffffffffa02b5000 (F)
joydev 17613 0 - Live 0xffffffffa01bd000 (F)
snd_hwdep 13668 1 snd_hda_codec, Live 0xffffffffa02b0000 (F)
ghash_clmulni_intel 13259 0 - Live 0xffffffffa01b8000 (F)
hid_generic 12540 0 - Live 0xffffffffa013b000 (F)
snd_pcm 102477 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec, Live
0xffffffffa0285000 (F)
aesni_intel 55495 0 - Live 0xffffffffa01a9000 (F)
i915 620571 2 - Live 0xffffffffa01cc000 (F)
ablk_helper 13597 1 aesni_intel, Live 0xffffffffa018f000 (F)
cryptd 20501 3 ghash_clmulni_intel,aesni_intel,ablk_helper, Live
0xffffffffa01c5000 (F)
snd_seq_midi 13324 0 - Live 0xffffffffa0136000 (F)
usbhid 47346 0 - Live 0xffffffffa019c000 (F)
lrw 13294 1 aesni_intel, Live 0xffffffffa0076000 (F)
snd_rawmidi 30417 1 snd_seq_midi, Live 0xffffffffa0186000 (F)
aes_x86_64 17255 1 aesni_intel, Live 0xffffffffa0070000 (F)
snd_seq_midi_event 14899 1 snd_seq_midi, Live 0xffffffffa015c000 (F)
hid 105826 2 hid_generic,usbhid, Live 0xffffffffa0165000 (F)
dvb_core 109701 0 - Live 0xffffffffa0140000 (OF)
xts 12922 1 aesni_intel, Live 0xffffffffa006b000 (F)
snd_seq 61930 2 snd_seq_midi,snd_seq_midi_event, Live 0xffffffffa0125000 (F)
gf128mul 14951 2 lrw,xts, Live 0xffffffffa0066000 (F)
drm_kms_helper 49597 1 i915, Live 0xffffffffa0117000 (F)
snd_timer 29989 2 snd_pcm,snd_seq, Live 0xffffffffa007f000 (F)
drm 287564 3 i915,drm_kms_helper, Live 0xffffffffa00cf000 (F)
snd_seq_device 14497 3 snd_seq_midi,snd_rawmidi,snd_seq, Live
0xffffffffa0061000 (F)
snd 69533 16
snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device,
Live 0xffffffffa00bd000 (F)
soundcore 12680 1 snd, Live 0xffffffffa00b8000 (F)
btcx_risc 13640 0 - Live 0xffffffffa00a6000 (F)
snd_page_alloc 18798 2 snd_hda_intel,snd_pcm, Live 0xffffffffa00b2000 (F)
i2c_algo_bit 13564 1 i915, Live 0xffffffffa009b000 (F)
tveeprom 21249 0 - Live 0xffffffffa00ab000 (F)
lpc_ich 17144 0 - Live 0xffffffffa00a0000 (F)
mei 41820 0 - Live 0xffffffffa008f000 (F)
eeepc_wmi 13151 0 - Live 0xffffffffa008a000 (F)
serio_raw 13215 0 - Live 0xffffffffa0054000 (F)
asus_wmi 24581 1 eeepc_wmi, Live 0xffffffffa0048000 (F)
sparse_keymap 13890 1 asus_wmi, Live 0xffffffffa0043000 (F)
microcode 23017 0 - Live 0xffffffffa005a000 (F)
video 19652 2 i915,asus_wmi, Live 0xffffffffa0036000 (F)
mac_hid 13253 0 - Live 0xffffffffa003e000 (F)
wmi 19256 1 asus_wmi, Live 0xffffffffa002a000 (F)
lp 17799 0 - Live 0xffffffffa0030000 (F)
parport 46562 1 lp, Live 0xffffffffa001d000 (F)
pata_acpi 13038 0 - Live 0xffffffffa0015000 (F)
atl1c 41977 0 - Live 0xffffffffa0009000 (F)
pata_via 13712 0 - Live 0xffffffffa0000000 (F)


What should I look for in dmesg? I try

dmesg | fgrep -i dvb
[    4.271289] altera_ci: disagrees about version of symbol
dvb_ca_en50221_init
[    4.271292] altera_ci: Unknown symbol dvb_ca_en50221_init (err -22)

Sounds like an error, not 100% sure if it's relevant to this compilation,
no clue how to fix it (the wiki suggests a reboot, which isn't enough).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20131231/a7aaba8c/attachment.html>


More information about the mythtv-users mailing list