Mailing List archive

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

[linux-dvb] Re: C/A routing Question



Hi Ralph,

I think I have come to the conclusion that having multiple demux devices in
the system is the best option.  In this case, each "virtual" demux device
would still need a routing for the possible TS inputs (an IOCTL), but each
PID filter wouldn't have to choose the TS source from the output of the
router/switch.

So as I have 5 possible TS sources entering the router and 2 TSs can enter
the demux h/w, I would have 2 "virtual" demux devices.  The router also has
the capability of taking an TS input from the HDD and routing it to C/I
outputs and back in again.  I guess this would also require specific
IOCTLs.

One other thing that would have to be taken into account is the sharing of
the h/w PID filters between the virtual demux devices.  This should be
pretty straight forward (I guess).

BTW, do we have any hooks into the system for DMA operations from the h/w
buffers to a DVR for a record operation and from the DVR to the internal
h/w buffers for a playback operation?  I would rather use DMA than the
read/write syscalls as it would be more efficient in terms of memory/cpu
bandwidth.

Thanks,

Rob ;-)




                                                                                                                                
                      Ralph Metzler                                                                                             
                      <rjkm@metzlerbros        To:       linux-dvb@linuxtv.org                                                  
                      .de>                     cc:                                                                              
                      Sent by:                 Subject:  [linux-dvb] Re: C/A routing Question                                   
                      linux-dvb-bounce@                                                                                         
                      linuxtv.org                                                                                               
                                                                                                                                
                                                                                                                                
                      24-Feb-2003 02:40                                                                                         
                      PM                                                                                                        
                                                                                                                                
                                                                                                                                




Rob.McConnell@Zarlink.Com writes:
 > I agree that as more hardware with PVR capability is becoming available,
we
 > will have to consider different routing scenarios.  The h/w that I am
 > working on allows for parallel/serial TSs from multiple sources as well
as
 > from C/Is and from a HDD.  Yes, in the HDD case the complete TS that was
 > recorded on the HDD can be routed through the C/I.  This allows the TS
to
 > still be recorded encrypted on the HDD and then decrypted through the
C/I
 > (keys would have to be stored to prevent them expiring, etc.).

The whole input handling has to be worked on.
The DVR device does not properly map on any newer hardware. One TS
ouput usually has nothing to do with any specific input.
Calls for all the things you mention will have to be added.


 > I would favour an IOCTL to setup the possible TS sources to the demux
and
 > then the PID filters should have the choice of which TS source to filter
 > on.   For example, if the demux can only handle 2 TS inputs but there
are 5
 > possible sources, then we need to setup a "router/switch" to implement
this
 > and each PID filter would have to choose which TS input (#1 or #2).

Do you want to set this for each filter or for each demux device/channel?

So, either you have one /dev/dvb/adapterX/demux0 and set the channel
which is supposed to be used for each filter, or you have demux0,
demux1, ... demuxY, where each corresponds to one demux channel.
Please note that on some hardware each filter can choose the input
freely, on other hardware each demux channel has a fixed amount of
filters.


Ralph


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








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



Home | Main Index | Thread Index