Mailing List archive

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

[vdr] Re: PVR 250 Plugin Request/Help needed



Andre Neumann wrote:
> 
> Hi,
> 
> I commented out the lirc part, now something happend. Log at the log:
> 
> Oct  1 13:03:34 router vdr[13167]: VDR version 1.2.5 started
> Oct  1 13:03:34 router vdr[13167]: loading plugin:
> ./PLUGINS/lib/libvdr-sky.so.1.2.5
> Oct  1 13:03:34 router vdr[13167]: loading /video/setup.conf
> Oct  1 13:03:34 router vdr[13167]: loading /video/sources.conf
> Oct  1 13:03:35 router vdr[13167]: loading /video/diseqc.conf
> Oct  1 13:03:35 router vdr[13167]: loading /video/channels.conf
> Oct  1 13:03:35 router vdr[13167]: loading /video/timers.conf
> Oct  1 13:03:35 router vdr[13167]: loading /video/commands.conf
> Oct  1 13:03:35 router vdr[13167]: loading /video/reccmds.conf
> Oct  1 13:03:35 router vdr[13167]: loading /video/svdrphosts.conf
> Oct  1 13:03:35 router vdr[13167]: loading /video/ca.conf
> Oct  1 13:03:35 router vdr[13167]: loading /video/remote.conf
> Oct  1 13:03:35 router vdr[13167]: loading /video/keymacros.conf
> Oct  1 13:03:35 router vdr[13167]: probing /dev/dvb/adapter0/frontend0
> Oct  1 13:03:35 router vdr[13170]: EIT processing thread started
> (pid=13170) - master
> Oct  1 13:03:35 router vdr[13171]: tuner thread started on device 1
> (pid=13171)
> Oct  1 13:03:35 router vdr[13167]: probing /dev/dvb/adapter1/frontend0
> Oct  1 13:03:35 router vdr[13167]: found 1 video device
> Oct  1 13:03:35 router vdr[13167]: initializing plugin: sky (0.1.1): Sky
> Digibox interface
> Oct  1 13:03:35 router vdr[13167]: setting primary device to 1
> Oct  1 13:03:35 router vdr[13167]: SVDRP listening on port 2001
> Oct  1 13:03:35 router vdr[13167]: starting plugin: sky
> Oct  1 13:03:35 router vdr[13172]: LIRC remote control thread started
> (pid=13172)
> Oct  1 13:03:35 router vdr[13167]: remote control LIRC - keys known
> Oct  1 13:03:35 router vdr[13167]: switching to channel 1
> Oct  1 13:03:35 router vdr[13167]: SetPid 160 1
> Oct  1 13:03:35 router vdr[13167]: SetPid 80 1
> Oct  1 13:03:35 router vdr[13173]: transfer thread started (pid=13173)
> Oct  1 13:03:35 router vdr[13174]: receiver thread started on device 5
> (pid=13174)
> Oct  1 13:03:35 router vdr[13167]: reading EPG data from /video/epg.data
> Oct  1 13:03:35 router vdr[13173]: transfer thread ended (pid=13173)
> Oct  1 13:03:35 router vdr[13167]: SetPid 160 0
> Oct  1 13:03:35 router vdr[13167]: SetPid 80 0
> Oct  1 13:03:35 router kernel: saa7115[1]: decoder disable output
> Oct  1 13:03:35 router kernel: saa7115[1]: decoder enable output
> Oct  1 13:03:37 router kernel: ivtv: EOS interrupt not received!
> stopping anyway.
> 
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Here we see some activity from the PVR card. But i get no picture, i
> tried to record, but the files are actualy 0 bytes.
> 
> Oct  1 13:03:37 router vdr[13174]: receiver thread ended on device 5
> (pid=13174)
> Oct  1 13:03:37 router vdr[13167]: buffer stats: 0 (0%) used
> Oct  1 13:03:37 router vdr[13167]: timer 1 (1 1302-1602 '@Sky One  ')
> start
> Oct  1 13:03:37 router vdr[13167]: waiting for EPG info...
> Oct  1 13:03:41 router vdr[13167]: no EPG info available
> Oct  1 13:03:41 router vdr[13167]: record
> /video/@Sky_One__/2003-10-01.13:02.50.50.rec
> Oct  1 13:03:41 router vdr[13167]: recording to
> '/video/@Sky_One__/2003-10-01.13:02.50.50.rec/002.vdr'
> Oct  1 13:03:41 router vdr[13167]: SetPid 160 1
> Oct  1 13:03:41 router vdr[13167]: SetPid 80 1
> Oct  1 13:03:41 router vdr[13176]: recording thread started (pid=13176)
> Oct  1 13:03:41 router vdr[13177]: receiver thread started on device 5
> (pid=13177)
> Oct  1 13:03:41 router vdr[13167]: switching to channel 1
> Oct  1 13:03:41 router vdr[13178]: transfer thread started (pid=13178)
> Oct  1 13:03:41 router kernel: saa7115[1]: decoder disable output
> Oct  1 13:03:41 router kernel: saa7115[1]: decoder enable output
> 
> Maybe Klaus could say something to that? Are we searching in the right
> direction ?

You only need the LIRC stuff if you are going to actually
control the receiver through an infrared remote control
signal (which is the only way to control an external receiver
like the Sky Digibox).

If you are accessing an internal PCI card you may need to
implement some ioctl() calls or whatever that card requires
to switch channels. That code should be implemented instead
of the LIRC stuff in sky.c.

Regarding the PIDs of the Transport Stream: you just need to
figure out which PIDs it provides and use those in your
channels.conf.

Klaus


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



Home | Main Index | Thread Index