[linux-dvb] dvb-apps questions

Paul mylists at wilsononline.id.au
Thu Jun 7 07:43:04 CEST 2007


while I was browsing udev I came up with this primitive way:

cd /sys/class/dvb

f0device=`cat dvb0.frontend0/device/device`
f0vendor=`cat dvb0.frontend0/device/vendor`
echo "frontend0 : v=$f0vendor  dev=$f0device "

lspci -d $f0vendor:$f0device

f1device=`cat dvb1.frontend0/device/device`
f1vendor=`cat dvb1.frontend0/device/vendor`
echo "frontend1 : v=$f1vendor  dev=$f1device "

lspci -d $f1vendor:$f1device

...
which more-or-less gave me what I wanted.. interesting enought the cheaper Airstar PCI 
card performs better then DNTV hybrid

Thanks

On 7/06/2007 12:20 PM, Michelle Dupuis wrote:
> Have you tried 'udevinfo' ?  That will give you the specs on any device.
> 
> MD 
> 
> -----Original Message-----
> From: linux-dvb-bounces at linuxtv.org [mailto:linux-dvb-bounces at linuxtv.org]
> On Behalf Of Paul
> Sent: Wednesday, June 06, 2007 9:26 PM
> Cc: linux-dvb at linuxtv.org
> Subject: Re: [linux-dvb] dvb-apps questions
> 
> Any idea on Q3:
> 
> 
> Q3. if I have two DVB devices how can I determine what device this maps?
> 
> What  device manufacturer  is adapter0?
> is this stored somewhere in /proc filesystem?
> 
> I have two cards and adapter0 performs better than adapter1 but I want to be
> sure which that is.
> 
> 
> I could try guessing from the dmesg log... but not sure must be some better
> way..
> Paul
> 
> On 6/06/2007 6:48 PM, Chris Malarky wrote:
>> Hi Paul,
>>
>> On Wed, 2007-06-06 at 13:02 +1000, Paul wrote:
>>> I have a few questions and suggestions now I see some activity on the 
>>> dvb-apps
>>>
>>> Q.1 tzap
>>> This seems loop indefinately  can we also have option to limit the 
>>> output to a count or duration eg -count 10 or -time 5 secs
>> Have you tried using the -x option?  tzap tunes and then exits.
>> However, I think you have to load the dvb-core module with 
>> dvb_shutdown_timeout set to 0, otherwise the signal is lost again.
>>
>> A count (as well as the human-readable option you asked for the other
>> day) already exists in femon - perhaps you could do a 'tzap -x', 
>> followed by an 'femon -h -C ...'?
>>
>> Cheers,
>> Chris
> 
> 
> _______________________________________________
> linux-dvb mailing list
> linux-dvb at linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
> 
> 




More information about the linux-dvb mailing list