[linux-dvb] Skystar HD2 (device don't stream data).

Beth beth.null at gmail.com
Mon Aug 18 11:28:18 CEST 2008


Hi to all around here, nice to meet you.

(Abraham I sent you a copy of this message last night ;) )

I have a question for you about of using a Skystar HD2 dvb board on Linux.

The scenario:

  Software:
        Ubuntu Hardy 8.04
        Kernel 2.6.24-19-generic.

  Hardware:
        Motherboard: MSI K8T Neo2 v2.0 (socket 939)
        CPU: AMDx2 4200
        Ram: 1Gb
        DVB Board: TechniSat SkyStar HD2

The problem:

  The device /dev/dvb/adapter0/dvr0 doesn't stream data

What I do:

  I had followed the "howto run a TechniSat Skystar HD2 on linux" at
http://www.munz.li/?p=47, in order to get the board working on Linux.

I successfully do it following this steps:

  1. hg clone http://jusst.de/hg/mantis
  2. change the define "#define TECHNISAT_SKYSTAR_HD2  0x0001" in
mantis_vp1041.h to 0x0003 as my board have this product id
  3. make; make install

After that I had the board recognized at boot time, and a new device
appears on  /dev/dvb.

Then I downloaded patched and compiled the dvb-apps as said on
http://linuxtv.org/wiki/index.php/TerraTec_Cinergy_S2_PCI_HD_CI#Install_dvb-apps_.28scan.2Fszap2_based_on_DVB_API_3.3.29_.28Testing_based_on_revision_1200.29

Nothing special difficult or problematic.

All works ok (well if all were working I will not writting this email
;) ), scan scans the channel list (I am pointing to Astra 19.2) and
save it correctly, I can see the channels and all seems to be ok.
szap2 works ok too, it successfully gets the lock of the channel, and
seems to be working correctly.

But one thing doesn't works ok (the final stage), while szap2 is
running as I understand, the data stream of the tuned channel is
available on /dev/dvb/adapter0/dvr0 , the problems is that this video
device doesn't stream data, any program that I tried fails to get data
from it, ones blocks others give an error, and dd can't suck anything
from it.

I don't know what can I do to trace the problem, or if I can debug
something (I never debugged a kernel driver) or if I can turn
something on for logging what is going wrong.

With this email I had attached to you the output of:

  dmesg
  szap2 -r -n 975  (975 is an FTA channel at Spain)
  lspci -vv

I don't know if this is relevant but when I run "szap2 -r -n 975" this
is emitted to /var/log/messages:

Aug 18 10:58:20 nemesis kernel: [ 3893.419186] newfec_to_oldfec:
Unsupported FEC 9
Aug 18 10:58:20 nemesis kernel: [ 3893.419192] dvb_frontend_ioctl:
FESTATE_RETUNE: fepriv->state=2
Aug 18 10:58:20 nemesis kernel: [ 3893.450078] stb6100_set_bandwidth:
Bandwidth=51610000
Aug 18 10:58:20 nemesis kernel: [ 3893.454548] stb6100_get_bandwidth:
Bandwidth=52000000
Aug 18 10:58:20 nemesis kernel: [ 3893.477212] stb6100_get_bandwidth:
Bandwidth=52000000
Aug 18 10:58:20 nemesis kernel: [ 3893.547812] stb6100_set_frequency:
Frequency=1935000
Aug 18 10:58:20 nemesis kernel: [ 3893.551992] stb6100_get_frequency:
Frequency=1934982
Aug 18 10:58:20 nemesis kernel: [ 3893.563971] stb6100_get_bandwidth:
Bandwidth=52000000

And also I don't know if this can help, it seems that something more
happens if I add the parameter "-p" to the szap2 call

Aug 18 11:13:05 nemesis kernel: [ 4777.580011] newfec_to_oldfec:
Unsupported FEC 9
Aug 18 11:13:05 nemesis kernel: [ 4777.580016] dvb_frontend_ioctl:
FESTATE_RETUNE: fepriv->state=2
Aug 18 11:13:05 nemesis kernel: [ 4777.580303] mantis start feed & dma
Aug 18 11:13:05 nemesis kernel: [ 4777.603643] stb6100_set_bandwidth:
Bandwidth=51610000
Aug 18 11:13:05 nemesis kernel: [ 4777.607912] stb6100_get_bandwidth:
Bandwidth=52000000
Aug 18 11:13:05 nemesis kernel: [ 4777.630568] stb6100_get_bandwidth:
Bandwidth=52000000
Aug 18 11:13:05 nemesis kernel: [ 4777.694828] stb6100_set_frequency:
Frequency=1935000
Aug 18 11:13:05 nemesis kernel: [ 4777.699101] stb6100_get_frequency:
Frequency=1934982
Aug 18 11:13:05 nemesis kernel: [ 4777.710985] stb6100_get_bandwidth:
Bandwidth=52000000
Aug 18 11:13:05 nemesis kernel: [ 4777.935869] mantis stop feed and dma
Aug 18 11:13:05 nemesis kernel: [ 4777.935900] mantis start feed & dma
Aug 18 11:13:11 nemesis kernel: [ 4783.558239] mantis stop feed and dma

Ummmm here is something new, while I was writting down this email I
make something different, in order to see if there is data on the
device I use dd if=/dev/dvb/adapter0/dvr0 of=test.ts bs=1M count=10 ,
and I didn't get data, but I had tried with lower values, bs=1024
count=1 and without the -p parameter I have the same results, but with
-p I get data, at a low speed I think and maybe wrong but I get some
data:

dd if=/dev/dvb/adapter0/dvr0 of=test.ts bs=1024 count=100
100+0 records in
100+0 records out
102400 bytes (102 kB) copied, 34.422 s, 3.0 kB/s

3 kB/s is very very low speed, 34 seconds for 100kBs is no data for a
video stream

I don't know if I am missing something or if I am doing something
wrong. Also I can say that (snif snif) the board works ok on WinXP.

Well I am pleased to meet you, thanks for your support and have kind
regards from Spain.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dmesg.txt
Url: http://www.linuxtv.org/pipermail/linux-dvb/attachments/20080818/8b7f5141/attachment-0003.txt 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: szap2_-r_-n_975.txt
Url: http://www.linuxtv.org/pipermail/linux-dvb/attachments/20080818/8b7f5141/attachment-0004.txt 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lspci2.txt
Url: http://www.linuxtv.org/pipermail/linux-dvb/attachments/20080818/8b7f5141/attachment-0005.txt 


More information about the linux-dvb mailing list