manio / vdr-plugin-dvbapi

VDR dvbapi plugin for use with OSCam
http://www.streamboard.tv/wbb2/thread.php?threadid=40060
GNU General Public License v2.0
58 stars 25 forks source link

Error in read read_t (pat) if ca0 is present #35

Closed mijanek closed 10 years ago

mijanek commented 10 years ago

Hi I am using this version: https://github.com/manio/vdr-plugin-dvbapi/commit/8fb65973 I have DD Cine S2 V6.5 with 4xS2 Tuners and 1 CI. (ddbridge) Using the git version above works fine, if I register every tuner as own adapter (0-4) but than is my CI not usable. If I let the driver to register all interfaces as single adapter0 then I get issue, that vdr-plugin is not working, getting this message: DVBAPI: 0.0 set CAM decrypt (SID 36, caLm 4, HasCaDescriptors 1) DVBAPI-Error: poll timed out DVBAPI-Error: Error in read read_t (pat) DVBAPI-Error: Error obtaining PMT data, returning

more of the log is present here: http://pastebin.com/yHvwAL7n

It looks like the ca0 (CAM 5) is somehow intercepting the DVB-API

any chance to get it work?

manio commented 10 years ago

Hi Hmmm... unfortunatelly i cannot check it because i am not a hardware CI owner :( The plugin is enabling software CSA if there is no /dev/dvb/adapterX/ca0, but in your case i can see that there are 4 softcams created (for every adapter) + one additinal CAM5 for your harware CI. When you start a program you can see that VDR is assigning a CAM to a device. Can you play with -D vdr switch to enable one or some adapters and check if it helps? I also don't know if it doesn't work at all? Some channels are working? Or maybe a channels decrypted from your CI are just not working? Why are you not using more recent plugin version, eg. master git revision? 8fb6597 is quite old.

About your logs: I can see that vdr cannot tune to a desired channel: "frontend 0/0 timed out while tuning to channel 51, tp 112070" This point out a tune problem not related with the plugin, and this is surely also the cause of problem reading PAT by dvbapi plugin.

mijanek commented 10 years ago

Thanks. The tuning problem is only if there is no Smartcard in the ca0 inserted, so it seems it gets internally broken and probably therefore no PAT is given to the SOFT-CAM... As I saw in the log, the ca0 has been created with some delay so you allocated it with soft-cam to. But since in your readme are you saying to disable ca in order to use dvb-api with -B and I need the CAM only as fallback, I'll stay with multiple adpaters without ca. Thanks a lot. You may close this as this is not really issu of dvb-api