Moderator Control Panel ]

How to reinstall the drivers with this kernel version?

How to reinstall the drivers with this kernel version?

Postby ArraY » Sat May 30, 2020 1:56 am

With an ubuntu18.04 I updated the kernel and I have lost the drivers for the cards. Actually:

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic

4.15.0-101-generic with my user root and following the pdf of the card installation won't let me reinstall the drivers again y give error:


Code: Select All Code
git clone https://github.com/tbsdtv/media_build.git
git clone --depth=1 https://github.com/tbsdtv/linux_media.git -b latest ./media
cd media_build/
make dir DIR=../media
make distclean
make -j4


Error:

CC [M] /home/user/Documentos/tbsdriver-quinta/media_build/v4l/videobuf-vmalloc.o
/home/user/Documentos/tbsdriver-quinta/media_build/v4l/videobuf-dma-sg.c: In function 'videobuf_dma_init_user_locked':
/home/user/Documentos/tbsdriver-quinta/media_build/v4l/videobuf-dma-sg.c:186:8: error: implicit declaration of function 'pin_user_pages'; did you mean 'get_user_pages'? [-Werror=implicit-function-declaration]
err = pin_user_pages(data & PAGE_MASK, dma->nr_pages,
^~~~~~~~~~~~~~
get_user_pages
/home/user/Documentos/tbsdriver-quinta/media_build/v4l/videobuf-dma-sg.c: In function 'videobuf_dma_free':
/home/user/Documentos/tbsdriver-quinta/media_build/v4l/videobuf-dma-sg.c:352:3: error: implicit declaration of function 'unpin_user_pages_dirty_loc'; did you mean 'set_page_dirty_lock'? [-Werror=implicit-function-declaration]
unpin_user_pages_dirty_lock(dma->pages, dma->nr_pages,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
set_page_dirty_lock
CC [M] /home/user/Documentos/tbsdriver-quinta/media_build/v4l/dvbdev.o
cc1: some warnings being treated as errors
scripts/Makefile.build:337: recipe for target '/home/user/Documentos/tbsdriver-quinta/media_build/v4l/videobuf-dma-sg.o' failed
make[3]: *** [/home/user/Documentos/tbsdriver-quinta/media_build/v4l/videobuf-dma-sg.o] Error 1
make[3]: *** Se espera a que terminen otras tareas....
Makefile:1577: recipe for target '_module_/home/user/Documentos/tbsdriver-quinta/media_build/v4l' failed
make[2]: *** [_module_/home/user/Documentos/tbsdriver-quinta/media_build/v4l] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.15.0-101-generic'
Makefile:51: recipe for target 'default' failed
make[1]: *** [default] Error 2
make[1]: se sale del directorio '/home/user/Documentos/tbsdriver-quinta/media_build/v4l'
Makefile:26: recipe for target 'all' failed
make: *** [all] Error 2



I have tried this by downloading the open linux drivers and it keeps giving me error:

Code: Select All Code
wget https://www.tbsiptv.com/download/common/tbs-open-linux-drivers_v20200413.zip
unzip tbs-open-linux-drivers_v20200413.zip
tar jxvf media_build-2020-04-13.tar.bz2
sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/media/
tar jxvf media_build-2020-04-13.tar.bz2
cd media_build
./install.sh



CC [M] /home/user/Documentos/tbsdriver-sexta/media_build/v4l/cx18-cards.o
/home/user/Documentos/tbsdriver-sexta/media_build/v4l/ivtvfb.c:40:10: fatal error: asm/memtype.h: No such file or directory
#include <asm/memtype.h>
^~~~~~~~~~~~~~~
compilation terminated.
CC [M] /home/user/Documentos/tbsdriver-sexta/media_build/v4l/cx18-i2c.o
scripts/Makefile.build:337: recipe for target '/home/user/Documentos/tbsdriver-sexta/media_build/v4l/ivtvfb.o' failed
make[3]: *** [/home/user/Documentos/tbsdriver-sexta/media_build/v4l/ivtvfb.o] Error 1
make[3]: *** Se espera a que terminen otras tareas....
make[3]: *** wait: No hay ningún proceso hijo. Alto.
Makefile:1577: recipe for target '_module_/home/user/Documentos/tbsdriver-sexta/media_build/v4l' failed




How can I reinstall the drivers?
ArraY
 
Posts: 15
Joined: Sat Nov 12, 2016 3:56 am

Re: How to reinstall the drivers with this kernel version?

Postby steven » Wed Jun 10, 2020 2:54 pm

Hi

Please use this package :

# wget http://www.tbsdtv.com/download/document/linux/media_build-2020-05-23.tar.bz2
# sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/media/
#tar jxvf media_build-2020-05-23.tar.bz2
#cd media_build
#./install.sh
#reboot

Thanks

Kind Regards

steven
steven
 
Posts: 2239
Joined: Fri Aug 06, 2010 3:23 pm


Return to DVB-S2 Quad Tuner PCIe Card TBS6905

Who is online

Users browsing this forum: No registered users and 3 guests