Blindscan on linux with tbs cards

deeptho

Specialist Contributor
Joined
Apr 7, 2006
Messages
769
Reaction score
465
Points
63
Age
57
My Satellite Setup
Wavefrontier T90, Laminas 120cm, 2 other dishes; tbs 5927, tbs6904, tbs6909x, tbs6903x, tbs5990, tbs6981,tbs5927
My Location
Europe
@deeptho

Hi deeptho, My building of the kernel has come to a halt, seemingly stopping where it applies patches to the existing kernel, 5.4.0-26-generic.

I've no idea what hunks are, too deep down in Linux language for me.

I'm using Linux Mint 20 on an HP Envy laptop. Any ideas what the problem could be?

TIA.

Code:
david@david-HP-ENVY-dv6-Notebook-PC:~/deeptho-tbsdriver/media_build$ sudo -s
[sudo] password for david:         
root@david-HP-ENVY-dv6-Notebook-PC:/home/david/deeptho-tbsdriver/media_build# make dir DIR=../media
make -C linux/ dir DIR="../../media"
make[1]: Entering directory '/home/david/deeptho-tbsdriver/media_build/linux'
rm -rf drivers include sound mm .patches_applied .linked_dir .git_log.md5 git_log kernel_version.h
Searching in ../../media/Makefile for kernel version.
./use_dir.pl ../../media
sync file: include/uapi/linux/uvcvideo.h
sync file: include/trace/events/pwc.h
sync file: include/uapi/linux/smiapp.h
sync file: include/linux/of_graph.h
sync file: include/uapi/linux/v4l2-common.h
sync file: include/uapi/linux/cec.h
sync file: include/trace/events/v4l2.h
sync file: include/uapi/linux/max2175.h
sync file: include/uapi/linux/ivtvfb.h
sync file: include/uapi/linux/v4l2-mediabus.h
sync file: include/uapi/linux/media.h
sync file: include/linux/via-core.h
sync file: include/linux/pci_ids.h
sync file: include/linux/overflow.h
sync file: include/uapi/linux/media-bus-format.h
sync file: include/trace/events/vb2.h
sync file: include/linux/dma/xilinx_dma.h
sync file: include/uapi/linux/cec-funcs.h
sync file: include/linux/dma-fence.h
sync file: include/linux/dma-buf.h
sync file: include/uapi/linux/v4l2-dv-timings.h
sync file: include/uapi/linux/xilinx-v4l2-controls.h
sync file: include/linux/mmc/sdio_ids.h
sync file: include/uapi/linux/meye.h
sync file: include/uapi/linux/videodev2.h
sync file: include/uapi/linux/v4l2-subdev.h
sync file: include/linux/kconfig.h
sync file: sound/pci/bt87x.c
sync file: include/sound/aci.h
sync file: include/uapi/linux/v4l2-controls.h
sync file: include/linux/ti_wilink_st.h
sync file: include/uapi/linux/ivtv.h
sync file: include/linux/hdmi.h
sync file: include/uapi/linux/lirc.h
sync file: include/linux/fixp-arith.h
sync file: include/misc/altera.h
sync file: include/uapi/linux/usb/video.h
sync dir: drivers/staging/media/
sync dir: include/uapi/linux/dvb/
sync dir: drivers/media/
sync dir: drivers/misc/altera-stapl/
sync dir: include/linux/platform_data/media/
sync dir: include/media/
sync dir: include/dt-bindings/media/
make[1]: Leaving directory '/home/david/deeptho-tbsdriver/media_build/linux'
root@david-HP-ENVY-dv6-Notebook-PC:/home/david/deeptho-tbsdriver/media_build# make allyesconfig
make -C /home/david/deeptho-tbsdriver/media_build/v4l allyesconfig
make[1]: Entering directory '/home/david/deeptho-tbsdriver/media_build/v4l'
make[2]: Entering directory '/home/david/deeptho-tbsdriver/media_build/linux'
Syncing with dir ../../media
Applying patches for kernel 5.4.0-26-generic
patch -s -f -N -p1 -i ../backports/api_version.patch
patch -s -f -N -p1 -i ../backports/pr_fmt.patch
patch -s -f -N -p1 LeavingLeaving-i ../backports/debug.patch
patch -s -f -N -p1 -i ../backports/drx39xxj.patch
patch -s -f -N -p1 -i ../backports/v5.7_mmap_read_lock.patch
1 out of 1 hunk FAILED
1 out of 1 hunk FAILED
1 out of 1 hunk FAILED
2 out of 2 hunks FAILED
2 out of 2 hunks FAILED
3 out of 3 hunks FAILED
1 out of 1 hunk FAILED
The text leading up to this was:
--------------------------
|diff --git a/drivers/staging/media/atomisp/pci/hmm/hmm_bo.c b/drivers/staging/media/atomisp/pci/hmm/hmm_bo.c
|index 4fb9bfdd2f4c..76d6e52b7af9 100644
|--- a/drivers/staging/media/atomisp/pci/hmm/hmm_bo.c
|+++ b/drivers/staging/media/atomisp/pci/hmm/hmm_bo.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
make[2]: *** [Makefile:133: apply_patches] Error 1
make[2]: Leaving directory '/home/david/deeptho-tbsdriver/media_build/linux'
make[1]: *** [Makefile:387: allyesconfig] Error 2
make[1]: Leaving directory '/home/david/deeptho-tbsdriver/media_build/v4l'
make: *** [Makefile:26: allyesconfig] Error 2
root@david-HP-ENVY-dv6-Notebook-PC:/home/david/deeptho-tbsdriver/media_build#
This seems to be a problem with media_build.

There are two things you can try:
* make sure that you did a "make distclean" before building. No .o and .ko files should be present; also
make sure that you have the mst recent media_build
*It could be some unneeded driver. If you can find which one, you can disable it.

I suspect the problem also occurs when building the tbs media_tree. It is then also kernel dependent.
Switching to a slightly older linux kernel version may help.

media_build is quite complicated. I don't understand all the details either...
 

Llew

cerca trova...
Staff member
Joined
Jan 1, 2000
Messages
16,259
Reaction score
4,217
Points
113
Age
82
My Satellite Setup
Triple Dragon, Dreambox 8000, Echostar AD3000ip, TBS6522,6925,6983 PCie cards.
Gibertini 1.25m motorised dish driven by the AD3000, with either Inverto BU Quad or Norsat / XMW Ka LNBs . SMW 1.05m + 3 other dishes. Speccy: Promax HD Ranger+
My Location
The Flatlands of East Anglia
This seems to be a problem with media_build.

There are two things you can try:
* make sure that you did a "make distclean" before building. No .o and .ko files should be present; also
make sure that you have the mst recent media_build
*It could be some unneeded driver. If you can find which one, you can disable it.

I suspect the problem also occurs when building the tbs media_tree. It is then also kernel dependent.
Switching to a slightly older linux kernel version may help.

media_build is quite complicated. I don't understand all the details either...
OK, I'll redo after a make disclean. Then if no luck, I'll try an older OS with hopefully a more tolerant kernel.
 

deeptho

Specialist Contributor
Joined
Apr 7, 2006
Messages
769
Reaction score
465
Points
63
Age
57
My Satellite Setup
Wavefrontier T90, Laminas 120cm, 2 other dishes; tbs 5927, tbs6904, tbs6909x, tbs6903x, tbs5990, tbs6981,tbs5927
My Location
Europe
I have uploaded new versions of blindscan and media_build.

The new version supports si2183 (tbs6504) and also can download IQ samples (stv091x and stid125 only).
The picture below was captured on 5.0W with STV091x.

tbs0504 uses a vender provided blindscan algortihm. The spectrum is of low resolution. Better something
than nothing.

To captures, use a command like:

./neumo-tune -a 8 -c iq -f 11138000 -pV -n 8000

This tunes to 11138V on adapter 8 and downloads 8000 samples.
It saves the samples to /tmp/iqV.dat (or iqH.dat).
To visualise:
cd /tmp
$DIR/plotiq.py
where $DIR is the directory containing plotiq.py

The same program can also blind tune to any frequency, report tuning details
and then wait forever (e.g., to use dvbsnoop). Here is an example
./neumo-tune -a 8 -c tune -f 11138000 -pV -n 8000
RESULT: freq=11137.096V Symrate=29945 Stream=255 pls_mode= 3:262143 ISI list: 171
SIG=-25.21dB SIG= 75% CNR=14.50dB CNR= 72% SYS(21) 8PSK FEC_2_3 INV_OFF PIL_ON ROLL_AUTO


Blindscan and spectrum download is done with the command
./neumo-blindscan ... (see earlier posts or github) for details.



iq_stv091x.png
 

Llew

cerca trova...
Staff member
Joined
Jan 1, 2000
Messages
16,259
Reaction score
4,217
Points
113
Age
82
My Satellite Setup
Triple Dragon, Dreambox 8000, Echostar AD3000ip, TBS6522,6925,6983 PCie cards.
Gibertini 1.25m motorised dish driven by the AD3000, with either Inverto BU Quad or Norsat / XMW Ka LNBs . SMW 1.05m + 3 other dishes. Speccy: Promax HD Ranger+
My Location
The Flatlands of East Anglia
I have uploaded new versions of blindscan and media_build.

The new version supports si2183 (tbs6504) and also can download IQ samples (stv091x and stid125 only).
The picture below was captured on 5.0W with STV091x.

tbs0504 uses a vender provided blindscan algortihm. The spectrum is of low resolution. Better something
than nothing.

To captures, use a command like:

./neumo-tune -a 8 -c iq -f 11138000 -pV -n 8000

This tunes to 11138V on adapter 8 and downloads 8000 samples.
It saves the samples to /tmp/iqV.dat (or iqH.dat).
To visualise:
cd /tmp
$DIR/plotiq.py
where $DIR is the directory containing plotiq.py

The same program can also blind tune to any frequency, report tuning details
and then wait forever (e.g., to use dvbsnoop). Here is an example
./neumo-tune -a 8 -c tune -f 11138000 -pV -n 8000
RESULT: freq=11137.096V Symrate=29945 Stream=255 pls_mode= 3:262143 ISI list: 171
SIG=-25.21dB SIG= 75% CNR=14.50dB CNR= 72% SYS(21) 8PSK FEC_2_3 INV_OFF PIL_ON ROLL_AUTO


Blindscan and spectrum download is done with the command
./neumo-blindscan ... (see earlier posts or github) for details.



View attachment 132156
I still have issues getting this to work, probably due to an incompatible OS kernel to patch. I've tried many versions, from the latest 5.7 down.
An obvious question perhaps that might help myself and others - which Linux OS and kernel are you using with your software?
 

deeptho

Specialist Contributor
Joined
Apr 7, 2006
Messages
769
Reaction score
465
Points
63
Age
57
My Satellite Setup
Wavefrontier T90, Laminas 120cm, 2 other dishes; tbs 5927, tbs6904, tbs6909x, tbs6903x, tbs5990, tbs6981,tbs5927
My Location
Europe
I still have issues getting this to work, probably due to an incompatible OS kernel to patch. I've tried many versions, from the latest 5.7 down.
An obvious question perhaps that might help myself and others - which Linux OS and kernel are you using with your software?

I am using kernel 5.5.7-200.fc31.x86_64
This is on fedora 31 (should not make much difference)
It is seems that I made one patch to media_build, probably because of a similar problem.
This was a while ago, so I forgot.

The change was to the file v4l/versions.txt in media_build and related to VIDEO_OV9650
Not sure if this will fix your problem. The file is attached. Basically it removes the OV9650
driver. I found this by reading some forum (tbs?)
 

Attachments

  • versions.txt
    2.8 KB · Views: 20

deeptho

Specialist Contributor
Joined
Apr 7, 2006
Messages
769
Reaction score
465
Points
63
Age
57
My Satellite Setup
Wavefrontier T90, Laminas 120cm, 2 other dishes; tbs 5927, tbs6904, tbs6909x, tbs6903x, tbs5990, tbs6981,tbs5927
My Location
Europe
Would it be also interesting to know to what extent your blindscan would be able to find high symbol rates of over 65,000 Ks with 6903X/6909X?Crazyscan or IQmonitor have locked such symbol rates on Windows 10.I found symbol rates over 68500 Ks at 74.9E.
On the other hand,for me it will really be a challenge to install your kernel and the functions of blindscan and spectrum. I hope you do a tutorial for installing your application.
Thanks in advance.

I cannot receive those satellites, so it is not possible to test. 45000 Ks works for sure and is the highest I could find.
Some cards may ave trouble over 60000 Ks. stid135 should be able to handle it, but there may be bugs.
 

Llew

cerca trova...
Staff member
Joined
Jan 1, 2000
Messages
16,259
Reaction score
4,217
Points
113
Age
82
My Satellite Setup
Triple Dragon, Dreambox 8000, Echostar AD3000ip, TBS6522,6925,6983 PCie cards.
Gibertini 1.25m motorised dish driven by the AD3000, with either Inverto BU Quad or Norsat / XMW Ka LNBs . SMW 1.05m + 3 other dishes. Speccy: Promax HD Ranger+
My Location
The Flatlands of East Anglia
I am using kernel 5.5.7-200.fc31.x86_64
This is on fedora 31 (should not make much difference)
It is seems that I made one patch to media_build, probably because of a similar problem.
This was a while ago, so I forgot.

The change was to the file v4l/versions.txt in media_build and related to VIDEO_OV9650
Not sure if this will fix your problem. The file is attached. Basically it removes the OV9650
driver. I found this by reading some forum (tbs?)
Thanks for that deeptho, I'll see if I have more luck with that.
 

satesco

Specialist Contributor
Joined
Aug 10, 2008
Messages
2,181
Reaction score
3,160
Points
113
My Satellite Setup
seven antennas,one toroidal with 16 lnbs,
6 satellite receivers,2 Meters,9 PC cards(tbs6983,6903,6590,6504,6522,6209,2603,6909X,6903X,6902se,skystar hd2),2 tuners usb-tbs5927 & tbs5925,Skystar HD.
Satellite reception between 100.5E-50.0W
My Location
Romania
Thanks for that deeptho, I'll see if I have more luck with that.

I have to admit that I expect you to be able to install @deeptho's app and only then try to do it myself.If I'd been more versed in linux,I'd have tried to do what you're doing now.You have my admiration that you're trying to install the new app first and that you're trying to overcome the difficulties of every beginning.
Being work in progress it would be good for @deeptho,after finishing his app,to offer us a more explicit tutorial of how to install it.It would be an incentive for others to try to use his app.Thanks.
 

Llew

cerca trova...
Staff member
Joined
Jan 1, 2000
Messages
16,259
Reaction score
4,217
Points
113
Age
82
My Satellite Setup
Triple Dragon, Dreambox 8000, Echostar AD3000ip, TBS6522,6925,6983 PCie cards.
Gibertini 1.25m motorised dish driven by the AD3000, with either Inverto BU Quad or Norsat / XMW Ka LNBs . SMW 1.05m + 3 other dishes. Speccy: Promax HD Ranger+
My Location
The Flatlands of East Anglia
Is there anyone else besides me up for trying this program? I need to compare my results with other users, as I have some anomalies in the data files produced during the spectrum scans. For instance, the scan pictured was only able to be displayed as shown by the painstaking removal of many lines of the two Universal LNB LOFs from the data file! Bizarre. Certainly not coming from the LNB's LOFs, as they are exactly 9750 and 10600, highly unlikeky to be that precise in the LNB LO. That's why I need some feedback from another user as to whether a similar thing happens with their files.
For anyone using a Debian distro (e.g.Ubuntu or Mint), there are prepared deb files available that sets everything up for scanning sats. These were compiled by the guru majortom at Rick's Wildfeed site. Zipped file available at Gitlab here - Projects · bill murphy / kernel-dvb-pkgs
Otherwise, you can build the program as explained by deeptho earlier. I haven't had much luck with that process, even though the TBS 6903 frontend adapter is available to use by the program ( w_scan finds it automatically). Kernel problem maybe - I've tried many kernel versions using the deeptho software version, but never find one that works for me.
I'm using Mint Linux 20 Cinnamon, and the precompiled build takes it to kernel 5.8.0-rc1-tbs+
My pci card is a TBS 6903, but I'm considering getting the TBS 6909x for the enhanced features as mentioned in the earlier posts.
More work to be done with graphical representation of the scans, but here's one from a section of 28.2E -

Spectrum 28.2E Low Band H.png
 

Adam792

Specialist Contributor
Joined
Sep 5, 2009
Messages
1,285
Reaction score
1,207
Points
113
Age
32
My Satellite Setup
Dishes: 80cm (5°W), 80cm (30°W), 60cm Zone 2 (13°E/19.2°E/28.2°E)
Receivers: HTPC w/ TBS6905 4x DVB-S2 PCIe tuner card running TVHeadend, Octagon SF8008 mini.
My Location
Cheltenham
I do want to give this a go but I haven’t managed to get round to it yet. In the middle of moving house at the moment, hoping to have my dishes set-up again in the next few weeks though.
 

Llew

cerca trova...
Staff member
Joined
Jan 1, 2000
Messages
16,259
Reaction score
4,217
Points
113
Age
82
My Satellite Setup
Triple Dragon, Dreambox 8000, Echostar AD3000ip, TBS6522,6925,6983 PCie cards.
Gibertini 1.25m motorised dish driven by the AD3000, with either Inverto BU Quad or Norsat / XMW Ka LNBs . SMW 1.05m + 3 other dishes. Speccy: Promax HD Ranger+
My Location
The Flatlands of East Anglia
I do want to give this a go but I haven’t managed to get round to it yet. In the middle of moving house at the moment, hoping to have my dishes set-up again in the next few weeks though.
OK, I'll put a few pointers up on how I got the program running on a Mint distro. Probably not the most elegant way of getting it working, but then I'm no expert with this stuff :-ohmy
 

deeptho

Specialist Contributor
Joined
Apr 7, 2006
Messages
769
Reaction score
465
Points
63
Age
57
My Satellite Setup
Wavefrontier T90, Laminas 120cm, 2 other dishes; tbs 5927, tbs6904, tbs6909x, tbs6903x, tbs5990, tbs6981,tbs5927
My Location
Europe
Is there anyone else besides me up for trying this program? I need to compare my results with other users, as I have some anomalies in the data files produced during the spectrum scans. For instance, the scan pictured was only able to be displayed as shown by the painstaking removal of many lines of the two Universal LNB LOFs from the data file! Bizarre. Certainly not coming from the LNB's LOFs, as they are exactly 9750 and 10600, highly unlikeky to be that precise in the LNB LO. That's why I need some feedback from another user as to whether a similar thing happens with their files.
For anyone using a Debian distro (e.g.Ubuntu or Mint), there are prepared deb files available that sets everything up for scanning sats. These were compiled by the guru majortom at Rick's Wildfeed site. Zipped file available at Gitlab here - Projects · bill murphy / kernel-dvb-pkgs
Otherwise, you can build the program as explained by deeptho earlier. I haven't had much luck with that process, even though the TBS 6903 frontend adapter is available to use by the program ( w_scan finds it automatically). Kernel problem maybe - I've tried many kernel versions using the deeptho software version, but never find one that works for me.
I'm using Mint Linux 20 Cinnamon, and the precompiled build takes it to kernel 5.8.0-rc1-tbs+
My pci card is a TBS 6903, but I'm considering getting the TBS 6909x for the enhanced features as mentioned in the earlier posts.
More work to be done with graphical representation of the scans, but here's one from a section of 28.2E -

View attachment 132593
Dear Llew,
I found the problem and have just committed a fix. The problem was in the user space program.
So you don't need to update the kernel. Please give it a try,
 

Llew

cerca trova...
Staff member
Joined
Jan 1, 2000
Messages
16,259
Reaction score
4,217
Points
113
Age
82
My Satellite Setup
Triple Dragon, Dreambox 8000, Echostar AD3000ip, TBS6522,6925,6983 PCie cards.
Gibertini 1.25m motorised dish driven by the AD3000, with either Inverto BU Quad or Norsat / XMW Ka LNBs . SMW 1.05m + 3 other dishes. Speccy: Promax HD Ranger+
My Location
The Flatlands of East Anglia
Dear Llew,
I found the problem and have just committed a fix. The problem was in the user space program.
So you don't need to update the kernel. Please give it a try,
Hi deeptho, thanks, but the fix gives a make error on building :-ohmy

Unless I'm doing something wrong - I rm'd the original blindscan-master folder and contents and uploaded the latest. Should be OK to do that?

As before, w-scan fine, finds adapter, frontend.

blindscan-master make error.JPG
 
Last edited:

deeptho

Specialist Contributor
Joined
Apr 7, 2006
Messages
769
Reaction score
465
Points
63
Age
57
My Satellite Setup
Wavefrontier T90, Laminas 120cm, 2 other dishes; tbs 5927, tbs6904, tbs6909x, tbs6903x, tbs5990, tbs6981,tbs5927
My Location
Europe
Hi deeptho, thanks, but the fix gives a make error on building :-ohmy

Unless I'm doing something wrong - I rm'd the original blindscan-master folder and contents and uploaded the latest. Should be OK to do that?

As before, w-scan fine, finds adapter, frontend.

View attachment 132609
I have been working on the kernel to see if we can export better data to identify dvb cards (to solve the problem
that adapters sometimes are randomly moved to different adapter numbers).

This line is compatible with the new kernel code (not yet checked in).
Just comment it out (Add // in front) and see if it compiles. Same solution for any other
printf lines that give problems. The actual spectrum/blindscan code should not be affected.

If that does not help, I will push the kernel changes.
 

Llew

cerca trova...
Staff member
Joined
Jan 1, 2000
Messages
16,259
Reaction score
4,217
Points
113
Age
82
My Satellite Setup
Triple Dragon, Dreambox 8000, Echostar AD3000ip, TBS6522,6925,6983 PCie cards.
Gibertini 1.25m motorised dish driven by the AD3000, with either Inverto BU Quad or Norsat / XMW Ka LNBs . SMW 1.05m + 3 other dishes. Speccy: Promax HD Ranger+
My Location
The Flatlands of East Anglia
Well it builds OK now, just needed to comment out that line and the same line in neumo-blindscan.cc

Unfortunately I get the usual error attempting a scan.

Perhaps if I do a run-through of the steps I took to get to this point, somebody else might wish to try their luck with the program!

Regarding the adapter problem - that happens regularly when I use updateDVB (I have a TBS6220 T/T2 card which often competes for adapter 'superiority' with the 6903. I've taken it out of service during this testing).
 

Attachments

  • scan error.png
    scan error.png
    59 KB · Views: 28

deeptho

Specialist Contributor
Joined
Apr 7, 2006
Messages
769
Reaction score
465
Points
63
Age
57
My Satellite Setup
Wavefrontier T90, Laminas 120cm, 2 other dishes; tbs 5927, tbs6904, tbs6909x, tbs6903x, tbs5990, tbs6981,tbs5927
My Location
Europe
Well it builds OK now, just needed to comment out that line and the same line in neumo-blindscan.cc

Unfortunately I get the usual error attempting a scan.

Perhaps if I do a run-through of the steps I took to get to this point, somebody else might wish to try their luck with the program!

Regarding the adapter problem - that happens regularly when I use updateDVB (I have a TBS6220 T/T2 card which often competes for adapter 'superiority' with the 6903. I've taken it out of service during this testing).
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.
 

Llew

cerca trova...
Staff member
Joined
Jan 1, 2000
Messages
16,259
Reaction score
4,217
Points
113
Age
82
My Satellite Setup
Triple Dragon, Dreambox 8000, Echostar AD3000ip, TBS6522,6925,6983 PCie cards.
Gibertini 1.25m motorised dish driven by the AD3000, with either Inverto BU Quad or Norsat / XMW Ka LNBs . SMW 1.05m + 3 other dishes. Speccy: Promax HD Ranger+
My Location
The Flatlands of East Anglia
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.
I'll check the log, but if I recall, there was nothing obviously untoward that came to mind.
I'll look to see if there's anything else that might be amiss, but I'm not confident I'll find anything :confused
 

Llew

cerca trova...
Staff member
Joined
Jan 1, 2000
Messages
16,259
Reaction score
4,217
Points
113
Age
82
My Satellite Setup
Triple Dragon, Dreambox 8000, Echostar AD3000ip, TBS6522,6925,6983 PCie cards.
Gibertini 1.25m motorised dish driven by the AD3000, with either Inverto BU Quad or Norsat / XMW Ka LNBs . SMW 1.05m + 3 other dishes. Speccy: Promax HD Ranger+
My Location
The Flatlands of East Anglia
While I try to sort out the problem, if someone wants to try deeptho's program, here's a how-to for getting it on to a Linux distro such as Ubuntu or Mint.

Some utilities (patching, compiling) are necessary for building the program. I've no idea how conversant those who wish to try this are with terminal commands in Linux - you would probably have got the program running by now anyway, so I'll go ahead and assume that isn't the case.

In the terminal emulator of your distro (just called Terminal in your Applications Menu), type sudo apt update (easier to just copy and paste the commands into your Terminal).

sudo apt update.JPG

After that completes, type :

sudo apt upgrade

Wait to finish, now to add some utilities (you'll need root privileges, so still in terminal, type sudo -s then your password). Then -

sudo apt-get install patchutils libproc-processtable-perl

Then, sudo apt-get install build-essential (maybe not necessary, but no big dea to add it)

Check for cmake version. In Terminal, type cmake --version. (should be greater than 3.12.0) If not installed, still in Terminal, type :

sudo apt-get install cmake

You may also need the 'make' build tool, so in Terminal type sudo apt-get install make

Same with gcc: check gcc --version . (I think that's already installed in Ubuntu etc).

Next, in terminal sudo apt-get install git

Now go to TBS driver installation - LinuxTVWiki


Scroll down to' Buidling TBS'Forked Driver' and follow these instructions in your Terminal -

mkdir tbsdriver

cd tbsdriver

git clone tbsdtv/media_build

git clone --depth=1 deeptho/linux_media -b latest ./media

cd media_build

make dir DIR=../media


make allyesconfig

make -j4

sudo make install


(Notice we replace tbsdtv with deeptho in the second cloning line!)

Now reboot - in Terminal sudo reboot
-----------------------------------

To check you have the driver for your TBS PCi card/USB box, in Terminal do dmsg | grep frontend (should show your TBS adapter frontend). If not you will need to go to TBS's download site to obtain the open source Linux driver for your pci card or USB box.

---------------------------------------------------------

The Blindscan app.

Go to deeptho/linux_media and click on the green Code bar to download the deepthought zip. Unzip the downloaded file copy or send it to your Home folder.


Go to deeptho/blindscan and follow the instructions at the bottom of the page.


You will, with any luck and following my hopefully legible instructions, be ready to do some spectrum and blindscanning - if you don't come to a full stop as I have done- you might be lucky in having the elusive magic kernel or whatever it is that has so far evaded me!
 

deeptho

Specialist Contributor
Joined
Apr 7, 2006
Messages
769
Reaction score
465
Points
63
Age
57
My Satellite Setup
Wavefrontier T90, Laminas 120cm, 2 other dishes; tbs 5927, tbs6904, tbs6909x, tbs6903x, tbs5990, tbs6981,tbs5927
My Location
Europe
I'll check the log, but if I recall, there was nothing obviously untoward that came to mind.
I'll look to see if there's anything else that might be amiss, but I'm not confident I'll find anything :confused
I just had the "unknown error" message myself. It occurs when the user space program connects to an adapter or frontend which does
not support spectrum scam. This could happen for various reasons, like
  1. using the wrong adapter. This can happen when using multiple cards and can depend on the order of driver loading
  2. using the wrong kernel version (caused by miscompiling, or not properly installing, or some error in my repo)
 

deeptho

Specialist Contributor
Joined
Apr 7, 2006
Messages
769
Reaction score
465
Points
63
Age
57
My Satellite Setup
Wavefrontier T90, Laminas 120cm, 2 other dishes; tbs 5927, tbs6904, tbs6909x, tbs6903x, tbs5990, tbs6981,tbs5927
My Location
Europe
While I try to sort out the problem, if someone wants to try deeptho's program, here's a how-to for getting it on to a Linux distro such as Ubuntu or Mint.

Some utilities (patching, compiling) are necessary for building the program. I've no idea how conversant those who wish to try this are with terminal commands in Linux - you would probably have got the program running by now anyway, so I'll go ahead and assume that isn't the case.

In the terminal emulator of your distro (just called Terminal in your Applications Menu), type sudo apt update (easier to just copy and paste the commands into your Terminal).

View attachment 132644

After that completes, type :

sudo apt upgrade

Wait to finish, now to add some utilities (you'll need root privileges, so still in terminal, type sudo -s then your password). Then -

sudo apt-get install patchutils libproc-processtable-perl

Then, sudo apt-get install build-essential (maybe not necessary, but no big dea to add it)

Check for cmake version. In Terminal, type cmake --version. (should be greater than 3.12.0) If not installed, still in Terminal, type :

sudo apt-get install cmake

You may also need the 'make' build tool, so in Terminal type sudo apt-get install make

Same with gcc: check gcc --version . (I think that's already installed in Ubuntu etc).

Next, in terminal sudo apt-get install git

Now go to TBS driver installation - LinuxTVWiki


Scroll down to' Buidling TBS'Forked Driver' and follow these instructions in your Terminal -

mkdir tbsdriver

cd tbsdriver

git clone tbsdtv/media_build

git clone --depth=1 deeptho/linux_media -b latest ./media

cd media_build

make dir DIR=../media


make allyesconfig

make -j4

sudo make install


(Notice we replace tbsdtv with deeptho in the second cloning line!)

Now reboot - in Terminal sudo reboot
-----------------------------------

To check you have the driver for your TBS PCi card/USB box, in Terminal do dmsg | grep frontend (should show your TBS adapter frontend). If not you will need to go to TBS's download site to obtain the open source Linux driver for your pci card or USB box.

---------------------------------------------------------

The Blindscan app.

Go to deeptho/linux_media and click on the green Code bar to download the deepthought zip. Unzip the downloaded file copy or send it to your Home folder.


Go to deeptho/blindscan and follow the instructions at the bottom of the page.


You will, with any luck and following my hopefully legible instructions, be ready to do some spectrum and blindscanning - if you don't come to a full stop as I have done- you might be lucky in having the elusive magic kernel or whatever it is that has so far evaded me!
Thanks. This is useful info, as I do not run Ubuntu myself. I will add the info in the blindscan repo, unless you object.
 
Top