Package Details: tbs-dvb-drivers v170330_4.10.11_1_ARCH-1

Git Clone URL: https://aur.archlinux.org/tbs-dvb-drivers.git (read-only)
Package Base: tbs-dvb-drivers
Description: TBS proprietary DVB drivers + firmware
Upstream URL: http://www.tbsdtv.com
Licenses: GPL
Conflicts: ffdecsawrapper, tbs-dvb-drivers, tbs-linux-drivers
Provides: tbs-dvb-drivers
Submitter: p-we
Maintainer: michaelpolster (nickb937)
Last Packager: nickb937
Votes: 12
Popularity: 0.233656
First Submitted: 2013-09-13 10:27
Last Updated: 2017-04-25 16:53

Latest Comments

MelTraX commented on 2017-06-26 11:12

I'm trying to get this device to work:

Bus 002 Device 010: ID 734c:5928 TBS Technologies China Q-Box II DVB-S2 HD

With tbs-linux_media-git it works fine for HD channels but does nothing for SD channels.

With tbs-dvb-drivers I can't even get it to transfer the firmware: https://pastebin.com/rW5ycswS (dmesg output)

$ uname -a
Linux zergling 4.9.34-1-lts #1 SMP Sat Jun 24 17:36:28 CEST 2017 x86_64 GNU/Linux

A solution with either driver would be fine with me. Any suggestions?

You might want to add tbs-firmware as a conflicting package and maybe switch the dependencies to linux-lts-headers since it doesn't work with the stock kernel currently (though I don't know what will happen with the other kernels then)?

lww commented on 2017-04-28 19:22

In order to switch to dvb-c you need to change the line

./v4l/tbs-x86_64.sh

to

./v4l/tbs-x86_64.sh && ./v4l/tbs-dvbc-x86_64.sh

in the PKGBUILD-file.

lww commented on 2017-04-28 17:36

In order to switch to dvb-c you need to change the line

./v4l/tbs-x86_64.sh

to

./v4l/tbs-dvbc-x86_64.sh

in the PKGBUILD-file, otherwise a dvb-t / dvb-t2 / dvb-c PCIe-card will solely work as dvb-t or dvb-t2 receiver. Unfortunately, the above mentioned change causes the following error:

make[3]: *** Keine Regel vorhanden, um das Ziel „/home/vdr/tbs-dvb-drivers/src/linux-tbs-drivers/v4l/tbsctrl.o“,
benötigt von „/home/vdr/tbs-dvb-drivers/src/linux-tbs-drivers/v4l/saa716x_tbs-dvb.o“, zu erstellen. Schluss.
make[2]: *** [Makefile:1490: _module_/home/vdr/tbs-dvb-drivers/src/linux-tbs-drivers/v4l] Error 2
make[2]: Leaving directory '/usr/lib/modules/4.9.24-1-lts/build'
make[1]: *** [Makefile:52: default] Fehler 2
make[1]: Verzeichnis „/home/vdr/tbs-dvb-drivers/src/linux-tbs-drivers/v4l“ wird verlassen
make: *** [Makefile:26: all] Fehler 2
==> FEHLER: Ein Fehler geschah in build().
Breche ab...

michaelpolster commented on 2017-04-27 18:18

I read the installation instructions for dvb-c cards again and I didn't find anything special which has to be done for creation/packaging. But several things have to be done, as for all cards when loading it into the kernel. Please read the README-files for YOUR card. You can download the zip-file from tbstv as declared in sources (look above).
I don't own a dvb-c card, so I don't know if there's anything special for compiling, but I don't think so.

lww commented on 2017-04-26 18:54

Dear Michael,

Thanks once more for your efforts maintaining the package. However, how do I get the dvb-c version of the drivers installed?

Best regards,
Lutz

lww commented on 2017-04-23 19:25

Dear Michael,

Thanks for your reply and the hint to the lts-kernel. I am new to arch and thus I used the kernel that came along with the installation. However, with the lts-kernel everything works like a charm.

michaelpolster commented on 2017-04-23 17:06

the current package isn't outdated, because it's fully functionally with a 4.9 lts kernel. Is there any big advantage to shift it for a newer kernel? I made the experience, when I used the modules of TBS with too new kernels, they're often not as new, as them. have you tried it with the lts-kernel?

lww commented on 2017-04-16 08:44

Dear nickb937,

Thanks for your efforts maintaining the tbs-dvb-driver package. However, to which file shall the patch be applied?

Cheers,
Lutz

nickb937 commented on 2017-03-24 12:48

You need to apply this patch to build on 4.10 (tested on 4.10.5)

$ cat 1a29d85eb0f19b7d8271923d8917d7b4f5540b3e.patch
diff --git a/drivers/media/video/videobuf-dma-sg.c b/drivers/media/video/videobuf-dma-sg.c
index 1db0af6..ba63ca5 100644
--- a/drivers/media/video/videobuf-dma-sg.c
+++ b/drivers/media/video/videobuf-dma-sg.c
@@ -439,13 +439,12 @@ static int videobuf_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
struct page *page;

dprintk(3, "fault: fault @ %08lx [vma %08lx-%08lx]\n",
- (unsigned long)vmf->virtual_address,
- vma->vm_start, vma->vm_end);
+ vmf->address, vma->vm_start, vma->vm_end);

page = alloc_page(GFP_USER | __GFP_DMA32);
if (!page)
return VM_FAULT_OOM;
- clear_user_highpage(page, (unsigned long)vmf->virtual_address);
+ clear_user_highpage(page, vmf->address);
vmf->page = page;

return 0;

jody commented on 2017-03-15 21:37

build fails for me on 4.10.2-1-ARCH:
CC [M] /home/jody/AUR/tbs-dvb-drivers/src/linux-tbs-drivers/v4l/videobuf-dma-sg.o
/home/jody/AUR/tbs-dvb-drivers/src/linux-tbs-drivers/v4l/videobuf-dma-sg.c: In function 'videobuf_vm_fault':
/home/jody/AUR/tbs-dvb-drivers/src/linux-tbs-drivers/v4l/videobuf-dma-sg.c:416:21: error: 'struct vm_fault' has no member named 'virtual_address'
(unsigned long)vmf->virtual_address,
^
/home/jody/AUR/tbs-dvb-drivers/src/linux-tbs-drivers/v4l/videobuf-dma-sg.c:56:42: note: in definition of macro 'dprintk'
printk(KERN_DEBUG "vbuf-sg: " fmt , ## arg)
^~~
/home/jody/AUR/tbs-dvb-drivers/src/linux-tbs-drivers/v4l/videobuf-dma-sg.c:422:46: error: 'struct vm_fault' has no member named 'virtual_address'
clear_user_highpage(page, (unsigned long)vmf->virtual_address);
^~
make[3]: *** [scripts/Makefile.build:301: /home/jody/AUR/tbs-dvb-drivers/src/linux-tbs-drivers/v4l/videobuf-dma-sg.o] Error 1
make[2]: *** [Makefile:1490: _module_/home/jody/AUR/tbs-dvb-drivers/src/linux-tbs-drivers/v4l] Error 2
make[2]: Leaving directory '/usr/lib/modules/4.10.2-1-ARCH/build'
make[1]: *** [Makefile:52: default] Error 2
make[1]: Leaving directory '/home/jody/AUR/tbs-dvb-drivers/src/linux-tbs-drivers/v4l'
make: *** [Makefile:26: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...

fix is described here: https://github.com/torvalds/linux/commit/1a29d85eb0f19b7d8271923d8917d7b4f5540b3e

All comments