Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: dvb/cvs (2.4 mdk), modparm dvb_shutdown_timeout weirdness



Well Tomi,

it's actually "annoying" - of course the /dev/video viewer
is not particularly a a DVB application, I would just have
expected that the v4l open() is also registered and
therefore some close() is missing. The szap just does a
second open(). That still suffices the description, the
video viewer has still a device open()ed to the dvb card
but the card is powered off nethertheless. Sticking that
on the adapter frontend device alone *sigh* that's a gross
simplification, isn't it.

Sadly, some other dvb tools have crashed so far, esp.
the vdr freezes up hard. Someone got a szap dock applet
around (gnome preferably)? That would be easiest to keep
it open and on the dock tray, the  command line tool with
its diag log is not the nicest thing to use as the main
interface, kept open and around, ye know. (although I did
so before getting to the point....).

Anyway, thanks for the quick reply, atleast this mail thread now
puts the topic again to the top of the linux-dvb archives ;-))
-- cheers, guido

Tomi Ollila schrieb:
Hi Guido!

Whether people considers it bug or feature, but by default when dvb
frontend device is closed, the dvb card is powered off, unless there
is dvb_shutdown_timeout which tells how long to wait until poweroff (value
zero means no poweroff). Main developers say "no DVB application should ever close a device when it still needs it working." (you can find that
on the linux-dvb archives (;)))

Tomi

Wednesday Jun 4 12:19:03 +0200 2003 Guido Draheim <guidod-2003-@gmx.de> wrote:

I've been compiling DVB cvs for 2.4.21-0.13mdk (mandrake 9.1 kernel).
I am using apps/szap/szap to switch channels on Siemens DVB-S 1.3.

Problem: picture on v4l device freezes a few seconds later
         (using `zapping` v4l application to put it onscreen).

Diagnosis:
- keeping 'szap' running does not make the picture freeze
- using 'make insmod' in DVB/driver does never make the
  v4l picture freeze, even when exiting 'szap'.
- only difference to my modules.conf:
  there is a module switch dvb_shutdown_timeout=0
  while doing `make insmod` in the DVB cvs driver area.
- adding some line into /etc/modules.conf like
     options dvb-core dvb_shutdown_timeout=0
  will ensure correct behavior. After exit from szap,
  the v4l video keeps running.

Some used-counter not gotten right?
-- cheers, guido                          http://google.de/search?q=guidod
GCS/E/S/P C++/++++$ ULHS L++w- N++@ d(+-) s+a- r+@>+++ y++ 5++X- (geekcode)



--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.


--
-- guido                                  http://google.de/search?q=guidod
GCS/E/S/P C++/++++$ ULHS L++w- N++@ d(+-) s+a- r+@>+++ y++ 5++X- (geekcode)



--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index