Moderator Control Panel ]

Raspberry pi 5 Debian 1:6.6.31-1+rpt1 driver failed

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

Raspberry pi 5 Debian 1:6.6.31-1+rpt1 driver failed

Postby lukasz5520 » Tue Sep 10, 2024 6:18 pm

Welcome
After installing the drivers, the tbs5520se card is not initialized in the system. Most of the installation steps went without errors, but at the very end it displayed some error related to pwm:

/home/lukasz/media_build/v4l/pwm-ir-tx.c: In function 'pwm_ir_tx':
/home/lukasz/media_build/v4l/pwm-ir-tx.c:70:17: error: implicit declaration of function 'pwm_apply_state'; did you mean 'pwm_apply_args'? [-Werror=implicit-function-declaration]
70 | pwm_apply_state(pwm, &state);
| ^~~~~~~~~~~~~~~
| pwm_apply_args
CC [M] /home/lukasz/media_build/v4l/redrat3.o
cc1: some warnings being treated as errors
CC [M] /home/lukasz/media_build/v4l/serial_ir.o
CC [M] /home/lukasz/media_build/v4l/ir-spi.o
make[4]: *** [/usr/src/linux-headers-6.6.31+rpt-common-rpi/scripts/Makefile.build:248: /home/lukasz/media_build/v4l/pwm-ir-tx.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [/usr/src/linux-headers-6.6.31+rpt-common-rpi/Makefile:1938: /home/lukasz/media_build/v4l] Error 2
make[2]: *** [/usr/src/linux-headers-6.6.31+rpt-common-rpi/Makefile:246: __sub-make] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-6.6.31+rpt-rpi-2712'
make[1]: *** [Makefile:53: default] Error 2
make[1]: Leaving directory '/home/lukasz/media_build/v4l'
make: *** [Makefile:26: all] Error 2
root@raspbian-lite:/home/lukasz/media_build#

I used these commands to install the drivers:

apt-get update
mkdir tbs
cd tbs
apt-get install linux-headers-generic
apt-get install patchutils
apt-get install libproc-processtable-perl
apt-get install git
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 allyesconfig
sed -i -r 's/(^CONFIG._RC.=)./\1n/g' v4l/.config
sed -i -r 's/(^CONFIG._IR.=)./\1n/g' v4l/.config
make -j4
make install
cd tbs
wget http://www.tbsdtv.com/download/document ... .0.tar.bz2
tar jxvf tbs-tuner-firmwares_v1.0.tar.bz2 -C /lib/firmware/
apt-get install tvheadend - installed correct (The card is not visible in tvheadend)
reboot
dmesg | grep frontend - display nothing

What is the problem with this driver?
lukasz5520
 
Posts: 1
Joined: Tue Sep 10, 2024 2:10 am

Re: Raspberry pi 5 Debian 1:6.6.31-1+rpt1 driver failed

Postby zhangchao » Fri Sep 13, 2024 2:49 pm

hi ,

this is error: error: implicit declaration of function 'pwm_apply_state'; did you mean 'pwm_apply_args'
please add skype jack_2431 . i will check .

best regards!
zhangchao
 
Posts: 105
Joined: Thu Jan 17, 2013 4:59 pm


Return to Driver & Software Update

Who is online

Users browsing this forum: No registered users and 3 guests