Linux Media Controller development
 help / color / mirror / Atom feed
From: Ondrej Topolsky <topolsky@maindata.sk>
To: linux-media@vger.kernel.org
Subject: dvbnet error
Date: Mon, 19 Nov 2012 16:48:11 +0100	[thread overview]
Message-ID: <50AA54BB.1010107@maindata.sk> (raw)

Dear linuxtv developer-s

I am trying (it is now couple of days - of no avail) to create interface 
with dvbnet utility for decoding IP with MPE (tested with DVB-H signal 
containing IP packets). I run:
dvbnet -a 0 -p 1002
gives me this output:
Error: couldn't open device 0: 2 No such file or directory
But the char device /dev/dvb/adapter0/net0 is definitely there (in it's 
default location).
For some reason dvbnet_open function in dvb-apps/lib/libdvbapi/dvbnet.c 
cannot open this device
I have search mailing(and intenet) list but I haven't found any issue 
similar to this.

Specs:

I have embedded linux set-top Skytec JOBI box which has sh4 architecture 
and 2.6.32.28_stm24_0207 kernel. It is this device: 
http://www.satmultimedia.tv/skytec-hd-jobi
as Os i have installed enigma2 linux.

I thought that maybe there isn't kernel support for MPE, but why should 
there be net0 device which was created by driver..

My attempts:

After no success with debian  .deb packege of dvb-apps for sh4 
(installed with ipkg ),
I cross-compiled dvb-apps staticaly(from mercurial repository).
Eeverything works: szap, scan.. dvbsnoop. I can tune to signal, zap 
channels, sniff traffic with dvbtraffic, but dvbnet is giving me that 
"no such file.." error.

I have other machine which is running debian and is receiving same 
signal as is STB and I successfuly received IP from MPE (tested with 
tcpdump) on that other machine with no problem.

I noticed that in /sys/class/dvb/ there is no dvb0.net0 folder (but i am 
not exactly sure what is /sys/class/dvb folder used for).

Another wierd thing is that when I run dvbnet -h it segfaults and when I 
run /usr/bin/dvbnet -h it works (its definitely the same binary - with 
my debug messages).

Questions:
Can You please tell me why dvbnet cannot open this net0 device - or what 
should I do to find out?
Maybe it is used by some process, but i killed TV interface enigma2 
before trying anything(init 3, init 4 - it is not longer displayed in ps).
And can You please tell me how to detect if my kernel/driver has MPE 
support (there is no /proc/kallsyms file on STB) - maybe some C code.
Finaly I was trying to find some info about MPE but there seem to be 
very little on internet.
I would be grateful for any informations or links..

All the best

Ondrej Topolsky
Programmer at Maindata inc. Slovakia







             reply	other threads:[~2012-11-19 15:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-19 15:48 Ondrej Topolsky [this message]
2012-11-19 17:13 ` dvbnet error Antti Palosaari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50AA54BB.1010107@maindata.sk \
    --to=topolsky@maindata.sk \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox