tune-s2, my little linux app

Status
Please reply by conversation.
It is Technisat Skystar HD2
lspci shows:

Multimedia controller: Twinhan Technology Co. Ltd Mantis DTV PCI Bridge Controller [Ver 1.0] (rev 01)

(STB0899 Multistandard)

It works fine in dvb-s2 (for example no problem with scan-s2, some windows programs, etc), but i need a program which will only tune to selected transponder (dvb-s, dvb-s2) and then i can do some dvbsnoop analysys. (maybe You know any other program which will do the job ?). All programs i have found works only with dvb-s :(
 
I used stock kernel from debian test squeeze distro.
Now, i'm using debian lenny
2.6.26-2-686 #1 SMP Thu Aug 19 03:44:10 UTC 2010 i686 GNU/Linux

with s2-liplianin v4l drivers

and still same problem.


I managed to walk around that problem. I modified scan-s2 (this program tunes into dvb-s2 with no problem) to stop after every tunning and wait for a keypress (my C knowledge is crappy so i don't know how to execute dvbsnoop inside another program or anything else ;| ) - and in that time i can do dvbsnoop ;)
 
Well, this is a bit off-topic, but I just picked up a Genpix SkyWalker-2 (basically the SkyWalker-1 without the chassis) and I'm trying to write some software of my own to control it. I've got DVB-S working (as well as DVB-S2 on my other tuner), but I can't seem to figure out how to get DCII to work.

For example, I want to tune in 3800V on AMC 18. LyngSat says (and my DSR-4000 confirms) that the symbol rate is 19510 ksps and the FEC coding is 3/4. So I run my FE_SET_PROPERTY ioctl to tune the card with these parameters:

DTV_DELIVERY_SYSTEM = SYS_DCII_C_QPSK
DTV_FREQUENCY = (5150000 - 3800000) == 1350000
DTV_MODULATION = QPSK
DTV_SYMBOL_RATE = 19510
DTV_INNER_FEC = FEC_3_4
DTV_INVERSION = INVERSION_AUTO
DTV_ROLLOFF = ROLLOFF_AUTO
DTV_PILOT = PILOT_AUTO

However, the card does not lock onto the transponder. It reports a signal level of 65535 and an SNR of 3955. I've tried all 4 possible DCII delsys variants to no avail.

So, question #1 is, what exactly should the parameters be set to in order to receive a DCII signal? Question #2 is, what are the values of the SYS_DCII_foo defines supposed to be? I just appended them to the fe_delivery_system table, yielding values of 16, 17, 18 and 19. I assume that the existing value of 4 for SYS_DSS is acceptable for that mode when/if I start messing with that.
 
Last edited:
here are the gp8psk patch's, and you'll also need to patch the v4l-dvb include/linux/dvb/frontend.h file so that the DGII systems are defined.

this will allow you to tune DGII in linux using my tune-s2 app, and from there you can use my demux app to save the stream to a file. vlc plays them fine.

UDL
 

Attachments

  • gp8psk.zip
    2 KB · Views: 154
Alright, we're in business! Listening to music on W5 as I type this.

I did make one change to your patch: I added a "SYS_" prefix to the defines for the DCII modes, for consistency with the other definitions.
 
glad it worked out well for you. Its sure nice to have DGII as an option in linux. Ive got DSS working as well for the lock, but havent had time to look into the DSS differences much. I know the packet size is smaller, but I beleive they also use different descriptors so its more then just chaning the packet size in the DMX.
 
Sounds like that's going to be the hard part.

Also, just in case you haven't implemented it, the value for 7/8 FEC in the DCII split modes is 7. I haven't been able to find any transponders on either band using anything other than 3/4 or 7/8 FEC so I haven't figured out any others.
 
excellent thanks. Thats how I found the ones in there, trial and error on tp's lol. KU doesnt have alot of DGII other then starchoice so it was hard. they used to have HITS but they moved to C band years ago.
 
UDL, I tried to rmmod the driver, it said it was in use. Mythbackend is not running, I don't know what else could be interfering.
Here is what I found:

doug@htpc:~$ sudo rmmod tbs6981fe.ko

ERROR: Module tbs6981fe is in use
doug@htpc:~$ sudo modinfo tbs6981fe
filename: /lib/modules/2.6.32-25-generic/kernel/drivers/media/dvb/frontends/tbs6981fe.ko
license: TurboSight Proprietary
author: Konstantin Dimitrov <kosio.dimitrov@gmail.com>
description: TurboSight TBS 6981 Dual DVBS/S2 frontend driver module
depends:
vermagic: 2.6.32-25-generic SMP mod_unload modversions 586
parm: pne:phase noise enhancements 0:Off, 1:On (default:0) (int)
parm: esno:SNR is reported in 0:percentage, 1:(EsNo dB)*10 (default:0) (int)
parm: dbm:Signal is reported in 0:percentage, 1:-1*dBm (default:0) (int)
 
it could be an app using it, or another kernel module. usually you can remove the frontend module though. odd too that it doesnt list any depends.
 
Probably a good reason for the prof 7500.....
My Linux skills are not adequate to diagnose issues with kernel modules, I'm afraid. I should uninstall this driver package? Can I do a make uninstall? If the makefile supports it?
 
Is there a tarball of the source and all the patches applied so that one could grab it and 'make'? This is looking like one slick tool!

Thanks,
Jim
 
Well, I started having fun and noticed some parsing problems with C-band freqs. Is it me or is that a 'feature'? 3800 V 13235 comes back as a freq of 17700. The -lnb switch didn't change anything.

Jim
 
Status
Please reply by conversation.

OpenBox S10 on ebay for $33.00

Crashed Openbox S10

Users Who Are Viewing This Thread (Total: 0, Members: 0, Guests: 0)

Who Read This Thread (Total Members: 1)