[linux-dvb] newbie q: dvbsec_set() - frontend setup howto

Nick Fedchik nick at fedchik.org.ua
Mon Oct 30 17:40:20 CET 2006


Hi!

I newbie in DVB API such as in DVB technology.
Now I try to make simple userspace application to set up one tv channel and 
store MPEG video stream from budget DVB card.
libdvbapi and libdvbsec libraries used (I guess it's enough for my task, so I 
try to avoid a lots of ioctl's), so the task is to setup frontend using 
parameters passed to my utility as parameters.
So now I stopped when try to set up frontend from my application.
I guess it's easy task and I just miss something,
That's why I ask here to help - may be someone experienced can view to my 
source code (easydvb-fe.c attached) and tell me what I miss (or what's 
wrong).

Output:

# ./easydvb -f 10723 -s 27500 -P 163
DEBUG: Freq=10723
DVB Device: DST DVB-S
Current: Freq: 1997000kHz       SymbolRate: 27500000    Pol.: 2 FEC: 9  signal 
unlocked
Set up frontend: Freq=10723000kHz, S/R=27500000
Set DVB Frontend (0)
Failed to set up frontend
Set up:  Freq: 1997000kHz       SymbolRate: 27500000    Pol.: 2 FEC: 9  
Signal: no unlocked
Set DVB Frontend (1)
Failed to set up frontend
Set up:  Freq: 1997000kHz       SymbolRate: 27500000    Pol.: 2 FEC: 9  
Signal: no unlocked
Set DVB Frontend (2)
Failed to set up frontend
Set up:  Freq: 1997000kHz       SymbolRate: 27500000    Pol.: 2 FEC: 9  
Signal: no unlocked
Set DVB Frontend (3)
Failed to set up frontend
Set up:  Freq: 1997000kHz       SymbolRate: 27500000    Pol.: 2 FEC: 9  
Signal: no unlocked
Set DVB Frontend (4)
Failed to set up frontend
Set up:  Freq: 1997000kHz       SymbolRate: 27500000    Pol.: 2 FEC: 9  
Signal: no unlocked

root at voodsat:/usr/src/dvb-apps/util/easydvb# scan -c
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
WARNING: filter timeout pid 0x0011
WARNING: filter timeout pid 0x0000
dumping lists (0 services)
Done.


-- 
Best regards, Nick Fedchik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: easydvb-fe.c
Type: text/x-csrc
Size: 4459 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20061030/2cac9629/easydvb-fe.c


More information about the linux-dvb mailing list