Mailing List archive

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

[vdr] Pb with softdevice and CAM (was: Pb with Viacess2 CAM onbudget card with vdr 1.3.17)



Hello

I've done some more tests and I think that softdevice triggers a
problem with CAMs (Red Viacess with Smart TV satellite budget card - a
twinhan DST clone)

Short story: It looks like softdevice prevents vdr from setting up CAM
when viewing encrypted channels

Long story is here ...

Dominique Dumont <domi.dumont@free.fr> writes:

> Other weirdness that may be related, Setup-DVB menu reports that my
> "Primary DVB interface" is 2. Although I have only one DVB
> card. (The only other video inpout card in my Radeon 9200 VIVO which
> is not configured for video input). Free to air channels like
> Euronews works correctly on DVB 2. If I force the "Primary DVB
> interface" to 1, Euronews does not get through.

I may have the beginning of an explanation. I launched vdr without
softdevice plugin and the user log is quite different:

  Dec  4 17:10:34 localhost vdr[24330]: probing /dev/dvb/adapter0/frontend0
  Dec  4 17:10:34 localhost vdr[24333]: tuner on device 1 thread started (pid=24333, tid=16386)
  Dec  4 17:10:34 localhost vdr[24334]: Section handler thread started (pid=24334, tid=32771)
  Dec  4 17:10:34 localhost vdr[24330]: probing /dev/dvb/adapter1/frontend0
  Dec  4 17:10:34 localhost vdr[24330]: found 1 video device
  Dec  4 17:10:34 localhost vdr[24330]: ERROR: invalid primary device number: 2
  Dec  4 17:10:34 localhost vdr[24330]: ERROR: no primary device found - using first device!
  Dec  4 17:10:34 localhost vdr[24330]: setting primary device to 1

vdr is rightfully complaining about the wrong primary device
number. This problem was not detected using softdevice.

Once I changed setup.conf with "PrimaryDVB = 1", I get :

  Dec  4 17:19:16 localhost vdr[24597]: reading EPG data from /video/epg.data
  Dec  4 17:19:16 localhost vdr[24597]: probing /dev/dvb/adapter0/frontend0
  Dec  4 17:19:16 localhost vdr[24600]: tuner on device 1 thread started (pid=24600, tid=16386)
  Dec  4 17:19:16 localhost vdr[24601]: Section handler thread started (pid=24601, tid=32771)
  Dec  4 17:19:16 localhost vdr[24597]: probing /dev/dvb/adapter1/frontend0
  Dec  4 17:19:16 localhost vdr[24597]: found 1 video device
  Dec  4 17:19:16 localhost vdr[24597]: setting primary device to 1
  Dec  4 17:19:16 localhost vdr[24597]: device 1 has no MPEG decoder
  Dec  4 17:19:16 localhost vdr[24597]: SVDRP listening on port 2001
  Dec  4 17:19:16 localhost vdr[24597]: loading /video/themes/sttng-default.theme
  Dec  4 17:19:16 localhost vdr[24597]: remote control KBD - keys known
  Dec  4 17:19:16 localhost vdr[24597]: switching to channel 6
  Dec  4 17:19:16 localhost vdr[24602]: KBD remote control thread started (pid=24602, tid=49156)
  Dec  4 17:19:16 localhost vdr[24597]: ERROR: no OSD provider available - using dummy OSD!

This message is normal since I have a budget card and softdevice is not running.

  Dec  4 17:19:18 localhost vdr[24601]: changing caids of channel 546 from 0 to 500

From this message, I gather that the CAM is handled by vdr. Am I right ?

  Dec  4 17:19:18 localhost vdr[24601]: channel 6 (TF1) event 15:56 '7 À LA MAISON' status 4

At least some EPG informations are going through.


So now I run vdr with softdevice:

  Dec  4 17:38:04 localhost vdr[25177]: reading EPG data from /video/epg.data
  Dec  4 17:38:04 localhost vdr[25177]: probing /dev/dvb/adapter0/frontend0
  Dec  4 17:38:05 localhost vdr[25181]: tuner on device 1 thread started (pid=25181, tid=16386)
  Dec  4 17:38:05 localhost vdr[25182]: Section handler thread started (pid=25182, tid=32771)
  Dec  4 17:38:05 localhost vdr[25177]: probing /dev/dvb/adapter1/frontend0
  Dec  4 17:38:05 localhost vdr[25177]: found 1 video device
  Dec  4 17:38:05 localhost vdr[25177]: initializing plugin: softdevice (0.0.7pre4): A software emulated MPEG2 device
  Dec  4 17:38:05 localhost vdr[25177]: [XvVideoOut]: patch version (007_pre_4)
  Dec  4 17:38:05 localhost vdr[25177]: [XvVideoOut]: Initialize XShmCreateImage Successful (0x081be1d8)
  Dec  4 17:38:05 localhost vdr[25177]: [XvVideoOut]: Initialize shmget Successful (1695744 bytes)
  Dec  4 17:38:05 localhost vdr[25177]: [XvVideoOut]: Initialize shmat Successful
  Dec  4 17:38:05 localhost vdr[25177]: [softdevice-xscreensaver]: xscreensaver not running 
  Dec  4 17:38:05 localhost vdr[25177]: [XvVideoOut]: initialized OK
  Dec  4 17:38:05 localhost vdr[25177]: [XvVideoOut]: ATI Radeon Video Overlay: available ports 69 - 69
  Dec  4 17:38:05 localhost vdr[25177]: [XvVideoOut]: grabbed port 69
    [ removed boring XV_* messages ]
  Dec  4 17:38:05 localhost vdr[25184]: Xv remote control thread started (pid=25184)
    [ ditto ...]
  Dec  4 17:38:05 localhost vdr[25177]: [XvVideoOut]: XvShmCreateImage Successful (0x081bf508)
  Dec  4 17:38:05 localhost vdr[25177]: [XvVideoOut]: shmget Successful (1695744 bytes)
  Dec  4 17:38:05 localhost vdr[25177]: [XvVideoOut]: shmat Successful
  Dec  4 17:38:05 localhost vdr[25177]: [XvVideoOut]: XShmAttach    rc = 1 (should be OK)
  Dec  4 17:38:05 localhost vdr[25177]: [softdevice-audio] Opening alsa device default
  Dec  4 17:38:05 localhost vdr[25177]: [softdevice-audio] Device opened! Ready to play
  Dec  4 17:38:05 localhost vdr[25177]: setting primary device to 1
  Dec  4 17:38:05 localhost vdr[25177]: device 1 has no MPEG decoder
  Dec  4 17:38:05 localhost vdr[25177]: trying device number 2 instead
  Dec  4 17:38:05 localhost vdr[25177]: setting primary device to 2

Now I'm confused, I though that "primary device" was related to DVB card ???

  Dec  4 17:38:05 localhost vdr[25177]: SVDRP listening on port 2001
  Dec  4 17:38:05 localhost vdr[25177]: starting plugin: softdevice
  Dec  4 17:38:05 localhost vdr[25177]: loading /video/themes/sttng-default.theme
  Dec  4 17:38:05 localhost vdr[25177]: remote control softdevice-xv - keys known
  Dec  4 17:38:05 localhost vdr[25177]: remote control KBD - keys known
  Dec  4 17:38:05 localhost vdr[25177]: switching to channel 6
  Dec  4 17:38:05 localhost vdr[25185]: KBD remote control thread started (pid=25185, tid=65541)
  Dec  4 17:38:06 localhost vdr[25187]: transfer thread started (pid=25187, tid=81926)
  Dec  4 17:38:06 localhost vdr[25188]: receiver on device 1 thread started (pid=25188, tid=98311)
  Dec  4 17:38:06 localhost vdr[25189]: TS buffer on device 1 thread started (pid=25189, tid=114696)
  Dec  4 17:38:07 localhost vdr[25182]: channel 6 (TF1) event 15:56 '7 À LA MAISON' status 4
  Dec  4 17:38:33 localhost vdr[25187]: ERROR: no useful data seen within 10556952 byte of video stream

Now, we have a problem, there's no message related to "caids" and the
video stream is scambled.. Is softdevice getting in the way ??


next step: I'm going to try to record a scrambled channel without
softdevice. I'll let you now what I find. (But now I have to modify
again setup.conf)

Cheers




Home | Main Index | Thread Index