Page 1 of 1

TBS5520SE - Driver issue with rpi4 kernel 6.1.0

PostPosted: Wed Feb 14, 2024 10:44 am
by mcrlecce
Hello,
I'm attempting to install a driver for the TBS5520SE on my Raspberry Pi 4, which is running the latest OS, Bookworm, with kernel version 6.1.0. The installation process appears to have completed, but the device is still not recognized in TVheadend. Could someone assist me? What instructions should I follow to install the driver on this new kernel?
Thanks

Re: TBS5520SE - Driver issue with rpi4 kernel 6.1.0

PostPosted: Sun Feb 18, 2024 5:52 pm
by zhangchao
You can modify your build instructions as follows:

sudo apt-get install git mc patchutils raspberrypi-kernel-headers libproc-processtable-perl -y
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
####### Next instructions only on 32-bit system ##################
sed -i 's/CONFIG_VIDEO_SAA7146_VV=m/#CONFIG_VIDEO_SAA7146_VV is not set/g' v4l/.config
######################################################################
make -j4
sudo make install
wget http://www.tbsdtv.com/download/document ... .0.tar.bz2
sudo tar jxvf tbs-tuner-firmwares_v1.0.tar.bz2 -C /lib/firmware

Re: TBS5520SE - Driver issue with rpi4 kernel 6.1.0

PostPosted: Mon Feb 19, 2024 8:45 am
by mcrlecce
zhangchao Wrote:You can modify your build instructions as follows:

sudo apt-get install git mc patchutils raspberrypi-kernel-headers libproc-processtable-perl -y
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
####### Next instructions only on 32-bit system ##################
sed -i 's/CONFIG_VIDEO_SAA7146_VV=m/#CONFIG_VIDEO_SAA7146_VV is not set/g' v4l/.config
######################################################################
make -j4
sudo make install
wget http://www.tbsdtv.com/download/document ... .0.tar.bz2
sudo tar jxvf tbs-tuner-firmwares_v1.0.tar.bz2 -C /lib/firmware


Hi Zhangchao,
Thank you very much for the response. I've followed your instructions, and now the TBS5520se is correctly recognized by the operating system, and Tvheadend works properly. I've also installed it on my new Raspberry Pi 5 without any issues.
Cheers