[vdr] pvrinput multiple cards, recording and epg

Simon Baxter linuxtv at nzbaxters.com
Wed Nov 15 20:52:18 CET 2006


An update...

I'm trying to get my PAL PVR-500 working in a non-PAL country.  May sound 
weird, but I'm preparing to move back to New Zealand.

Although I won't be able to watch anything now, I should be able to do some 
basic tests shouldn't I?

I've set up VDR with the pvrinput plugin, and think I've worked out the 
answer to my question below regarding how to support multiple devices.  Is 
this achieved by having channels.conf entries with duplicate transport 
stream IDs?

Channels.conf:
KOMO:67250:I999C0:C:0:301:300:0:A1:12003:1:1089:0
KOMO:67250:I999C12:C:0:301:300:0:A1:12003:1:1089:0
KING:77250:I999C0:C:0:301:300:0:A1:12003:1:1090:0
KING:77250:I999C12:C:0:301:300:0:A1:12003:1:1090:0

correct?


Also.  I'm able to watch the static (hmm, exciting!)  but am unable to 
record.  I get the following:

Record:
pvrinput: 11:39:58 cPvrDevice::ProvidesChannel 1 4 KOMO 67250 50 BFF119BB
pvrinput: 11:39:58 cPvrDevice::ProvidesSource C
pvrinput: 11:39:58 cPvrDevice::ProvidesCa 1 4 KOMO 161
pvrinput: 11:39:58 cPvrDevice::ProvidesCa 1 4 KOMO 161
pvrinput: 11:39:58 cPvrDevice::ProvidesChannel 1 4 KOMO 67250 50 BFF119BB
pvrinput: 11:39:58 cPvrDevice::ProvidesSource C
pvrinput: 11:39:58 cPvrDevice::ProvidesCa 1 4 KOMO 161
pvrinput: 11:39:58 cPvrDevice::ProvidesCa 1 4 KOMO 161
pvrinput: 11:39:58 cPvrDevice::SetChannelDevice 1 4 KOMO 67250 0
pvrinput: 11:39:58 VIDIOC_S_STD failed, 16:Device or resource busy
pvrinput: 11:39:58 cPvrDevice::SetChannelDevice 1 4 KOMO 67250 0
pvrinput: 11:39:58 VIDIOC_S_STD failed, 16:Device or resource busy
pvrinput: 11:39:58 cPvrDevice::SetChannelDevice 1 4 KOMO 67250 0
pvrinput: 11:39:58 VIDIOC_S_STD failed, 16:Device or resource busy
pvrinput: 11:39:58 cPvrDevice::SetPid 301 5 0
pvrinput: 11:39:58 cPvrDevice::SetPid 300 6 0
pvrinput: 11:39:58 cPvrDevice::CloseDvr
Wed Nov 15 11:39:58 PST 2006
restarting VDR


This is what the logging says when VDR starts:
Startup:
pvrinput: 11:39:05 Detected input 0: Tuner 1
pvrinput: 11:39:05 Error setting vbi embedded mode, 22:Invalid argument
pvrinput: 11:39:05 Error setting vbi mode, 22:Invalid argument
pvrinput: 11:39:05 IVTV_IOC_G_CODEC failed, 22:Invalid argument
pvrinput: 11:39:06 Detected input 0: Tuner 1
pvrinput: 11:39:06 IVTV_IOC_G_CODEC failed, 22:Invalid argument
pvrinput: 11:39:06 found 2 PVR devices
pvrinput: 11:39:06 cPvrDevice::ProvidesChannel 1 4 KOMO 67250 0 BFF1080B
pvrinput: 11:39:06 cPvrDevice::ProvidesSource C
pvrinput: 11:39:06 cPvrDevice::ProvidesCa 1 4 KOMO 161
pvrinput: 11:39:06 cPvrDevice::ProvidesCa 1 4 KOMO 161
pvrinput: 11:39:06 cPvrDevice::ProvidesChannel 1 4 KOMO 67250 0 BFF1080B
pvrinput: 11:39:06 cPvrDevice::ProvidesSource C
pvrinput: 11:39:06 cPvrDevice::ProvidesCa 1 4 KOMO 161
pvrinput: 11:39:06 cPvrDevice::ProvidesCa 1 4 KOMO 161
pvrinput: 11:39:06 cPvrDevice::SetChannelDevice 1 4 KOMO 67250 0
pvrinput: 11:39:06 Error setting vbi embedded mode, 22:Invalid argument
pvrinput: 11:39:06 Error setting vbi mode, 22:Invalid argument
pvrinput: 11:39:06 cPvrDevice::SetPid 301 5 1
pvrinput: 11:39:06 cPvrDevice::SetPid 300 6 1
pvrinput: 11:39:06 cPvrDevice::OpenDvr


Why am I getting IVTV_IOC_G_CODEC failed ??


Simon


> I've just received my new PVR-500 card and have it happily installed and 
> working with ivtv 0.9 (svn)
>
> I figure since the FM radio is only available on the 1st encoder, I'll 
> have to dedicate VDR recording tasks to the 2nd encoder and leave the 
> first for general purpose TV watching and radio listening.  Unless I can 
> cut off the FM radio if the recorder needs that adapter?
>
> Will I need to maintain duplicate channel entries in channels.conf for 
> each device - so I can select one or the other for recording or watching? 
> I guess the best way to do this is prefix the ones I want to record on, 
> and avoid using them when general channel surfing.
>
> I'm also not sure how to handle epg.  At the moment I use xmltv and 
> xmltv2vdr.pl to import epg.  I'm guessing I'll also need to have duplicate 
> epg for each tuner?  Is there a way I can use VDR with a single epg, but 
> just select an adapter based on availability?
>
> This machine will sit in my basement with the PVR-500, DVB-T card and a 
> DVB-S card
>
> Can anyone offer any advice?
>
> _______________________________________________
> vdr mailing list
> vdr at linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr 




More information about the vdr mailing list