Prof7500 and TBS6981 using S2api5

Status
Please reply by conversation.

jimlas53

SatelliteGuys Family
Original poster
Aug 18, 2010
39
0
SC
I am working on both the prof7500 USB DVB and the Turbosight TBS6981 DVB PCIe card. I am using the S2-Liplianin driver files for the Prof7500, and a modified version for the TBS card. Right now only the prof7500 is responding, the TBS module does not load as it should. I don't know if the make install for one unit is killing the other one.
I'm in need of help from someone very familiar with the S2 API stuff.
Thanks!
 
I have 3 sets of files: from Liplianin, from TBS, and now fromlinuxtv/ v4l-dvb. The TBS driver files are not in the distribution at v4l-dvb. I assume they were added by the manufacturer, which means they might show up at a later date in one of the other packages, but who knows?
I'm working through the make/config system to understand how this all works, so I can build the needed modules without overwriting something important. The last time I did compiles and builds it was on a CP/M system. I guess that kind of dates me...

Interestingly, there is no driver source code, rather two .o files are included.

UDL, maybe the fastest course would be to make sure the STV0900 files are compiled in the TBS package? I haven't looked to see what files are needed for the Prof7500, but I recall you mentioned them in your blog.

I wish Turbosight had submitted their stuff to Igor so it would appear in the tree.
 
Code:
http://www.buydvb.net/download2/TBS6981/linux-s2api-tbs6981_v1.92.2.rar

I didn't know if the board would allow URL...

Modinfo shows the kernel module is proprietary to Turbosight. Maybe I answered my own question..
However the system is not loading this module, so I borked something.
I know you're very familiar with the Prof7500 driver files - if you stripped your .config down to only the needed files, can you list them? I'd like to work with something known here;)

Thanks for the help!
 
are you bulding the prof module after the tbs module ? if they both use the stv900 frontend driver one build is over writing the other. can you load the tbs module without the prof installed in the pc ?

updatelee if tbs is only providing object files then i doubt there is source available. i havent used my tbs tuner lately but it may just need a card id patched in. i thought tbs products were similar to prof products.

crackt out,.
 
Looking at dmesg, appeard the prof 7500 is being detected and initialized OK.
The TBS card is having some issues:

[ 11.344685] Linux video capture interface: v2.00
[ 11.348834] cx23885: disagrees about version of symbol v4l2_i2c_new_subdev_cfg
[ 11.348837] cx23885: Unknown symbol v4l2_i2c_new_subdev_cfg
[ 11.349613] cx23885: disagrees about version of symbol v4l2_i2c_subdev_addr
[ 11.349614] cx23885: Unknown symbol v4l2_i2c_subdev_addr
[ 11.349668] cx23885: disagrees about version of symbol v4l2_device_register_subdev
[ 11.349669] cx23885: Unknown symbol v4l2_device_register_subdev
[ 11.349776] cx23885: disagrees about version of symbol video_devdata
[ 11.349778] cx23885: Unknown symbol video_devdata
[ 11.350070] cx23885: disagrees about version of symbol v4l2_device_unregister_subdev
[ 11.350071] cx23885: Unknown symbol v4l2_device_unregister_subdev
[ 11.350850] cx23885: disagrees about version of symbol video_unregister_device
[ 11.350852] cx23885: Unknown symbol video_unregister_device
[ 11.351018] cx23885: disagrees about version of symbol video_device_alloc
[ 11.351020] cx23885: Unknown symbol video_device_alloc
[ 11.351148] cx23885: disagrees about version of symbol video_register_device
[ 11.351149] cx23885: Unknown symbol video_register_device
[ 11.351307] cx23885: disagrees about version of symbol v4l2_device_register
[ 11.351308] cx23885: Unknown symbol v4l2_device_register
[ 11.352127] cx23885: disagrees about version of symbol v4l2_device_unregister
[ 11.352129] cx23885: Unknown symbol v4l2_device_unregister
[ 11.352252] cx23885: disagrees about version of symbol video_device_release
[ 11.352254] cx23885: Unknown symbol video_device_release

I only selected what seemed obvious for the TBS6981 card and built the TB S driver. Something is missing and was not caught as a dependency?
updatelee, have you had a look at the TBS files?
 
A little more tinkering with menuconfig got the TBS card initialized OK as well:

[ 12.672121] cx23885 driver version 0.0.2 loaded
[ 12.672527] cx23885 0000:04:00.0: PCI INT A -> Link[LN3A] -> GSI 19 (level, low) -> IRQ 19
[ 12.672565] CORE cx23885[0]: subsystem: 6981:8888, board: TurboSight TBS 6981 [card=29,autodetected]
[ 13.397199] cx23885_dvb_register() allocating 1 frontend(s)
[ 13.397264] cx23885[0]: cx23885 based dvb card
[ 13.484763] DVB: registering new adapter (cx23885[0])
[ 13.511778] cx23885_dvb_register() allocating 1 frontend(s)
[ 13.511790] cx23885[0]: cx23885 based dvb card
[ 13.529841] DVB: registering new adapter (cx23885[0])
[ 13.556667] cx23885_dev_checkrevision() Hardware revision = 0xa5
[ 13.556674] cx23885[0]/0: found at 0000:04:00.0, rev: 4, irq: 19, latency: 0, mmio: 0xfbe00000
[ 13.556680] cx23885 0000:04:00.0: setting latency timer to 64
[ 13.556684] IRQ 19/cx23885[0]: IRQF_DISABLED is not guaranteed on shared IRQs
doug@htpc:~$ dmesg | grep 7500
[ 0.081797] CPU0: Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz stepping 0a
[ 0.168071] CPU1: Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz stepping 0a
[ 12.552644] dvb-usb: found a 'Prof 7500 USB DVB-S2' in cold state, will try to load a firmware
[ 12.552647] usb 2-2: firmware: requesting dvb-usb-p7500.fw
[ 13.021233] dvb-usb: downloading firmware from file 'dvb-usb-p7500.fw'
[ 13.500539] dvb-usb: found a 'Prof 7500 USB DVB-S2' in warm state.
[ 13.501048] DVB: registering new adapter (Prof 7500 USB DVB-S2)
[ 20.628440] dvb-usb: Prof 7500 USB DVB-S2 successfully initialized and connected.

OK, now that both devices appear to be communicating with the kernel, I would like to check out the functionality of the prof7500 and the TBS card. I have one 90cm sat dish, ku band, with a ku lnbf at 10750 MHz, a SG motor, and good S,Q on Galaxy 19 and SES-1, plus most other birds. I assume I can only connect to one lnb port on one card at a time. I have a Geosat receiver and know the dish is pointed correctly. I had hoped to eventually use Mythtv to incorporate all media, but that is for later.
What is the best way to wring these cards out?
 
man why wouldnt they just release the src... grr. I cant even compile this, my kernel is too new... I'll try another night in vmware with an older kernel.

what I would first try using the Prof 7500 driver from the TBS build, if you want to make sure your using the latest code (there doesnt apear to be too much different, I checked) then manually make patch;s from the two src tree's and then apply them to the TBS folder. would prob be easier then the other way around.
 
I got started in this adventure by buying a Geosatpro dish, lnb, and DSR200 receiver. My intent has been to incorporate the sat into Mythtv so I could have a "convenient" mix of media.
My assumption was that I could use the receiver to help get the dish set up and peaked, find some viewable channels and have a known working system before adding the TBS card. Up to this point I have, on a couple of occasions, actually got the tuner to lock on one channel. I have assumed compatability between the TBS card and the rest of the system. Same with the Prof7500.
So, when it comes to satellite systems, I don't even know what I don't know!
So I am VERY appreciative for help!
 
thats an excellent way to get setup. The geosat will prob be alot easier to setup and get you comfortable with fta. I bet once you get mythtv setup and used to it you'll love it though ! hehe
 
OK now, keeping in mind I'm totally NOOB here: Trying to tune one channel, SES-1@101W, 12060 H 26700, which is History E. although it scans as enc test 11 or somesuch with the DSR200.

The TBS card is at /dev/dvb/adapter1/frontend0
The Prof7500 is at /dev/dvb/adapter2/frontend0
The sat cable is connected to Prof7500
So I set up the command with tune-s2:

tune-s2 12060 H 26700 -adapter 2 -lnb STANDARD
LNB: low: 10750 high: 0 switch: 0
opening: /dev/dvb/adapter2/frontend0
LOW band

Tuneing specs:
System: DVB-S
Frequency: 12060 H 26700
22khz: OFF
Modulation: QPSK
FEC: AUTO
Inversion: AUTO
Rolloff: AUTO
Pilot: AUTO

>>> tuning failed!!!
Closing frontend ...

Am I doing something wrong here?
 
Running szap-s2:
szap-s2 -c channels.conf -S 0 "HEST" -l 10750,10750,11700 -a1
I see this on the terminal:
status 1e | signal df08 | snr ea00 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
I assume this is a good thing!
dmesg shows:
[ 9807.156044] stv0900_get_rf_level
[ 9807.196032] stv0900_get_rf_level: RFLevel = -39
[ 9807.196037] stv0900_carr_get_quality
[ 9807.228031] stv0900_get_standard: standard 0
[ 9808.260034] stv0900_get_standard: standard 0
[ 9809.260143] stv0900_read_status:
[ 9809.324030] stv0900_status: locked = 1
[ 9809.388031] stv0900_get_mclk_freq: Calculated Mclk = 135000000
[ 9809.388034] TS bitrate = 40 Mbit/sec
[ 9809.388036] DEMOD LOCK OK

So it looks like the prof7500 is able to tune and lock.
Can I use VLC to see if I'm getting video? If so, how?
 
its starting to sound like the tbs cards are using a customized stv900 module that has no public source code. ive not had much time to invest in this scenario but i have the hardware to reproduce it. im going to setup my htpc with the same tuners and ill post my findings.

crackt out,.
 
its starting to sound like the tbs cards are using a customized stv900 module that has no public source code. ive not had much time to invest in this scenario but i have the hardware to reproduce it. im going to setup my htpc with the same tuners and ill post my findings.

crackt out,.

I think the TBS card is cx23885-based:

[ 12.672121] cx23885 driver version 0.0.2 loaded
[ 12.672527] cx23885 0000:04:00.0: PCI INT A -> Link[LN3A] -> GSI 19 (level, low) -> IRQ 19
[ 12.672565] CORE cx23885[0]: subsystem: 6981:8888, board: TurboSight TBS 6981 [card=29,autodetected]
[ 13.397199] cx23885_dvb_register() allocating 1 frontend(s)
[ 13.397264] cx23885[0]: cx23885 based dvb card

I'm trying to scan:

scan-s2 -a1 -f0 -o zap -l10750,10750,0 -c ses1-101w

There is something scan-s2 doesn't like about the syntax, but I haven't found it!
:confused:
 
All right, I found a working syntax, but the tuning failed:
scan-s2 -X -a 1 -f 0 -l 10750,10750,0 -o zap 'ses1-101w' > newchannels.conf
API major 5, minor 1
ERROR: Cannot open rotor configuration file 'rotor.conf'.
scanning ses1-101w
using '/dev/dvb/adapter1/frontend0' and '/dev/dvb/adapter1/demux0'
initial transponder DVB-S 12060000 H 26700000 3/4 35 QPSK
initial transponder DVB-S2 12060000 H 26700000 3/4 35 QPSK
----------------------------------> Using DVB-S
>>> tune to: 12060:h:0:26700
DVB-S IF freq is 1310000
WARNING: >>> tuning failed!!!
>>> tune to: 12060:h:0:26700 (tuning failed)
DVB-S IF freq is 1310000
WARNING: >>> tuning failed!!!
----------------------------------> Using DVB-S2
>>> tune to: 12060:h:0:26700
DVB-S IF freq is 1310000
WARNING: >>> tuning failed!!!
>>> tune to: 12060:h:0:26700 (tuning failed)
DVB-S IF freq is 1310000
WARNING: >>> tuning failed!!!
ERROR: initial tuning failed
dumping lists (0 services)
Done.

This is using the Prof7500.
 
The TBS 6981 using szap-2:

szap-s2 -c channels.conf -p -r -S 0 "HEST" -l 10750,10750,11700 -a2
reading channels from file 'channels.conf'
zapping to 1 'HEST':
delivery DVB-S, modulation QPSK
sat 0, frequency 12060 MHz H, symbolrate 26700000, coderate auto, rolloff 0.35
vpid 0x04ba, apid 0x04b0, sid 0x000c
using '/dev/dvb/adapter2/frontend0' and '/dev/dvb/adapter2/demux0'
status 1f | signal bf40 | snr e665 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal bf40 | snr eb84 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal bf41 | snr eb84 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal bf41 | snr eb84 | ber 00000000 | unc 00000000 | FE_HAS_LOCK

So both devices appear to lock, but fail scan-s2.
What does this mean, and will I ever have a working Mythtv setup?
 
updatelee, I ran tune-s2, and the TBS card appears to tune just fine:

tune-s2 12060 H 26700 -adapter 2 -lnb STANDARD
LNB: low: 10750 high: 0 switch: 0
opening: /dev/dvb/adapter2/frontend0
LOW band

Tuneing specs:
System: DVB-S
Frequency: 12060 H 26700
22khz: OFF
Modulation: QPSK
FEC: AUTO
Inversion: AUTO
Rolloff: AUTO
Pilot: AUTO

Tuned specs:
System: DVB-S 5
Frequency: 12060 H 26700
22khz: OFF
Modulation: QPSK 0
FEC: AUTO 9
Inversion: AUTO 2
Rolloff: AUTO 3
Pilot: AUTO 2

status 1f | signal 74% | snr 88% | ber 0 | unc 0 | FE_HAS_LOCK
 
Status
Please reply by conversation.

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

Who Read This Thread (Total Members: 1)

Top