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

Git Clone URL: (read-only, click to copy)
Package Base: tbs-dvb-drivers
Description: TBS proprietary DVB drivers + firmware
Upstream URL:
Licenses: GPL
Conflicts: ffdecsawrapper, tbs-dvb-drivers, tbs-linux-drivers
Provides: tbs-dvb-drivers
Submitter: p-we
Maintainer: schrieveslaach
Last Packager: nickb937
Votes: 11
Popularity: 0.000000
First Submitted: 2013-09-13 10:27 (UTC)
Last Updated: 2017-04-25 16:53 (UTC)

Latest Comments

JohnRobson commented on 2020-02-18 08:01 (UTC)

Updating/Creating .config
Preparing to compile for kernel version 4.19.99
File not found: /lib/modules/4.19.99-1-MANJARO/build/.config at ./scripts/ line 33, <IN> line 4.
Preparing to compile for kernel version 4.19.99
File not found: /lib/modules/4.19.99-1-MANJARO/build/.config at ./scripts/ line 33, <IN> line 4.
./scripts/ /lib/modules/4.19.99-1-MANJARO/build /lib/modules/4.19.99-1-MANJARO/build
Updating/Creating .config
Preparing to compile for kernel version 4.19.99
File not found: /lib/modules/4.19.99-1-MANJARO/build/.config at ./scripts/ line 33, <IN> line 4.
Preparing to compile for kernel version 4.19.99
File not found: /lib/modules/4.19.99-1-MANJARO/build/.config at ./scripts/ line 33, <IN> line 4.
make[1]: *** No rule to make target '.config', needed by '.myconfig'.  Stop.
make[1]: Leaving directory '/tmp/yay/tbs-dvb-drivers/src/linux-tbs-drivers/v4l'
make: *** [Makefile:26: all] Error 2
==> ERROR: A failure occurred in build().
Error making: tbs-dvb-drivers

toxiczka commented on 2017-08-06 18:33 (UTC)

For building the current tbs drivers 170330 on 4.12.4, the following patch works for me. diff -ura --no-dereference --color linux-tbs-drivers/linux/drivers/media/common/saa7146_vbi.c --- linux-tbs-drivers/linux/drivers/media/common/saa7146_vbi.c 2017-08-06 19:53:49.174885608 +0200 +++ 2017-08-06 19:49:42.107386740 +0200 @@ -1,3 +1,4 @@ +#include <linux/sched/signal.h> #include <media/saa7146_vv.h> static int vbi_pixel_to_capture = 720 * 2; diff -ura --no-dereference --color linux-tbs-drivers/linux/drivers/media/common/saa716x/saa716x_pci.c --- linux-tbs-drivers/linux/drivers/media/common/saa716x/saa716x_pci.c 2017-08-06 19:53:49.178218998 +0200 +++ 2017-08-06 19:49:42.107386740 +0200 @@ -46,7 +46,7 @@ for (i = 0; i < SAA716x_MSI_MAX_VECTORS; i++) saa716x->msix_entries[i].entry = i; - ret = pci_enable_msix(pdev, saa716x->msix_entries, SAA716x_MSI_MAX_VECTORS); + ret = pci_enable_msix_range(pdev, saa716x->msix_entries, SAA716x_MSI_MAX_VECTORS, SAA716x_MSI_MAX_VECTORS); if (ret < 0) dprintk(SAA716x_ERROR, 1, "MSI-X request failed <%d>", ret); if (ret > 0) diff -ura --no-dereference --color linux-tbs-drivers/linux/drivers/media/dvb/dvb-core/dvb_ca_en50221.c --- linux-tbs-drivers/linux/drivers/media/dvb/dvb-core/dvb_ca_en50221.c 2017-08-06 19:53:49.178218998 +0200 +++ 2017-08-06 19:49:42.107386740 +0200 @@ -37,6 +37,7 @@ #include <linux/spinlock.h> #include <linux/sched.h> #include <linux/kthread.h> +#include <linux/sched/signal.h> #include "dvb_ca_en50221.h" #include "dvb_ringbuffer.h" diff -ura --no-dereference --color linux-tbs-drivers/linux/drivers/media/dvb/dvb-core/dvb_demux.c --- linux-tbs-drivers/linux/drivers/media/dvb/dvb-core/dvb_demux.c 2017-08-06 19:53:49.181552387 +0200 +++ 2017-08-06 19:49:42.107386740 +0200 @@ -29,6 +29,7 @@ #include <linux/poll.h> #include <linux/string.h> #include <linux/crc32.h> +#include <linux/sched/signal.h> #include <asm/uaccess.h> #include <asm/div64.h> diff -ura --no-dereference --color linux-tbs-drivers/linux/drivers/media/dvb/dvb-core/dvb_frontend.c --- linux-tbs-drivers/linux/drivers/media/dvb/dvb-core/dvb_frontend.c 2017-08-06 19:53:49.181552387 +0200 +++ 2017-08-06 19:49:42.107386740 +0200 @@ -42,6 +42,7 @@ #include "dvb_frontend.h" #include "dvbdev.h" #include <linux/dvb/version.h> +#include <linux/sched/signal.h> static int dvb_frontend_debug; static int dvb_shutdown_timeout; diff -ura --no-dereference --color linux-tbs-drivers/linux/drivers/media/dvb/dvb-core/dvb_ringbuffer.c --- linux-tbs-drivers/linux/drivers/media/dvb/dvb-core/dvb_ringbuffer.c 2017-08-06 19:53:49.181552387 +0200 +++ 2017-08-06 19:49:42.107386740 +0200 @@ -31,6 +31,8 @@ #include <linux/module.h> #include <linux/sched.h> #include <linux/string.h> +#include <linux/sched/signal.h> +#include <linux/uaccess.h> #include <asm/uaccess.h> #include "dvb_ringbuffer.h" diff -ura --no-dereference --color linux-tbs-drivers/linux/drivers/media/dvb/ngene/ngene-cards.c --- linux-tbs-drivers/linux/drivers/media/dvb/ngene/ngene-cards.c 2017-08-06 19:53:49.184885778 +0200 +++ 2017-08-06 19:55:20.473090410 +0200 @@ -509,12 +509,6 @@ return PCI_ERS_RESULT_CAN_RECOVER; } -static pci_ers_result_t ngene_link_reset(struct pci_dev *dev) -{ - printk(KERN_INFO DEVICE_NAME ": link reset\n"); - return 0; -} - static pci_ers_result_t ngene_slot_reset(struct pci_dev *dev) { printk(KERN_INFO DEVICE_NAME ": slot reset\n"); @@ -528,7 +522,6 @@ static struct pci_error_handlers ngene_errors = { .error_detected = ngene_error_detected, - .link_reset = ngene_link_reset, .slot_reset = ngene_slot_reset, .resume = ngene_resume, }; diff -ura --no-dereference --color linux-tbs-drivers/linux/drivers/media/dvb/pt1/pt1.c --- linux-tbs-drivers/linux/drivers/media/dvb/pt1/pt1.c 2017-08-06 19:53:49.184885778 +0200 +++ 2017-08-06 19:49:42.107386740 +0200 @@ -28,6 +28,7 @@ #include <linux/pci.h> #include <linux/kthread.h> #include <linux/freezer.h> +#include <linux/sched/signal.h> #include "dvbdev.h" #include "dvb_demux.h" diff -ura --no-dereference --color linux-tbs-drivers/linux/drivers/media/rc/lirc_dev.c --- linux-tbs-drivers/linux/drivers/media/rc/lirc_dev.c 2017-08-06 19:53:49.184885778 +0200 +++ 2017-08-06 19:49:42.110720129 +0200 @@ -34,6 +34,7 @@ #include <linux/bitops.h> #include <linux/device.h> #include <linux/cdev.h> +#include <linux/sched/signal.h> #include <media/lirc.h> #include <media/lirc_dev.h> diff -ura --no-dereference --color linux-tbs-drivers/linux/drivers/media/video/arv.c --- linux-tbs-drivers/linux/drivers/media/video/arv.c 2017-08-06 19:53:49.188219167 +0200 +++ 2017-08-06 19:49:42.110720129 +0200 @@ -32,6 +32,7 @@ #include <media/v4l2-device.h> #include <media/v4l2-ioctl.h> #include <linux/mutex.h> +#include <linux/sched/signal.h> #include <asm/uaccess.h> #include <asm/m32r.h> diff -ura --no-dereference --color linux-tbs-drivers/linux/drivers/media/video/cpia2/cpia2_core.c --- linux-tbs-drivers/linux/drivers/media/video/cpia2/cpia2_core.c 2017-08-06 19:53:49.188219167 +0200 +++ 2017-08-06 19:49:42.110720129 +0200 @@ -35,6 +35,7 @@ #include <linux/mm.h> #include <linux/vmalloc.h> #include <linux/firmware.h> +#include <linux/sched/signal.h> /* #define _CPIA2_DEBUG_ */ diff -ura --no-dereference --color linux-tbs-drivers/linux/drivers/media/video/cpia2/cpia2_v4l.c --- linux-tbs-drivers/linux/drivers/media/video/cpia2/cpia2_v4l.c 2017-08-06 19:53:49.188219167 +0200 +++ 2017-08-06 19:49:42.110720129 +0200 @@ -38,6 +38,7 @@ #include <linux/init.h> #include <linux/videodev2.h> #include <linux/stringify.h> +#include <linux/sched/signal.h> #include <media/v4l2-ioctl.h> #include "cpia2.h" diff -ura --no-dereference --color linux-tbs-drivers/linux/drivers/media/video/cx18/cx18-driver.c --- linux-tbs-drivers/linux/drivers/media/video/cx18/cx18-driver.c 2017-08-06 19:53:49.191552556 +0200 +++ 2017-08-06 19:49:42.110720129 +0200 @@ -22,6 +22,8 @@ * 02111-1307 USA */ +#include <linux/sched/signal.h> + #include "cx18-driver.h" #include "cx18-io.h" #include "cx18-version.h" diff -ura --no-dereference --color linux-tbs-drivers/linux/drivers/media/video/gspca/cpia1.c --- linux-tbs-drivers/linux/drivers/media/video/gspca/cpia1.c 2017-08-06 19:53:49.191552556 +0200 +++ 2017-08-06 19:49:42.110720129 +0200 @@ -29,6 +29,7 @@ #define MODULE_NAME "cpia1" #include <linux/input.h> +#include <linux/sched/signal.h> #include "gspca.h" MODULE_AUTHOR("Hans de Goede <>"); diff -ura --no-dereference --color linux-tbs-drivers/linux/drivers/media/video/ivtv/ivtv-driver.c --- linux-tbs-drivers/linux/drivers/media/video/ivtv/ivtv-driver.c 2017-08-06 19:53:49.194885946 +0200 +++ 2017-08-06 19:49:42.110720129 +0200 @@ -59,6 +59,8 @@ #include <media/tveeprom.h> #include <media/saa7115.h> #include <media/v4l2-chip-ident.h> +#include <linux/sched/signal.h> +#include <uapi/linux/sched/types.h> #include "tuner-xc2028.h" /* If you have already X v4l cards, then set this to X. This way diff -ura --no-dereference --color linux-tbs-drivers/linux/drivers/media/video/ivtv/ivtvfb.c --- linux-tbs-drivers/linux/drivers/media/video/ivtv/ivtvfb.c 2017-08-06 19:53:49.194885946 +0200 +++ 2017-08-06 19:49:42.110720129 +0200 @@ -43,6 +43,7 @@ #include <linux/fb.h> #include <linux/ivtvfb.h> #include <linux/slab.h> +#include <linux/sched/signal.h> #ifdef CONFIG_MTRR #include <asm/mtrr.h> diff -ura --no-dereference --color linux-tbs-drivers/linux/drivers/media/video/ivtv/ivtv-fileops.c --- linux-tbs-drivers/linux/drivers/media/video/ivtv/ivtv-fileops.c 2017-08-06 19:53:49.198219335 +0200 +++ 2017-08-06 19:49:42.114053519 +0200 @@ -35,6 +35,7 @@ #include "ivtv-firmware.h" #include <media/v4l2-event.h> #include <media/saa7115.h> +#include <linux/sched/signal.h> /* This function tries to claim the stream for a specific file descriptor. If no one else is using this stream then the stream is claimed and diff -ura --no-dereference --color linux-tbs-drivers/linux/drivers/media/video/ivtv/ivtv-ioctl.c --- linux-tbs-drivers/linux/drivers/media/video/ivtv/ivtv-ioctl.c 2017-08-06 19:53:49.198219335 +0200 +++ 2017-08-06 19:49:42.114053519 +0200 @@ -37,6 +37,7 @@ #include <media/v4l2-chip-ident.h> #include <media/v4l2-event.h> #include <linux/dvb/audio.h> +#include <linux/sched/signal.h> u16 ivtv_service2vbi(int type) { diff -ura --no-dereference --color linux-tbs-drivers/linux/drivers/media/video/ivtv/ivtv-yuv.c --- linux-tbs-drivers/linux/drivers/media/video/ivtv/ivtv-yuv.c 2017-08-06 19:53:49.198219335 +0200 +++ 2017-08-06 19:49:42.114053519 +0200 @@ -18,6 +18,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include <linux/sched/signal.h> #include "ivtv-driver.h" #include "ivtv-udma.h" #include "ivtv-yuv.h" diff -ura --no-dereference --color linux-tbs-drivers/linux/drivers/media/video/pvrusb2/pvrusb2-ioread.c --- linux-tbs-drivers/linux/drivers/media/video/pvrusb2/pvrusb2-ioread.c 2017-08-06 19:53:49.201552724 +0200 +++ 2017-08-06 19:49:42.114053519 +0200 @@ -25,6 +25,7 @@ #include <linux/mm.h> #include <linux/slab.h> #include <linux/mutex.h> +#include <linux/uaccess.h> #include <asm/uaccess.h> #define BUFFER_COUNT 32 diff -ura --no-dereference --color linux-tbs-drivers/linux/drivers/media/video/videobuf-dma-sg.c --- linux-tbs-drivers/linux/drivers/media/video/videobuf-dma-sg.c 2017-08-06 19:53:49.201552724 +0200 +++ 2017-08-06 19:49:42.114053519 +0200 @@ -408,30 +408,21 @@ * now ...). Bounce buffers don't work very well for the data rates * video capture has. */ -static int videobuf_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) +static int videobuf_vm_fault(struct vm_fault *vmf) { - struct page *page; - - #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 10, 0) - dprintk(3, "fault: fault @ %08lx [vma %08lx-%08lx]\n", (unsigned long)vmf->virtual_address,vma->vm_start, vma->vm_end); - #else - dprintk(3, "fault: fault @ %08lx [vma %08lx-%08lx]\n", vmf->address,vma->vm_start, vma->vm_end); - #endif + struct vm_area_struct *vma = vmf->vma; + struct page *page; - page = alloc_page(GFP_USER | __GFP_DMA32); - if (!page) - return VM_FAULT_OOM; - - #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 10, 0) - clear_user_highpage(page, (unsigned long)vmf->virtual_address); - #else - clear_user_highpage(page, vmf->address); - #endif + dprintk(3, "fault: fault @ %08lx [vma %08lx-%08lx]\n", + 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, vmf->address); + vmf->page = page; - vmf->page = page; - - return 0; + return 0; } #if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,31) diff -ura --no-dereference --color linux-tbs-drivers/linux/drivers/media/video/zoran/zoran_device.c --- linux-tbs-drivers/linux/drivers/media/video/zoran/zoran_device.c 2017-08-06 19:53:49.201552724 +0200 +++ 2017-08-06 19:49:42.114053519 +0200 @@ -44,6 +44,7 @@ #include <linux/pci.h> #include <linux/delay.h> #include <linux/wait.h> +#include <linux/sched/signal.h> #include <asm/byteorder.h> #include <asm/io.h> diff -ura --no-dereference --color linux-tbs-drivers/linux/drivers/media/video/zoran/zoran_driver.c --- linux-tbs-drivers/linux/drivers/media/video/zoran/zoran_driver.c 2017-08-06 19:53:49.204886114 +0200 +++ 2017-08-06 19:49:42.114053519 +0200 @@ -69,6 +69,7 @@ #include <linux/proc_fs.h> #include <linux/mutex.h> +#include <linux/sched/signal.h> #include "zoran.h" #include "zoran_device.h" #include "zoran_card.h" diff -ura --no-dereference --color linux-tbs-drivers/linux/drivers/staging/go7007/go7007-v4l2.c --- linux-tbs-drivers/linux/drivers/staging/go7007/go7007-v4l2.c 2017-08-06 19:53:49.204886114 +0200 +++ 2017-08-06 19:49:42.114053519 +0200 @@ -34,6 +34,7 @@ #include <linux/i2c.h> #include <linux/mutex.h> #include <linux/uaccess.h> +#include <linux/sched/signal.h> #include "go7007.h" #include "go7007-priv.h"

JohnRobson commented on 2017-07-18 20:42 (UTC)

CC [M] /tmp/yaourt-tmp-us/aur-tbs-dvb-drivers/src/linux-tbs-drivers/v4l/saa7146_vbi.o distcc[9546] ERROR: compile /tmp/yaourt-tmp-us/aur-tbs-dvb-drivers/src/linux-tbs-drivers/v4l/saa7146_vbi.c on localhost failed /tmp/yaourt-tmp-us/aur-tbs-dvb-drivers/src/linux-tbs-drivers/v4l/saa7146_vbi.c: In function 'vbi_workaround': /tmp/yaourt-tmp-us/aur-tbs-dvb-drivers/src/linux-tbs-drivers/v4l/saa7146_vbi.c:117:6: error: implicit declaration of function 'signal_pending'; did you mean 'timer_pending'? [-Werror=implicit-function-declaration] if(signal_pending(current)) { ^~~~~~~~~~~~~~ timer_pending cc1: some warnings being treated as errors make[3]: *** [scripts/ /tmp/yaourt-tmp-us/aur-tbs-dvb-drivers/src/linux-tbs-drivers/v4l/saa7146_vbi.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [Makefile:1492: _module_/tmp/yaourt-tmp-us/aur-tbs-dvb-drivers/src/linux-tbs-drivers/v4l] Error 2 make[2]: Leaving directory '/usr/lib/modules/4.11.9-1-ARCH/build' make[1]: *** [Makefile:52: default] Error 2 make[1]: Leaving directory '/tmp/yaourt-tmp-us/aur-tbs-dvb-drivers/src/linux-tbs-drivers/v4l' make: *** [Makefile:26: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build tbs-dvb-drivers.

MelTraX commented on 2017-06-26 11:12 (UTC)

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: (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 (UTC)

In order to switch to dvb-c you need to change the line ./v4l/ to ./v4l/ && ./v4l/ in the PKGBUILD-file.

lww commented on 2017-04-28 17:36 (UTC)

In order to switch to dvb-c you need to change the line ./v4l/ to ./v4l/ 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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC) (edited on 2017-03-15 22:29 (UTC) by jody)

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/ /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:

michaelpolster commented on 2017-03-08 21:54 (UTC)

yes, I'll try to maintain the package. Because I own a tbs card, which I use very often. I already made a local package and now I try to upload it into git, so everybody can use it.... (it's my first package too)

lorcap commented on 2017-03-05 21:58 (UTC)

I'm a bit puzzled. Yesterday, I decided to see if I could maintain this orphaned package (my first one). Today, I was reading how to build a package when I saw it has a new maintainer. @michaelpolster, are you going to maintain tbs-dvb-drivers? Thanks.

Sunday commented on 2017-02-03 21:22 (UTC)

Hey guys. I'm afraid I will probably not be using this package myself in the future so I can not test it properly. I hope someone els finds the time to maintain it...

JohnRobson commented on 2016-12-08 10:05 (UTC)

File not found: /lib/modules/4.8.10-1-ARCH/build/.config at ./scripts/ line 33, <IN> line 4. File not found: /lib/modules/4.8.10-1-ARCH/build/.config at ./scripts/ line 33, <IN> line 4. ./scripts/ /lib/modules/4.8.10-1-ARCH/build /lib/modules/4.8.10-1-ARCH/build Updating/Creating .config Preparing to compile for kernel version 4.8.10 File not found: /lib/modules/4.8.10-1-ARCH/build/.config at ./scripts/ line 33, <IN> line 4. Preparing to compile for kernel version 4.8.10 File not found: /lib/modules/4.8.10-1-ARCH/build/.config at ./scripts/ line 33, <IN> line 4. make[1]: *** No rule to make target '.config', needed by '.myconfig'. Stop. make[1]: Leaving directory '/tmp/yaourt-tmp-us/aur-tbs-dvb-drivers/src/linux-tbs-drivers/v4l' make: *** [Makefile:26: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build tbs-dvb-drivers.

JohnLBergqvist commented on 2016-11-14 10:46 (UTC)

TBS have issued a driver update which fixes the problem with building for kernels 4.8 The new version is located here (Domain has changed too):

toxiczka commented on 2016-10-24 23:10 (UTC)

For building with Linux 4.8 you can change prepare in PKGBUILD as follows. This is maybe not the place where this should be fixed, but a working quick fix. prepare() { cd $srcdir tar xjf linux-tbs-drivers.tar.bz2 chmod -R u+rwX $srcdir/linux-tbs-drivers sed -i 's/static DEFINE_PCI_DEVICE_TABLE(snd_bt87x_ids) = {/static const struct pci_device_id snd_bt87x_ids[] = {/g' $srcdir/linux-tbs-drivers/linux/sound/pci/bt87x.c sed -i 's/static DEFINE_PCI_DEVICE_TABLE(snd_bt87x_default_ids) = {/static const struct pci_device_id snd_bt87x_default_ids[] = {/g' $srcdir/linux-tbs-drivers/linux/sound/pci/bt87x.c }

archcomp commented on 2016-07-07 11:25 (UTC)

Thank you. Works fine for me (TBS6618). Andre Hasekamp.

Sunday commented on 2016-07-06 12:18 (UTC)

As I have little time right now this update to v160630 is untested at the moment. Please let others know in the comments if it works or if anything needs to be changed, when you install it. I will probably try an install on Monday.

BytEvil commented on 2016-06-21 11:23 (UTC)

I made a patch to build TBS drivers for kernel 4.6.x ,but you need to modify PKGBUILD file.

Sunday commented on 2016-06-18 16:25 (UTC)

This does not seem to build against latest kernel, so a new version should come from TBS soon.

reydecopas commented on 2016-03-22 18:21 (UTC)

New version...

Sunday commented on 2016-02-07 14:15 (UTC)

Modules are now being installed into the extramodules folder. Sorry for typing the commit note in German, i must have been daydreaming or something.

Sunday commented on 2016-02-03 15:07 (UTC)

Sounds like a good idea, I will try this on my HTPC and if it works out release a new PKGBUILD.

lorcap commented on 2016-02-03 05:56 (UTC)

Thanks a lot for your effort in packaging this drivers. On my HTPC, I lost recording functionality when pacman upgraded the kernel from 4.3.3-2-ARCH to 4.3.3-3-ARCH. Do you think it's a good idea to use '/usr/lib/modules/`uname -r`/extramodules' as to avoid such scenarios?

cketelsen commented on 2015-11-07 17:13 (UTC)

TBS drivers have been updated to v151105. Could you please update? Thx!

produnis commented on 2015-08-09 14:21 (UTC)

Works with current driver-version and current kernel (4.1.4-1). THX. dude!

Sunday commented on 2015-07-27 10:27 (UTC)

I have received word from the Turbosight support that the update is on its way and should be there some time time this week but no later than Monday. I will go on vacation on Friday, so the update might not be there in time for me to update the PKGBUILD. It should be only a matter of updating the URL and checksum, though... In that case maybe someone could then post a link to an updated PKGBUILD. Maybe someone even would volunteer to be registered as a Co-Maintainer? Please feel free to contact me about that.

Sunday commented on 2015-07-23 07:54 (UTC)

I can't confirm this at the moment because i am traveling, but my guess would be that v150525 is not compatible with kernels 4.1.x and we have to wait for tbs to update the driver. This has happened before.

produnis commented on 2015-07-23 07:03 (UTC)

Does anyone manage to install this package with latest kernel?

ozlacs commented on 2015-07-18 09:26 (UTC)

don't build :(

Sunday commented on 2015-05-25 13:33 (UTC)

maybe this will work also with linux-lts, it uses the archive without the script.

produnis commented on 2015-05-25 12:49 (UTC)

fails to built with current lts-kernel. Builts proper with current linux kernel

Sunday commented on 2015-05-21 17:29 (UTC)

It seems they have put back the old (without the and renamed the new one to Basically all that needed to be changed in the PKGBUILD was the filename.

produnis commented on 2015-05-20 07:32 (UTC)

What I did: I downloaded the latest version from here: and extracted its content and changed into the new directory. Here, I ran "./", which builds the driver properly with kernel 4.0.3-1. However, after reboot, dmesg | grep cx88 gives: [ 11.222126] cx88xx: disagrees about version of symbol ir_raw_event_handle [ 11.222139] cx88xx: Unknown symbol ir_raw_event_handle (err -22) [ 11.222541] cx88xx: disagrees about version of symbol rc_keyup [ 11.222547] cx88xx: Unknown symbol rc_keyup (err -22) [ 11.222603] cx88xx: disagrees about version of symbol So, the FAQ of TBS states: A1: do the following: # sudo rm -rf /lib/modules/<kernel_version>/kernel/drivers/media/ where "<kernel_version>" is replaced by the loaded kernel version and then reinstall the drivers with doing "make install". After a reboot, everything works again.

FalconGER commented on 2015-05-19 20:49 (UTC)

SHA256sums should be 3fdfa6f14af91b3301f0f29c2a2386a7f84504688c766e714287ad8d450e2a57 for .install and fdc905866a01231595e23c53b7b7b5e81428c10844215c1be1231c4a1297f743 for But than I got an error: ==> Beginne build()... tar (child): tbs-linux-drivers_v150429.tar.bz2: Funktion open fehlgeschlagen: Datei oder Verzeichnis nicht gefunden tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now ==> FEHLER: Ein Fehler geschah in build(). Breche ab... ==> FEHLER:Makepkg konnte tbs-dvb-drivers nicht erstellen.

produnis commented on 2015-05-19 19:10 (UTC)

I downloaded the current driver from make and make install run through properly however, after reboot, the card is not recognized I am using the lts kernel is there any change to get an older version of the driver?

produnis commented on 2015-05-19 14:21 (UTC)

with todays kernel update I get "sha256sums... ... FAILED failed to verify tbs-dvb-drivers integrity"

produnis commented on 2015-05-15 12:28 (UTC)

thank you so much for your good work, p-we!!! live long and prosper!

p-we commented on 2015-05-15 11:33 (UTC)

Thanks Sunday for reminding me of this. THe package works again. The TBS Driver package structure has changed with an config script which is needed as more changes are coming for the media stack in upcoming 4.xx kernels. About the future: Since I have moved a year ago I have very limited time to keep my AUR packages maintained and keep my system tweaked. Arch Linux is just too bleeding edge to make a comfortable low maintanence multimedia server platform and I now need a server which will continue to run for years in a very boring reliable way. I have been toying with CentOS7 for a few months which has some issues but is where I am headed. This is the time for me to bow out. This package needs a new owner. I will miss the learning thrill that ArchLinux has given me.

Sunday commented on 2015-05-15 09:05 (UTC)

This should work (modified PKGBUILD):

p-we commented on 2015-05-10 09:45 (UTC)

I can't believe this. Not only have TBS once again altered a published driver after its original issue and kept the driver's name the same (ie same date), now they have indeed changed the format of the contents quite a bit under the same driver name. You would think they would at least have the courtesy of changing the name of the driver package to something new to reflect the change. So I'll get on this ASAP although I don't know if I'll get it done tonight. It's late here in NZ.

bpbastos commented on 2015-05-09 22:02 (UTC)

Hello @p-we. I have tried to build the driver today but it failed, seems like TBS changed something in the .zip.

p-we commented on 2015-04-30 08:09 (UTC)

Thanks for the warning. Good that TBS have caught up with current kernel development

cketelsen commented on 2015-04-30 07:58 (UTC)

@p-we TBS driver has been updated to v150429, now has compatibility with Linux kernels 3.19.x and 4.0

produnis commented on 2015-04-23 19:28 (UTC)

@thx, it just works fine with lts-kernel. However, dkms-support would be nice. :-)

p-we commented on 2015-03-22 08:48 (UTC)

@produnis I just realized that I have not tried the unofficial TBS driver package with kernel 3.19. I tried the drivers with FFdecsawrapper and it is FFdecsawrapper's loopback which is failing. The drivers alone could work with kernel 3.19. I can verify that the unofficial driver package does build properly. Give this a shot:

produnis commented on 2015-03-19 10:16 (UTC)

p-we: thank you very much for your clarification... I might downgrade to 3.18-6 thx for your time!!!

p-we commented on 2015-03-19 10:03 (UTC)

@produnis The AUR package is OK but TBS official drivers are not yet compatible with 3.19. At this time unofficial TBS drivers maintained by L. Alves don't work with 3.19 either. Kernel 3.19 and also 4.0 now at RC2 both come with big changes for the media stack including DVB devices. The guys at TBS will probably have alot of work to do so the fix might not come quickly. It might not even be a big priority for them to get it done quickly. So the choices are to stay with 3.18-6 or use linux-lts which is based on 3.14 until DVB developers accross the board catch up with kernel development.

produnis commented on 2015-03-19 08:32 (UTC)

Cannot install with todays kernel-update: make[3]: *** [/tmp/pacaurtmp-produnis/tbs-dvb-drivers/src/linux-tbs-drivers/v4l/lirc_dev.o] Fehler 1 Makefile:1382: recipe for target '_module_/tmp/pacaurtmp-produnis/tbs-dvb-drivers/src/linux-tbs-drivers/v4l' failed make[2]: *** [_module_/tmp/pacaurtmp-produnis/tbs-dvb-drivers/src/linux-tbs-drivers/v4l] Error 2 make[2]: Leaving directory '/usr/lib/modules/3.19.2-1-ARCH/build' Makefile:51: die Regel für Ziel „default“ scheiterte make[1]: *** [default] Fehler 2 make[1]: Verzeichnis „/tmp/pacaurtmp-produnis/tbs-dvb-drivers/src/linux-tbs-drivers/v4l“ wird verlassen Makefile:26: die Regel für Ziel „all“ scheiterte make: *** [all] Fehler 2 ==> FEHLER: Ein Fehler geschah in build(). Breche ab... :: tbs-dvb-drivers cleaning skipped :: failed to build tbs-dvb-drivers package(s)

p-we commented on 2015-03-13 06:04 (UTC)

So the new v150313 driver is back to zip format AND includes firmware. Go figure. What will it be next?

p-we commented on 2015-02-04 08:34 (UTC)

Updated 150130 driver package brings some changes for TBS: 1) tar.bz2 format instead of zip 2) No more firmware, so I'm assuming firmware is now integrated into drivers. There is no new documentation posted at TBS yet

commented on 2014-11-18 20:56 (UTC)

Hi guys, sry for the late answer. I had massive notebook problems because of nvidia. I bought a new one with intel card, installed archlinux: uname -a Linux arch 3.17.3-1-ARCH #1 SMP PREEMPT Fri Nov 14 23:13:48 CET 2014 x86_64 GNU/Linux And tbs-dvb-drivers v141019-1. Everything works fine! Thanks for that!

p-we commented on 2014-10-19 20:27 (UTC)

@septigation As @Sunday pointed out, the package installs the TBS drivers and firmware in such a way they they do work in current ArchLinux. However, depending on your specific TBS hardware and application, this might not mean that everything just works. 1) Some TBS hardware, especially some USB types which require firmware, don't get detected well by udev and need to be modprobed manually. 2) Do you have v4l-utils installed? Some apps, such as older versions of VDR, need the v4l-utils package to get the hardware to work properly. 3) Try running a simple "sudo depmod" manually outside of the install script and see if this makes a difference.

Sunday commented on 2014-10-18 09:51 (UTC)

I disagree: [root@bigbrain alex]# uname -a Linux bigbrain 3.16.4-1-ARCH #1 SMP PREEMPT Mon Oct 6 08:22:27 CEST 2014 x86_64 GNU/Linux [root@bigbrain alex]# lsmod | grep tbs rc_tbs_nec 12396 0 saa716x_tbs_dvb 71088 1 tbs6618fe 17177 1 saa716x_tbs_dvb [...] And the card works just fine...

commented on 2014-10-17 19:11 (UTC)

Dont work with Kernels >=3.16.4

p-we commented on 2014-08-21 07:32 (UTC)

v140819 is out. Problem solved.

p-we commented on 2014-08-16 08:28 (UTC)

Bad news: Driver package v140707 is incompatible with 3.16 kernel tuner-types have been merged into V4l tree so TBS will have to update their V4L lib's. If you want to use linux 3.16 either wait for a new TBS driver package or try:

p-we commented on 2014-08-08 00:43 (UTC)

@Sunday, Thanks for the input. Always looking forward to learn something new. I like both contributions and will implement them.

Sunday commented on 2014-08-07 19:45 (UTC)

I am using this PKGBUILD for some time now, but i always apply the same changes before building: 1. make compressing the modules use more cpus (xargs -P`nproc`) 2. make the post_install call depmod with the explicit kernel version that the package is built against. This is helpful in my scenario: home-theater box has a slow cpu, so i compile the driver on my main box before updating the kernel on home-theater box. Then I install the new kernel and the new tbs-driver on the new box, without rebooting in between. In this situation depmod fails if the new kernel version is not passed as an argument, because it defaults to the currently running kernel version. This is my changes:, maybe you want to include them in the PKGBUILD, they should not break anything for anyone. Thx for maintaining this nice package :)

cketelsen commented on 2014-07-03 11:34 (UTC)

Working well with my 6928 and 6982SE. However, the driver used to crash after some time with this error: irq 17: nobody cared (try booting with the "irqpoll" option) Disabling IRQ #17 This can be fixed by switching the driver from IRQ to MSI. Just create a conf-file, e.g. /etc/modprobe.d/tbs.conf and add this line: options saa716x_tbs_dvb int_type=1

p-we commented on 2014-06-06 20:47 (UTC)

For the interested there is another option for TBS DVB. T.Alves maintains an unofficial open source TBS driver repo. There could be advantages for some because official TBS drivers use ancient V4L lib's and his drivers use latest V4l See:

p-we commented on 2014-05-04 00:16 (UTC)

The v140425 package has changed despite keeping the same name. My system builds 2 extra modules now. Checksums in MAKEPKG have been changed accordingly.

p-we commented on 2014-04-28 19:34 (UTC)

The newest v140425 driver package works as is, but for my 6984 has some intermittent issues when used with FFdecsawrapper which indicates that there may be V4L irregularities within the whole v140425 package. The point is that this newest driver package might be less "perfect" than TBS driver versions in the past. Keep your older v140323 around just in case. EDIT 2014-04-29: Changing permissions of modules to 755 (644 before) seems to fix the irregularity mentioned above for me.

FalconGER commented on 2014-04-25 18:50 (UTC)

v140425 is out

p-we commented on 2014-04-06 22:23 (UTC)

Thanks for the input everyone. Here is a list of confirmed TBS cards: 5925 6618 6680 6981 6984 6985 What is good is that all major chipsets from DVB-S and DVB-C are represented here. Also, I'm glad that the 5925 is working as this is USB2 and relies on firmware so that part seems to be OK as well.

taylord1984 commented on 2014-04-06 08:26 (UTC)

Working well on a 6981 card. Thanks

p-we commented on 2014-03-26 06:22 (UTC)

updated to v140323 I can also now confirm that this package works with TBS 6984 as well. Thanks for the input.

Sunday commented on 2014-02-21 22:39 (UTC)

I have a TBS 6618 and this package works like a charm, thanks a lot!

p-we commented on 2014-02-18 22:39 (UTC)

@afk_cz: Good to hear it works. Thanks for the feedback. I'm trying to keep track of which TBS cards are working. This helps.

afk_cz commented on 2014-02-18 21:03 (UTC)

@p-we: kernel 3.12.9-2 x86_64, TBS5925, your package works perfect.

afk_cz commented on 2014-02-18 21:01 (UTC)

Excellent work. driver works out of the box. I tried to dwn from tbs website latest driver but I got always errors: dvb_usb: Unknown symbol rc_register_device (err -22) dvb_usb: disagrees about version of symbol rc_free_device I received some hints from TBS support (which replies very fast) but it didn't help. thanks a lot !

p-we commented on 2014-02-13 17:08 (UTC)

I've done some research on how firmware is detected etc and changed package accordingly: TBS original firmware in now installed into /usr/lib/firmware base directory. Redundant V4L firmware from the TBS driver package are no longer installed on top of ARCH firmware. Please let me know how it runs for your TBS card. It should be consistantly better like this.

p-we commented on 2014-02-11 13:33 (UTC)

Changed to v140210 Thanks for the heads-up.

ozlacs commented on 2014-02-11 13:03 (UTC)

v140210 is out

archcomp commented on 2014-01-31 21:55 (UTC)

Thank you for adapting the TBS work to ArchLinux

FalconGER commented on 2014-01-16 17:44 (UTC)

Thanks! Will test it next days

p-we commented on 2014-01-15 13:24 (UTC)

Updated. Thanks for the heads up. Also RC modules kept in now. Hopefully fixed.

FalconGER commented on 2014-01-14 22:32 (UTC)

New version v140113 is out :)

p-we commented on 2013-12-08 21:04 (UTC)

2 changes: 1) Make distclean added to solve problem with kernel upgrades 2) RC and Lirc files from V4l are no longer built into the package. There appears to be some issues with kernel 3.12 and older lirc/rc modules.

fasigno commented on 2013-11-03 21:42 (UTC)

Thank you, I solved, it was a silly date problem.

p-we commented on 2013-11-03 20:28 (UTC)

Check to see if you have kernel-headers installed. If not install first the headers and try it, then if necessary v4l-utils. I'm not sure if the headers are a hard dependancy or not.

fasigno commented on 2013-11-03 13:26 (UTC)

Hi, I encountered some problems in compiling this package. I opened a topic on the forum: [url][/url] because I don't know how to fix them. Thank you in advance for any kind of help. Regards.

p-we commented on 2013-10-20 20:53 (UTC)

OK, that makes at least one TBS card which uses other V4L modules it compiles its own TBS drivers with. I'm changing this package to install all of the modules in the TBS driver package from now on. Thanks for thw feedback FalconGER

FalconGER commented on 2013-10-19 12:32 (UTC)

Thank you very much! I edited the PKGBUILD, enabled the V4L modules and now the card works well! My 6680 is shown up in tvheadend with both adapters. The mux-scan works as well as the live streaming. Recording will be tested in the near future ;) I' using manjaro 64bit up-to-date

p-we commented on 2013-10-16 00:00 (UTC)

@FalconGER: Thank you very much for this feedback. I will be switching to a TBS-6984 + TBS-6985 in December. I cannot test this AUR package now so I appreciate your feedback and comments here. I want to make the TBS cards work good here! Now about your TBS-6680. . . I guess we'll just have to solve this together. I have wondered if it was necessary to build and install all of the V4L modules contained in the TBS packages or not. I just made a change in the PKGBUILD to allow to toggle between them. Please edit the PKGBUILD and change the " _tbs_drivers_only=" to anything except "yes" and see if it works. PS: I'm assuming you are currently using ARCH and not some other flavor of Linux. Please let me know if you are using a different taste of Linux besides ARCH.

FalconGER commented on 2013-10-15 22:33 (UTC)

wow, that was fast! Thank you very much! But for me my TBS 6680 does not work - I can not see the adapters in my tvheadend-git version :( Any ideas? I'll try a few things tomorrow

p-we commented on 2013-10-15 11:58 (UTC)

@falconGER: Thanks for the warning. Updated. I've added a conditional to be able to additionally install the V4L modules from the TBS package. It is disabled by default.

FalconGER commented on 2013-10-14 22:16 (UTC)

new version available: can you please update this package?

p-we commented on 2013-09-13 12:27 (UTC)

Official drivers and firmware from TBS-DTV. If are using your TBS DVB card with FFdecsawrapper, you should use this other package instead: