EnoSat
Specialist Contributor
- Joined
- May 29, 2004
- Messages
- 841
- Reaction score
- 791
- Points
- 93
- Age
- 54
- Website
- enosat.euweb.cz
- My Satellite Setup
- TBS-5925/5220/5520SE , Dr.HD , Dreambox , Edision , Mutant , Octagon
- My Location
- Slovakia
So maybe it doesn't according to my unsuccessful attempt with GOLD 131070 and success with the ROOT PLS. Any ideas why? Maybe just this si2183 demod ?ROOT 16416 = GOLD 131070
The question is whether the card supports both inputs
According to the driver both should work, but it is possible there are bugsSo maybe it doesn't according to my unsuccessful attempt with GOLD 131070 and success with the ROOT PLS. Any ideas why? Maybe just this si2183 demod ?
cd ~/blindscan_kernel/media
git reset --hard
git pull
cd ../media_build
make -j8
#check for error
sudo make install
#then reboot
Yes if you have installed all prerequisites.Is this enough?
Or should I upgrade the kernel to 6.1-6.2 ?
I have Fedora 36 and kernel 5.17.5-300.fc36 .x86_64
Can you give me a command line that goes wrong for you?I hava a little problem after my ubuntu auto updated to kernel 6. I am using TBS6903 card. The drivers modified for kernel 6 has installed correctly and I can see symbolrate and modulation is detected automatically. The only thing not working is DiSEqC control when I try tools like tsduck.io. I am using simle Diseqc 1.0 four ports (AA AB BA B. It is working in the drivers from tbsdtv and also it has been working in the old blind scan drivers I installed in March 2023.
root@dvbtest:/home/dvbtest#tsp -I dvb --device-name /dev/dvb/adapter0:0 --satellite-number 3 --frequency 11,137,000,000 --symbol-rate 27,500,000 --polarity horizontal --delivery-system DVB-S2 --modulation 8-PSK --fec-inner 3/4 -P bitrate_monitor --periodic-bitrate 5 -O drop
* bitrate_monitor: 2023/09/22 08:51:43, TS bitrate: 37,972,992 bits/s
* bitrate_monitor: 2023/09/22 08:51:48, TS bitrate: 38,045,184 bits/s
* bitrate_monitor: 2023/09/22 08:51:53, TS bitrate: 37,972,992 bits/s
root@dvbtest:/home/dvbtest#dvbtune -c 0 -D 4 -f 11137000 -s 27500 -p H -m Using DVB card "TurboSight TBS 6903 DVB-S/S2 "
tuning DVB-S to L-Band:791621423, Pol:H Srate=27500000, 22kHz=off
polling....
Getting frontend event
FE_STATUS:
polling....
Getting frontend event
FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI FE_HAS_SYNC
Event: Frequency: 11137000
SymbolRate: 27500000
FEC_inner: 3
Bit error rate: 0
Signal strength: 34768
SNR: 42640
FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI FE_HAS_SYNC
Signal=34768, Verror=0, SNR=42640dB, BlockErrors=0, (S|L|C|V|SY|)
Signal=34768, Verror=0, SNR=42640dB, BlockErrors=0, (S|L|C|V|SY|)
Signal=34768, Verror=0, SNR=42640dB, BlockErrors=0, (S|L|C|V|SY|)
Signal=34768, Verror=0, SNR=42640dB, BlockErrors=0, (S|L|C|V|SY|)
I just checked out the exact versions for the kernel and the user space program which are on github and tested with the TBS 5972
All works fine (apart from the printf problem). Clearly the "FE_GET_EXTENDED_INFO unknown error..." is what goes wrong.
Why I don't know. Perhaps not using the correct kernel code, or something else. Does the kernel log show anything interesting?
I understand if you give up. I think I will also check in my version of media_build. Perhaps it helps to compile the proper kernel.
[ 3.737123] WARNING: You are using an experimental version of the media stack.
As the driver is backported to an older kernel, it doesn't offer
enough quality for its usage in production.
Use it with care.
Latest git patches (needed if you report a bug to linux-media@vger.kernel.org):
Hmm... distro kernel with a non-standard place for module backports detected.
Please always prefer to use vanilla upstream kernel with V4L/DVB
I'll try to remove old/obsolete LUM files from /lib/modules/6.2.0-31-generic//updates/dkms:
find: warning: '-name' matches against basenames only, but the given pattern contains a directory separator ('/'), thus the expression will
rm -rf /lib/modules/`uname -r`/kernel/drivers/media/
rm -rf /lib/modules/`uname -r`/updates/extra/media/
mkdir ~/blindscan_kernel
cd ~/blindscan_kernel
git clone --depth=1 https://github.com/deeptho/linux_media.git ./media
git clone https://github.com/deeptho/media_build
cd media_build
git checkout deepthought
git reset --hard
make dir DIR=../media
make distclean
./install.sh
wget http://www.tbsdtv.com/download/document/linux/tbs-tuner-firmwares_v1.0.tar.bz2
sudo tar jxvf tbs-tuner-firmwares_v1.0.tar.bz2 -C /lib/firmware/
reboot
-rw-r--r-- 1 root root 36568 sep. 23 10:00 dmxdev.c
-rw-r--r-- 1 root root 36554 sep. 23 10:00 dmxdev.c.orig
-rw-r--r-- 1 root root 47950 sep. 23 10:00 dvb_ca_en50221.c
-rw-r--r-- 1 root root 34223 sep. 23 10:00 dvb_demux.c
-rw-r--r-- 1 root root 34209 sep. 23 10:00 dvb_demux.c.orig
-rw-r--r-- 1 root root 26784 sep. 23 10:00 dvbdev.c
-rw-r--r-- 1 root root 26372 sep. 23 10:00 dvbdev.c~
-rw-r--r-- 1 root root 26358 sep. 23 10:00 dvbdev.c.orig
-rw-r--r-- 1 root root 109989 sep. 23 10:00 dvb_frontend.c
-rw-r--r-- 1 root root 109975 sep. 23 10:00 dvb_frontend.c.orig
-rw-r--r-- 1 root root 5212 sep. 23 10:00 dvb_math.c
-rw-r--r-- 1 root root 42508 sep. 23 10:00 dvb_net.c
-rw-r--r-- 1 root root 10140 sep. 23 10:00 dvb_ringbuffer.c
-rw-r--r-- 1 root root 10342 sep. 23 10:00 dvb_vb2.c
-rw-r--r-- 1 root root 2447 sep. 23 10:00 Kconfig
-rw-r--r-- 1 root root 350 sep. 23 10:00 Makefile
#sed -i -r 's/(^CONFIG.*_RC.*=)./\1n/g' v4l/.config
#sed -i -r 's/(^CONFIG.*_IR.*=)./\1n/g' v4l/.config
#sed -i -r 's/(^CONFIG.*_BT87X.*=)./\1n/g' v4l/.config
sed -i -r 's/(^CONFIG.*_MXL603.*=)./\1n/g' v4l/.config
sed -i -r 's/(^CONFIG.*_MTV23X.*=)./\1n/g' v4l/.config
#sed -i -r 's/(^CONFIG.*_GX1503.*=)./\1n/g' v4l/.config
Bug: mm88rs6060 cards error attaching lnb control on adapter
22khz wired only from first demod from each si21832 dual demod chip.
si2183 frontend driver set 22khz tone and send diseqc cmd for each demod instance
Thank you for the feedback. I would like to stick with a kernel that has been tested so I will need to find out how to install a spesific kernel on ubuntu 22.04. But first I will wipe the hdd and make a new ubuntu install and see if it works better.tbs6504 should work with diseqc. It works for me (but not tested recently).
I am not sure with which switches that I used at the time, but I also have some spaun and emp ones.
The errors you report suggest that you are not using the recommended installation procedure.
The ".orig" files suggest that patching may not be successful.
The error "mm88rs6060 cards error attaching lnb control on adapter" obviously prevents diseqc from working,
but should not affect tbs6504.
Why not stick to a kernel that has been tested?
6.3.8-200 works for me, but there have been various changes before that in the linux kernel which
could cause compilation problems.
mkdir ~/blindscan_kernel
cd ~/blindscan_kernel
git clone --depth=1 https://github.com/deeptho/linux_media.git ./media
git clone https://github.com/deeptho/media_build
cd media_build
git checkout deepthought
git reset --hard
make dir DIR=../media
make distclean
./install.sh
wget http://www.tbsdtv.com/download/document/linux/tbs-tuner-firmwares_v1.0.tar.bz2
sudo tar jxvf tbs-tuner-firmwares_v1.0.tar.bz2 -C /lib/firmware/
reboot
Wiping the hard disk is never the right solution: it takes a lot of time, and even if it fixes some problem (unlikely) then it will equally "unfix" any solutions found so far.Thank you for the feedback. I would like to stick with a kernel that has been tested so I will need to find out how to install a spesific kernel on ubuntu 22.04. But first I will wipe the hdd and make a new ubuntu install and see if it works better.
Btw, I have used the installation procedure from GitHub - deeptho/linux_media: neumoDVB blindscan drivers media_tree :
Code:mkdir ~/blindscan_kernel cd ~/blindscan_kernel git clone --depth=1 https://github.com/deeptho/linux_media.git ./media git clone https://github.com/deeptho/media_build cd media_build git checkout deepthought git reset --hard make dir DIR=../media make distclean ./install.sh wget http://www.tbsdtv.com/download/document/linux/tbs-tuner-firmwares_v1.0.tar.bz2 sudo tar jxvf tbs-tuner-firmwares_v1.0.tar.bz2 -C /lib/firmware/ reboot
I replaced the harddisk with an empty one just to keep my ubuntu disk untouched. I have now installed fedora 38.Wiping the hard disk is never the right solution: it takes a lot of time, and even if it fixes some problem (unlikely) then it will equally "unfix" any solutions found so far.
Specifically: you can install more than one kernel at the same time. I have less experience with ubuntu myself.
static int wait_dis(struct stv *state, u8 flag, u8 val)
{
int i;
u8 stat;
u16 offs = state->adapterno ? 0x40 : 0;
for (i = 0; i < 10; i++) {
stat = read_reg(state, RSTV0910_P1_DISTXSTATUS + offs);
if ((stat & flag) == val)
return 0;
msleep(100); // changed from 10 to 100
}
return -1;
}