Moderator Control Panel ]

TBS6909 Centos 7 Driver Problem

It's important to keep your driver and software updated.

TBS6909 Centos 7 Driver Problem

Postby Redne » Wed Dec 19, 2018 5:52 pm

Hi,

can someone help me?
------------------------------

/root/media_build/v4l/stid135_drv.c: At top level:
cc1: warning: unrecognized command line option "-Wno-format-truncation" [enabled by default]
CC [M] /root/media_build/v4l/media-entity.o
CC [M] /root/media_build/v4l/v4l2-fwnode.o
CC [M] /root/media_build/v4l/v4l2-dev.o
CC [M] /root/media_build/v4l/v4l2-ioctl.o
CC [M] /root/media_build/v4l/v4l2-device.o
CC [M] /root/media_build/v4l/v4l2-fh.o
CC [M] /root/media_build/v4l/v4l2-event.o
CC [M] /root/media_build/v4l/v4l2-ctrls.o
CC [M] /root/media_build/v4l/v4l2-subdev.o
CC [M] /root/media_build/v4l/v4l2-clk.o
CC [M] /root/media_build/v4l/v4l2-async.o
CC [M] /root/media_build/v4l/v4l2-compat-ioctl32.o
CC [M] /root/media_build/v4l/v4l2-trace.o
CC [M] /root/media_build/v4l/v4l2-mc.o
CC [M] /root/media_build/v4l/v4l2-common.o
CC [M] /root/media_build/v4l/v4l2-dv-timings.o
CC [M] /root/media_build/v4l/tuner-core.o
CC [M] /root/media_build/v4l/v4l2-mem2mem.o
CC [M] /root/media_build/v4l/videobuf-core.o
CC [M] /root/media_build/v4l/videobuf-dma-sg.o
CC [M] /root/media_build/v4l/videobuf-dma-contig.o
CC [M] /root/media_build/v4l/videobuf-vmalloc.o
/root/media_build/v4l/videobuf-dma-sg.c: In function 'videobuf_dma_init_user_locked':
/root/media_build/v4l/videobuf-dma-sg.c:188:9: warning: passing argument 6 of 'get_user_pages' makes pointer from integer without a cast [enabled by default]
dma->pages, NULL);
^
In file included from include/linux/scatterlist.h:7:0,
from include/linux/dma-mapping.h:10,
from include/linux/skbuff.h:34,
from include/linux/if_ether.h:23,
from /root/media_build/v4l/compat.h:1732,
from <command-line>:0:
include/linux/mm.h:1200:6: note: expected 'struct page **' but argument is of type 'int'
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/root/media_build/v4l/videobuf-dma-sg.c:188:9: warning: passing argument 7 of 'get_user_pages' from incompatible pointer type [enabled by default]
dma->pages, NULL);
^
In file included from include/linux/scatterlist.h:7:0,
from include/linux/dma-mapping.h:10,
from include/linux/skbuff.h:34,
from include/linux/if_ether.h:23,
from /root/media_build/v4l/compat.h:1732,
from <command-line>:0:
include/linux/mm.h:1200:6: note: expected 'struct vm_area_struct **' but argument is of type 'struct page **'
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/root/media_build/v4l/videobuf-dma-sg.c:188:9: error: too many arguments to function 'get_user_pages'
dma->pages, NULL);
^
In file included from include/linux/scatterlist.h:7:0,
from include/linux/dma-mapping.h:10,
from include/linux/skbuff.h:34,
from include/linux/if_ether.h:23,
from /root/media_build/v4l/compat.h:1732,
from <command-line>:0:
include/linux/mm.h:1200:6: note: declared here
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/root/media_build/v4l/videobuf-dma-sg.c: At top level:
cc1: warning: unrecognized command line option "-Wno-format-truncation" [enabled by default]
make[3]: *** [/root/media_build/v4l/videobuf-dma-sg.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [_module_/root/media_build/v4l] Error 2
make[2]: Leaving directory `/usr/src/kernels/4.4.168-1.el7.elrepo.x86_64'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/root/media_build/v4l'
make: *** [all] Error 2
[root@stream media_build]#
Redne
 
Posts: 4
Joined: Tue Dec 18, 2018 11:28 pm

Re: TBS6909 Centos 7 Driver Problem

Postby steven » Thu Dec 20, 2018 3:06 pm

Hi

Do you have tried like this :
For CentOS 7 please try this
Update to new kernel

#rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
#rpm -Uvh http://www.elrepo.org/elrepo-release-7. ... noarch.rpm
#yum --enablerepo=elrepo-kernel install kernel-lt-devel kernel-lt -y
#grub2-set-default 0
Restart to load the new kernel and install gcc unzip

#yum -y install gcc
#yum -y install unzip
#reboot
Install required libraries

#yum -y install perl-devel perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker
#yum -y install patchutils
#yum -y install patch
Install the SHA

#wget https://sourceforge.net/projects/moipro ... z/download -O Digest-SHA-5.93.tar.gz
#tar xvf Digest-SHA-5.93.tar.gz
#cd Digest-SHA-5.93
#perl Makefile.PL
#make && make install
Install Perl

#wget https://sourceforge.net/projects/moipro ... p/download -O perl-proc-processtable-master.zip
#unzip perl-proc-processtable-master.zip
#cd perl-proc-processtable-master
#perl Makefile.PL
#make && make install
Start install the open source driver, then start install the driver.

Thanks

Kind Regards

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

Re: TBS6909 Centos 7 Driver Problem

Postby Redne » Thu Dec 20, 2018 5:22 pm

Thank you for the answer. Yes I tried several times but the result was still not the same
Redne
 
Posts: 4
Joined: Tue Dec 18, 2018 11:28 pm

Re: TBS6909 Centos 7 Driver Problem

Postby steven » Tue Dec 25, 2018 2:31 pm

Hi Redne

Can you set a SSH remote you can send detail information to our support#tbsdtv.com we will remote install the driver for you

Thanks

Kind Regards

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

Re: TBS6909 Centos 7 Driver Problem

Postby Redne » Wed Dec 26, 2018 12:45 am

hi,

The installation instructions I have solved the problem does not support linux kernel version. I've installed version 4.17.19 solved the problem.

thank you

Note: I used to translate them as I write ;)
Redne
 
Posts: 4
Joined: Tue Dec 18, 2018 11:28 pm


Return to Driver & Software Update

Who is online

Users browsing this forum: No registered users and 7 guests