Results 1 to 6 of 6

Thread: MythTV, OpenSasc and radegast

  1. #1
    Junior Member
    Join Date
    Feb 2009
    Location
    Germany
    Age
    44
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Reputation
    10

    Default MythTV, OpenSasc and radegast

    Hello there,

    I did not want to dig out that old thread so I opened up a new one.

    I have a Linux box running Fedora 10/MythTV with a DVB-C card and an infinity USB Phoenix.

    For getting encrypted channels to work I compiled opensasc and installed radegast. So far, so good :-)

    insmod dvbloopback.ko works great and gives no errors.

    Code:
    LD_LIBRARY_PATH=/home/mythtv/opensasc/sc/PLUGINS/lib/ ./sasc-ng -j 0:1 --cam-budget --sid-allpid --sid-nocache
    starts opensasc and I can watch all FTA channels within mythtv or kaffeine via this newly created virtual adapter.

    So and now to my problem:
    I am unable to watch encrypted channels. Opensasc seems to connect to radegast but radegast doesn't seem to read my smartcard properly when it's asked for decryption information.

    Here is the output of radegast:
    Code:
    ./rdgd 
    Radegast server deamon (project Radegast), version 4.2rel10
    (c) 2k3-9, kindzadza and the rest of Radegast team
    This proggie is beerware. If you find it usefull
    don't forget to host our team ;)
    This code is for educational purpose only.
    
    Starting on host test-box at Wed Feb  4 09:59:04 2009
    
    2009-02-04 09:59:04 -  int-init, @: $ hop, Dec 21 2008 23:26:26 $
    2009-02-04 09:59:04 -  int-init, N: netcon: Waiting for connection on port 9999
    [root@test-box i386]# 2009-02-04 09:59:04 -  int-init, N: Plugin './mod-con-webmin.so.4.16' opened OK.
    2009-02-04 09:59:04 -  int-init, N: Plugin './mod-con-webmin.so.4.16': binding OK
    2009-02-04 09:59:04 -  int-init, N: Plugin './mod-con-webmin.so.4.16': registering OK
    2009-02-04 09:59:04 -  int-init, D: Plugin './mod-con-webmin.so.4.16': name='con-webmin' type=1(console), api=4.16(good)
    2009-02-04 09:59:04 -  int-init, D: Loading user db 'radegast.users' ...
    2009-02-04 09:59:04 -  int-init, D: Added mythtv [mythtv : (null)] emm:0 proto:1 cardmask:FFFFFFFF multi:0 host:'<any>'
    2009-02-04 09:59:04 -  int-init, D: Added hacker [pass1 : (null)] emm:1 proto:255 cardmask:FFFFFFFF multi:0 host:'<any>'
    2009-02-04 09:59:04 -  int-init, D: Added newbie [pass2 : (null)] emm:0 proto:255 cardmask:FFFFFFFF multi:0 host:'<any>'
    2009-02-04 09:59:04 -  int-init, D: Added * [+ : (null)] emm:0 proto:3 cardmask:FFFFFFFF multi:1 host:'127.0.0.1'
    2009-02-04 09:59:04 -  int-init, D: Added luser [pass : (null)] emm:0 proto:3 cardmask:FFFFFFFF multi:0 host:'<any>'
    2009-02-04 09:59:04 -  int-init, N: Loaded 5 users from 'radegast.users'
    2009-02-04 09:59:04 - card-init, D: 1 card worker is starting.
    2009-02-04 09:59:05 - card-init, D: 2 card worker is starting.
    2009-02-04 09:59:05 - card-init, D: Card #1: Device '/dev/ttyS0' opened.
    2009-02-04 09:59:06 - card-init, D: 3 card worker is starting.
    2009-02-04 09:59:07 -   LocCMD: Is starting.
    2009-02-04 09:59:07 - keys-init, N: Check keys files ...
    2009-02-04 09:59:07 - keys-init, W: Failed stat softcam file 'SoftCam.Key'.
    2009-02-04 09:59:07 - keys-init, W: Failed stat autoroll file 'AutoRoll.Key'.
    2009-02-04 09:59:07 - keys-init, W: Failed stat conax file 'Conax.Key'.
    2009-02-04 09:59:07 - keys-init, W: Failed stat mkeys file 'MK.Key'.
    2009-02-04 09:59:07 -   LocCMD: Waiting for connection on /var/tmp/rdgd.cmd
    2009-02-04 09:59:07 -      EMM: Is starting.
    2009-02-04 09:59:07 - keys-init, N: Check keys files ...
    2009-02-04 09:59:07 - keys-init, W: Failed stat softcam file 'SoftCam.Key'.
    2009-02-04 09:59:07 - keys-init, W: Failed stat autoroll file 'AutoRoll.Key'.
    2009-02-04 09:59:07 - keys-init, W: Failed stat conax file 'Conax.Key'.
    2009-02-04 09:59:07 - keys-init, W: Failed stat mkeys file 'MK.Key'.
    2009-02-04 09:59:07 -  net-init, N: Rdgd mode server is starting.
    2009-02-04 09:59:07 -  net-init, N: Accepting connection from any address on port 10002
    2009-02-04 09:59:07 -  net-init, N: Waiting for connection on 0.0.0.0 port 10002 (protocol V3)
    2009-02-04 09:59:07 -  net-init, N: Is starting for 0 items.
    2009-02-04 09:59:07 -  int-init, D: Plugin 'con-webmin': starting ...
    2009-02-04 09:59:07 -  int-init, N: webmin: Waiting for connection on (null) port 8888
    2009-02-04 09:59:07 -  int-init, D: RUN_ALL: started 1 modules
    2009-02-04 09:59:07 -  int-init, N: Reflector mode is disabled.
    2009-02-04 09:59:25 - net-login, N: Client 1 '' connected from 127.0.0.1:38742
    2009-02-04 09:59:25 - net-login, D: input: CMD: 90 len: 01B
     90 1b 01 19 72 64 67 64 2f 76 64 72 2d 73 63 2d 30 2e 39 2e 30 2d 55 6e 6b 6e 6f 77 6e 00
    2009-02-04 09:59:25 - net-login, D: [CMD_HELLO] size: 01B
    2009-02-04 09:59:25 - net-login, D: input: CMD: 94 len: 000
     94 00 00
    2009-02-04 09:59:25 -   net-ecm, D: CMD_CAP: size: 000
    2009-02-04 10:00:39 - net-login, D: input: CMD: 1 len: 069
     01 69 02 01 09 0a 02 09 8e 06 08 30 30 30 30 30 30 30 30 03 56 81 70 53 00 00 01 0e 3d 04 47 18 04 b5 aa 55 85 20 01 00 00 0d 40 7e 0a 1f d1 ae e0 b4 54 0d e7 00 00 90 32 c0 01 e3 1f df 89 d3 ee c8 90 06 b0 20 61 20 f3 0a 53 7b 94 27 0b 9a 1c ec 60 d2 19 80 bf 1b b4 22 91 48 ec 82 7a 87 9c 4a 15 8f 73 6c 59 e9 95 38 17 00
    2009-02-04 10:00:39 -   net-ecm, D: [CMD_CW] size 069 offs 2
    2009-02-04 10:00:39 - keys-init, N: Check keys files ...
    2009-02-04 10:00:39 - keys-init, W: Failed stat softcam file 'SoftCam.Key'.
    2009-02-04 10:00:39 - keys-init, W: Failed stat autoroll file 'AutoRoll.Key'.
    2009-02-04 10:00:39 - keys-init, W: Failed stat conax file 'Conax.Key'.
    2009-02-04 10:00:39 - keys-init, W: Failed stat mkeys file 'MK.Key'.
    2009-02-04 10:00:39 -   net-ecm, D: caid 098E provid 00, (keynr: FFFFFFFF) data 1 track 0 sid: FFFFFFFF
    2009-02-04 10:00:39 -   emu-ecm, W: Unknown/unsupported system id: 098E
    2009-02-04 10:00:39 -   SoftCA: Invoked for CAID 098E (direct = -1) ...
    2009-02-04 10:00:39 -   net-ecm, D: Wrong key/signature.
    2009-02-04 10:00:39 - net-login, D: input: CMD: 1 len: 069
     01 69 02 01 09 0a 02 09 8e 06 08 30 30 30 30 30 30 30 30 03 56 81 70 53 00 00 01 0e 3d 04 47 18 04 b5 aa 55 85 20 01 00 00 0d 40 7e 0a 1f d1 ae e0 b4 54 0d e7 00 00 90 32 c0 01 e3 1f df 89 d3 ee c8 90 06 b0 20 61 20 f3 0a 53 7b 94 27 0b 9a 1c ec 60 d2 19 80 bf 1b b4 22 91 48 ec 82 7a 87 9c 4a 15 8f 73 6c 59 e9 95 38 17 00
    2009-02-04 10:00:39 -   net-ecm, D: [CMD_CW] size 069 offs 2
    2009-02-04 10:00:39 -   net-ecm, D: caid 098E provid 00, (keynr: FFFFFFFF) data 1 track 0 sid: FFFFFFFF
    2009-02-04 10:00:39 -   emu-ecm, W: Unknown/unsupported system id: 098E
    2009-02-04 10:00:39 -   SoftCA: Invoked for CAID 098E (direct = -1) ...
    2009-02-04 10:00:39 -   net-ecm, D: Wrong key/signature.
    2009-02-04 10:01:56 -   net-ecm, N: Client 1 '' closed connection.
    and here opensasc:
    Code:
    LD_LIBRARY_PATH=/home/mythtv/opensasc/sc/PLUGINS/lib/ ./sasc-ng -j 0:1 --cam-budget --sid-allpid --sid-nocache
    Feb  4 09:59:25.082 : Version: 0.0.2-49/49
    Feb  4 09:59:25.083 CAM: initializing plugin: SoftCam (0.9.0-Unknown): A software emulated CAM
    Feb  4 09:59:25.083 CAM(general.info): SC version 0.9.0-Unknown initializing
    Feb  4 09:59:25.083 CAM: starting plugin:
    Feb  4 09:59:25.083 CAM(general.info): SC version 0.9.0-Unknown starting
    Feb  4 09:59:25.083 CAM(core.load): ** Plugin config:
    Feb  4 09:59:25.083 CAM(core.load): ** Key updates (AU) are enabled (active CAIDs) (no prestart)
    Feb  4 09:59:25.083 CAM(core.load): ** Local systems DON'T take priority over cached remote
    Feb  4 09:59:25.083 CAM(core.load): ** Concurrent FF recordings are NOT allowed
    Feb  4 09:59:25.083 CAM(core.load): ** Force transfermode with digital audio
    Feb  4 09:59:25.083 CAM(core.load): ** ScCaps are 1 2 0 0 0 0 0 0 0 0
    Feb  4 09:59:25.083 CAM(core.load): ** Ignored CAIDs 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
    Feb  4 09:59:25.083 CAM(general.info): loading cardclient config from ./sc_files/cardclient.conf
    Feb  4 09:59:25.084 CAM(cardclient.core): hostname=localhost port=10002 emm=1 emmCaids 098e/ffff
    Feb  4 09:59:25.084 CAM(core.net): netwatch up
    Feb  4 09:59:25.085 CAM(core.net): connecting to localhost:10002/tcp (127.0.0.1)
    Feb  4 09:59:25.086 CAM(cardclient.login): Radegast: connected to localhost:10002
    Feb  4 09:59:25.086 CAM(cardclient.radegast): got server hello, assuming V4 mode
    Feb  4 09:59:25.086 CAM(cardclient.login): radegast: got caps
    Feb  4 09:59:25.086 CAM(cardclient.core): client 'Radegast' ready
    Feb  4 09:59:25.087 CAM(general.error): failed open ./sc_files/SoftCam.Key: No such file or directory
    Feb  4 09:59:25.087 CAM(general.error): failed open ./sc_files/smartcard.conf: No such file or directory
    Feb  4 09:59:25.087 CAM(general.error): no keys loaded for softcam!
    Feb  4 09:59:25.087 CAM(core.load): ** registered systems:
    Feb  4 09:59:25.087 CAM(core.load): ** Cardclient        (pri -15)
    Feb  4 09:59:25.087 CAM(core.load): ** Conax             (pri -10)
    Feb  4 09:59:25.087 CAM(core.load): ** ConstCW           (pri -20)
    Feb  4 09:59:25.087 CAM(core.load): ** Cryptoworks       (pri -10)
    Feb  4 09:59:25.087 CAM(core.load): ** Irdeto            (pri -10)
    Feb  4 09:59:25.087 CAM(core.load): ** Nagra             (pri -10)
    Feb  4 09:59:25.087 CAM(core.load): ** Nagra2            (pri -10)
    Feb  4 09:59:25.088 CAM(core.load): ** SC-Conax          (pri  -5)
    Feb  4 09:59:25.088 CAM(core.load): ** SC-Cryptoworks    (pri  -5)
    Feb  4 09:59:25.088 CAM(core.load): ** SC-Irdeto         (pri  -5)
    Feb  4 09:59:25.088 CAM(core.load): ** SC-Nagra          (pri  -5)
    Feb  4 09:59:25.088 CAM(core.load): ** SC-Seca           (pri  -5)
    Feb  4 09:59:25.088 CAM(core.load): ** SC-Viaccess       (pri  -5)
    Feb  4 09:59:25.088 CAM(core.load): ** SC-VideoGuard2    (pri  -5)
    Feb  4 09:59:25.088 CAM(core.load): ** Seca              (pri -10)
    Feb  4 09:59:25.088 CAM(core.load): ** @SHL              (pri -10)
    Feb  4 09:59:25.088 CAM(core.load): ** Viaccess          (pri -10)
    Feb  4 09:59:25.088 CAM(general.warn): no smartcard interface defined!
    Feb  4 09:59:26.091 frontend: Starting thread on /dev/dvb/adapter1/frontend1
    The thread scheduling parameters indicate:
    policy = 0
    priority = 0
    Feb  4 09:59:26.091 demux: Starting thread on /dev/dvb/adapter1/demux1
    The thread scheduling parameters indicate:
    policy = 0
    priority = 0
    Feb  4 09:59:26.107 dvr: Starting thread on /dev/dvb/adapter1/dvr1
    The thread scheduling parameters indicate:
    policy = 1
    priority = 99
    Feb  4 09:59:26.108 : Listening on port 5456
    Feb  4 10:00:12.662 CSA: Got command(1): I idx: 0 pid: 0
    Feb  4 10:00:12.663 CSA: Got command(1): I idx: 0 pid: 0
    Feb  4 10:00:12.745 CHANNEL: Tuning frontend
    Feb  4 10:00:12.745 CSA: Got command(1): I idx: 0 pid: 0
    Feb  4 10:00:24.548 CSA: Removing csa for rb: 1
    Feb  4 10:00:25.011 CSA: Removing csa for rb: 1
    Feb  4 10:00:26.304 MSG: Got unprocessed message type: 1
    Feb  4 10:00:26.305 MSG: Got unprocessed message type: 1
    Feb  4 10:00:26.305 MSG: Got unprocessed message type: 1
    Feb  4 10:00:34.523 CSA: Removing csa for rb: 1
    Feb  4 10:00:34.533 CHANNEL: Tuning frontend
    Feb  4 10:00:34.534 CSA: Got command(1): I idx: 0 pid: 0
    Feb  4 10:00:39.415 CAM(core.pids): 0: now tuned to source 8000 transponder c3bc
    Feb  4 10:00:39.415 CAM: SC completed  Tune cmd
    Feb  4 10:00:39.415 CAM(core.pids): 0: update SID 50108 (zero=0 noshift=0)
    Feb  4 10:00:39.415 CAM(core.pids): 0: pids typ5=0439 typ5=043a
    Feb  4 10:00:39.415 CAM(core.pids): 0: SID=50108 zero=0 | sid=-/-/- zero=-/-/- idle=-/-/-
    Feb  4 10:00:39.415 CAM(core.pids): 0: found handler for SID 50108 (0.1 idle=1 idx=1)
    Feb  4 10:00:39.415 CAM(core.ecm): 0.1: setting new SID 50108
    Feb  4 10:00:39.416 CAM(core.pids): 0.1: pids on entry
    Feb  4 10:00:39.416 CAM(core.pids): 0.1: pids after delete
    Feb  4 10:00:39.416 CAM(core.pids): 0: descrambling pid 0439 on index 1
    Called cSascDvbDevice::SetCaPid
    Feb  4 10:00:39.416 CSA: Got command(1): P idx: 1 pid: 1081
    Feb  4 10:00:39.416 CAM(core.pids): 0: descrambling pid 043a on index 1
    Called cSascDvbDevice::SetCaPid
    Feb  4 10:00:39.416 CSA: Got command(1): P idx: 1 pid: 1082
    Feb  4 10:00:39.416 CAM(core.pids): 0.1: pids after add typ5=0439 typ5=043a
    Feb  4 10:00:39.416 CAM(core.ecm): 0.1: is no longer idle
    Feb  4 10:00:39.417 MSG: Got unprocessed message type: 1
    Feb  4 10:00:39.578 CAM(core.ecm): 0.1: triggered SID -1/50108 idx -1/1 mode -1/0 -
    Feb  4 10:00:39.578 CAM(core.ecm): 0.1: got CaDescriptors for SID 50108 (len=6)
    Feb  4 10:00:39.578 CAM(core.ecm): 0.1: descriptor 09 8e fe 5d
    Feb  4 10:00:39.579 CAM(core.ecm): 0.1: found 098e (Cardclient) id 0000 with ecm 1e5d (new)
    Feb  4 10:00:39.579 CAM(core.ecm): 0.1: try system Cardclient (098e) id 0000 with ecm 1e5d (pri=-15)
    Feb  4 10:00:39.616 CAM(cardclient.core): cc-loop
    Feb  4 10:00:39.617 CAM(cardclient.core): now trying client Radegast (localhost:10002)
    Feb  4 10:00:39.618 CAM(cardclient.ecm): Radegast: key not available from server
    Feb  4 10:00:39.618 CAM(cardclient.core): client Radegast (localhost:10002) ECM failed (1 ms)
    Feb  4 10:00:39.679 CAM(core.au): 0: chain caid 098e -> Cardclient(-15) [00c0-82/ff/00]
    Feb  4 10:00:39.679 CAM(core.au): 0: starting chain 098e
    Feb  4 10:00:39.717 CAM(cardclient.core): cc-loop
    Feb  4 10:00:39.717 CAM(cardclient.core): now trying client Radegast (localhost:10002)
    Feb  4 10:00:39.719 CAM(cardclient.ecm): Radegast: key not available from server
    Feb  4 10:00:39.719 CAM(cardclient.core): client Radegast (localhost:10002) ECM failed (1 ms)
    Feb  4 10:00:39.808 CAM(core.ecm): 0.1: got CaDescriptors for SID 50108 (len=6)
    Feb  4 10:00:39.808 CAM(core.ecm): 0.1: descriptor 09 8e fe 5d
    Feb  4 10:00:39.808 CAM(core.ecm): 0.1: found 098e (Cardclient) id 0000 with ecm 1e5d (already present)
    Feb  4 10:00:39.809 CAM(core.ecm): 0.1: try system Cardclient (098e) id 0000 with ecm 1e5d (pri=-15)
    Feb  4 10:00:39.908 CAM(cardclient.core): cc-loop
    Feb  4 10:00:39.909 CAM(cardclient.core): now trying client Radegast (localhost:10002)
    Feb  4 10:00:40.010 CAM(cardclient.core): cc-loop
    Feb  4 10:00:40.010 CAM(cardclient.core): now trying client Radegast (localhost:10002)
    Feb  4 10:00:40.111 CAM(core.ecm): 0.1: got CaDescriptors for SID 50108 (len=6)
    Feb  4 10:00:40.111 CAM(core.ecm): 0.1: descriptor 09 8e fe 5d
    Feb  4 10:00:40.111 CAM(core.ecm): 0.1: found 098e (Cardclient) id 0000 with ecm 1e5d (already present)
    Feb  4 10:00:40.111 CAM(core.ecm): 0.1: try system Cardclient (098e) id 0000 with ecm 1e5d (pri=-15)
    Feb  4 10:01:39.616 CAM(core.auStats): EMM packet load average (1/4/10min)  700  175   70 pks/s
    ^CFeb  4 10:01:56.164 CAM(core.net): netwatch down
    Feb  4 10:01:56.164 CAM(general.debug): SC cleanup done
    Feb  4 10:01:56.164 : Exiting...
    Does anyone know how to get this this working?
    I appreciate any kind of help/hint.

    Oh and I'm using the latest stable version of opensasc and radegast v42_rel10.
    my cardclient.conf looks like this:
    Code:
    radegast:localhost:10002:1/098e/ffff



Look Here ->
  • #2
    Junior Member
    Join Date
    Jan 2008
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Reputation
    10

    Default

    Hello ,

    Most people use newcs with either newcamd or radegast protocol to talk to opensasc_ng client .

    \RD

  • #3
    Senior Member covert's Avatar
    Join Date
    Jan 2008
    Location
    My Imagination
    Posts
    983
    Thanks
    31
    Thanked 34 Times in 20 Posts
    Rep Power
    233
    Reputation
    131

    Default

    rdsdude said just what I would of said. Replace radegast with newcs using the radegast protocol. tell us how it goes.

    Don't be afraid to dig up old threads on Austech. 50+ pages threads are just the norm here .
    By reading this, you have already given me control over a tiny slice of your mind

  • #4
    Junior Member
    Join Date
    Oct 2008
    Age
    47
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    189
    Reputation
    10

    Default

    You are doing exactly what I'm trying to do at the end of this thread.


    You seem slightly further along than me. Unfortunately I can't work on this when I want to watch Foxtel since the card has to go back in the Foxtel STB and that's making it difficult for me.

    Are you saying you can watch the FTA channels unencrypted? I thought everything was encrypted except for help and TVSN.

    Are you using Mythdora 10?

  • #5
    Junior Member
    Join Date
    Feb 2009
    Location
    Germany
    Age
    44
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Reputation
    10

    Default

    Sorry for my late reply

    I already tried newcs (1.50 to 1.65) but it did not detect my card (reader) properly.
    Maybe I should try that card reader mentioned here:

    @Shonky
    Yes I can wath FTA channels unencrypted. This is a provider thing. Yes I'm using Mythdora 10.

  • #6
    Junior Member
    Join Date
    Apr 2008
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Reputation
    10

    Default

    Just wondering: Is this setup possible with a valid Austar subscription card or are Austar Irdeto cards still unable to be used in 3rd party boxes?

  • Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •