Mailing List archive

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

[vdr] Re: vdr-1.1.20: problems tuning to radio stations



Hi,

On Sunday 29 December 2002 11:08, you wrote:
> > Betreff war : ERROR (dvbdevice.c,512): Device or resource busy
>
> Now you're confusing me - what does this subject have to do with radio
> stations?
>
> Anyway, apparently in a nother posting somebody suggested to use VPID 1
> in such cases. I would assume that this is a problem of the driver, since
> VDR can only give the driver PIDs it wants to receive. Whether or not the
> driver delivers any data is beyond VDR's reach.
>
> If there's something VDR should do differently when tuning to radio
> stations, please let me know.

Setting the video pid to 0 is not a good idea, because pid 0 is reserved for 
the PAT (which is present on every transponder). Pid 1 isn't a good choice 
either, cause on transponders with encrypted channels, there is the 
conditional access table (CAT).
The drives does its own PAT/PMT/CAT scanning after tuning (for CI support). So 
those "ERROR (dvbdevice.c,512): Device or resource busy" messages may come 
from the wrong video pids like 0 or 1.
May be a dedicated vpid (like -1 or 8193) for radio stations is the way to go.
And then simpily don't call 
bool cDvbDevice::SetPid(cPidHandle *Handle, int Type, bool On)
if you find such a pid in channels.conf.

> Klaus

Christian




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



Home | Main Index | Thread Index