Page 1 of 2 12 LastLast
Results 1 to 20 of 25

Thread: NewCS 1.65 doens't init NDS2 card

  1. #1
    Member
    Join Date
    May 2009
    Posts
    50
    Thanks
    0
    Thanked 0 Times in 0 Posts

    NewCS 1.65 doesn't init NDS2 card

    Hi everybody.

    I'm trying to use NewCS and mgcamd to watch Sky Italy with my regular subscription. I have an NDS2 card (serial starting with 0001).

    When I launch newcs (on FW 1791, 1868 and 2032) from a telnet session this is what I get:

    Code:
    Reading Config file from /var/tuxbox/config/newcs.xml
    Reading Config file from /EMU/OpenXCAS/newcs/newcs.xml
    ****** INTERNAL enabled
    TCP-log password is disabled!
    level: internal
    type: all
    output: console, tcp
    logger config: level 16777215 type 255 output 5
    Console log options: level 16777215 type 255
    tcp port: 1001
    TCP log options: level 16777215 type 255
    [ 11:24:15 ] [ Box detect ] Box type 9
    [ 11:24:15 ] [ Config ] hwkey not found !
    [ 11:24:15 ] [ Config ] ekpair not found !
    [ 11:24:15 ] [ Config ] /dev/scard ECM priority: hard
    [ 11:24:15 ] [ Config ] No SIDFILTER is configured, disabling SidOverride for de
    vice 0 (upper)!
    [ 11:24:15 ] [ Newcamd ] Server name : local
    [ 11:24:15 ] [ Newcamd ] Des key     : 0102030405060708091011121314
    [ 11:24:15 ] [ Newcamd ] User 2: dummy, Pass: dummy, Host 127.0.0.1, Port: 12000
    , Au: Off, Spider allowed: No, Sidoverride: No, reader control: No, level: 0
    [ 11:24:15 ] [ EMM Cache ] Initialising Cache with 10 entries
    [ 11:24:15 ] [ ECM Cache ] Initialising dynamic Cache
    [ NewCS ] Process ID is: 1226
    [ 11:24:15 ] Calibrating delay loops
    [ 11:24:15 ] usleep(5) takes: 0 s 14 us
    [ 11:24:15 ] usleep(10) takes: 0 s 16 us
    [ 11:24:15 ] usleep(100) takes: 0 s 108 us
    [ 11:24:15 ] usleep(500) takes: 0 s 507 us
    [ 11:24:15 ] [ Loader ] Reader type 11 on node /dev/scard
    [ 11:24:15 ] [ azbox ] Opening device /dev/scard
    [ 11:24:18 ] ATR: 3F FF 13 25 03 10 80 33 B0 0E 69 FF 4A 50 70 00
    [ 11:24:18 ] ATR: 00 49 54 02 00 00
    [ 11:24:18 ] [ ******* ] Atr header is 3F FF [INVERSE]
    [ 11:24:18 ] parseAtr: 3F FF 13 25 03 10 80 33 B0 0E 69 FF 4A 50 70 00
    [ 11:24:18 ] parseAtr: 00 49 54 02 00 00 00 00 00 00 00
    [ 11:24:18 ] [ ATR ] T=0  1etu=93.00us  Guardtime:15etu  WWT:38400etu
    [ 11:24:18 ] [ ATR ] Historical bytes: 3 [B0] [0E] i [FF] J P p [00] [00] I T [0
    2] [00] [00]
    [ 11:24:18 ] [ ATR ] freq 1000000.000 sciFreq  5000000.000
    [ 11:24:18 ] [ Loader ] Init NDS card
    [ 11:24:18 ] [ NDS ] Sending to Card: D074018001
    [ 11:24:18 ] [ azbox ] Delay is 18us
    [ 11:24:18 ] write: D0 74 01 80 01
    [ 11:24:18 ] [ azbox ] Timeout is 714240us
    newcs hangs there and then times out after a while without being able to init the card. I've tried changing several parameters in my newcs.xml, including reader frequency to 3.57 Mhz, to no avail.

    The newcs.xml I'm using right now is the following:

    Code:
    <?xml version="1.0"?>
    <newCSconfig>
            <readers name="Card Readers">
                    <device>
                            <name>upper</name>
                            <type>azbox</type>
                            <node>/dev/scard</node>
                            <export>yes</export>
                            <enabled>yes</enabled>
                            <blocksa>no</blocksa>
                            <blockua>no</blockua>
                            <blockga>No</blockga>
                            <newcamd_port>20000</newcamd_port>
                            <autosid>no</autosid>
                            <carddetect>yes</carddetect>
                            <priority>hard</priority>
                            <PTShandshake>no</PTShandshake>
                            <mhz>500</mhz>
                            <boxkey>79FDC0E18D278138</boxkey>
                            <rsa>9ED52515321F04BCF7772151149D6895154B559A8D825A4E7D7
    11A9FAFD5C66BF64689501B254DF1832F754C21095379CF97B4E5BE6E0F1C9CEBF0A0E91D5ACD</r
    sa>
                    </device>
            </readers>
            <xmlserver>
                    <enabled>0</enabled>
            </xmlserver>
            <radegastserver>
                    <enabled>0</enabled>
            </radegastserver>
            <cache>
                    <emm>10</emm>
                    <ecm>-1</ecm>
            </cache>
            <debug>
                    <darint39>sintoi51</darint39>
                    <level>internal</level>
                    <type>all</type>
                    <output>console, tcp</output>
                    <logfile>/tmp/newcs.txt</logfile>
                    <console_options></console_options>
                    <file_options></file_options>
                    <udp_host>172.16.1.1</udp_host>
                    <udp_port>9000</udp_port>
                    <udp_options></udp_options>
                    <tcp_port>1001</tcp_port>
                    <tcp_options></tcp_options>
            </debug>
            <newcamdserver>
                    <enabled>yes</enabled>
                    <name>local</name>
                    <deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey>
                    <user>
                            <name>dummy</name>
                            <password>dummy</password>
                            <hostname>127.0.0.1</hostname>
                            <port>12000</port>
                    </user>
            </newcamd_server>
    </newCSconfig>
    which is the standard one coming with AZBox version of NewCS 1.65.

    Do you have any idea why NewCS, which is known to read even NDS3 Sky Italy cards which are far more problematic than my NDS2 card, is behaving this way on AZBox? It seems some platform-specific problem.

    Any suggestion is much appreciated.
    Last edited by zipperolo; 16-05-2009 at 09:47 AM.

  2. #2
    Member Duden2002's Avatar
    Join Date
    Feb 2009
    Location
    Sweden
    Posts
    35
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi, as discussed in a previous thread https://www.satpimps.co.uk/showthread.php?t=106338 it is probably not NewCS 1.65. Maybe that could be the problem with NDS2.

  3. #3
    Member
    Join Date
    May 2009
    Posts
    50
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Oh well, if that is the case it would certainly explain a lot. I wonder why it does recognize my card as NDS though, if that system wasn't supportedby NewCS 1.20.

    Anyway, if things are as they seem from the ./newcs -ver command, I really hope AZBox will get a "real" port of NewCS soon.

  4. #4
    V.I.P
    Join Date
    Oct 2005
    Posts
    370
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Seems it is a special version of newcs 1.20RC with more cards supported with patches... like mgcamd it is version 1.33 and includes some fixes like no need to do some replace.list that didn't work on other compiles. So good stuff, but real 1.65 could be better.

  5. #5
    V.I.P
    Join Date
    Feb 2009
    Posts
    495
    Thanks
    0
    Thanked 0 Times in 0 Posts
    you can take MPCS 1.05a, this should work with your Card.
    But MPCS cant use internal Cardslot, so you must take usb2serial with FTDI or PL2303

  6. #6
    Member
    Join Date
    May 2009
    Posts
    50
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by hanswurscht View Post
    you can take MPCS 1.05a, this should work with your Card.
    But MPCS cant use internal Cardslot, so you must take usb2serial with FTDI or PL2303
    Thanks for your advice.
    If I have to go with a more complex layout than just using the internal card reader I might as well buy a phoenix and use NewCS 1.65 (the real one) on my pc and then mgcamd on the AZBox.
    I was trying to use what I have but it looks like I either have to wait or switch to plan B.

  7. #7
    V.I.P
    Join Date
    Dec 2004
    Posts
    116
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Works no problem with my Sk*yIt NDS2, NewCS (the latest as well). But on a PC with a serial SM/Phoenix...

  8. #8
    Member
    Join Date
    May 2009
    Posts
    50
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Zyknyp View Post
    Works no problem with my Sk*yIt NDS2, NewCS (the latest as well). But on a PC with a serial SM/Phoenix...
    Thanks, nice to know plan B would work. I think I'll just go that route after all.

  9. #9
    Member
    Join Date
    May 2009
    Posts
    50
    Thanks
    0
    Thanked 0 Times in 0 Posts
    An update for those who might have my same problem.

    Partially following hanswurscht's advice, I connected an Infinity USB Smart in module mode (Phoenix 3.58 Mhx module loaded) to the USB port of the AZBox, and NewCS works perfectly with Sky Italy. The problem it showed in initializing NDS2 cards is somewhat related to the internal reader but totally disappears using the Infinity.

    The decoder automatically loaded the correct driver and assigned the ttyUSB0 device to the external reader. All I had to do was to configure NewCS properly and now it works perfectly with mgcamd as a client: no freezes no nothing, it just works.

    Thanks all for your contributions.

    Here is the updated newcs.xml:

    Code:
    <?xml version="1.0"?>
    <newCSconfig>
    	<readers name="Card Readers">
    		<device>
    			<name>Infinity</name>
    			<type>phoenix</type>
    			<node>/dev/ttyUSB0</node>
    			<export>yes</export>
    			<enabled>yes</enabled>
    			<blocksa>no</blocksa>
    			<blockua>no</blockua>
    			<blockga>No</blockga>
    			<newcamd_port>20000</newcamd_port>
    			<autosid>no</autosid>
    			<carddetect>yes</carddetect>
    			<priority>hard</priority>
    			<PTShandshake>no</PTShandshake>
    			<mhz>358</mhz>
    			<boxkey>79FDC0E18D278138</boxkey> 
    			<rsa>9ED52515321F04BCF7772151149D6895154B559A8D825A4E7D711A9FAFD5C66BF64689501B254DF1832F754C21095379CF97B4E5BE6E0F1C9CEBF0A0E91D5ACD</rsa>
    		</device>
    	</readers>
    	<xmlserver>
    		<enabled>0</enabled>
    	</xmlserver>
    	<radegastserver>
    		<enabled>0</enabled>
    	</radegastserver>
    	<cache>
    		<emm>10</emm>
    		<ecm>-1</ecm>
    	</cache>	
    	<debug>
    		<darint39>sintoi51</darint39>
    		<level>internal</level>	
    		<type>all</type>
    		<output>console, tcp</output>
    		<logfile>/tmp/newcs.txt</logfile>
    		<console_options></console_options>
    		<file_options></file_options>
    		<udp_host>172.16.1.1</udp_host>
    		<udp_port>9000</udp_port>
    		<udp_options></udp_options>
    		<tcp_port>1001</tcp_port>
    		<tcp_options></tcp_options>
    	</debug>
    	<newcamdserver>
    		<enabled>yes</enabled>
    		<name>local</name>
    		<deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey>
    		<user>
    			<name>dummy</name>
    			<password>dummy</password>
    			<hostname>127.0.0.1</hostname>
    			<port>12000</port>
    		</user>
    	</newcamd_server>
    </newCSconfig>

  10. #10
    V.I.P
    Join Date
    Oct 2005
    Posts
    370
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I think you should edit boxkey and rsa just in case...

  11. #11
    Member
    Join Date
    May 2009
    Posts
    50
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by tinos View Post
    I think you should edit boxkey and rsa just in case...
    Yeah they are probably ingnored with NDS2 cards, since everything works anyway, but as you say just in case...

    I know how to calculate the boxkey, but what about RSA? I don't know its purpose nor how to determine it.

    I guess I'll take a look around to see if I find some resource about it.

  12. #12
    Member
    Join Date
    May 2009
    Posts
    50
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Just a note to say that the new version of NewCS released yesterday (thanks NeotionBox!) solved the problem. Now it inits NDS2 cards regularly using the internal card reader.

    You find it here:

    https://www.satpimps.co.uk/showthread.php?t=109530

  13. #13
    Senior Member
    Join Date
    Dec 2008
    Posts
    162
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Does this mean that with this version of newcs that Sky UK cards can be read in the internal card reader?

  14. #14
    Member
    Join Date
    May 2009
    Posts
    50
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by slegs View Post
    Does this mean that with this version of newcs that Sky UK cards can be read in the internal card reader?
    It surely means that you can read Sky Italy NDS2 cards, whereas before you couldn't, so if Sky UK uses NDS I'd certainly give it a try.

    If it is an NDS3 card, though, check the working temperature in a few minutes. Some internal readers in other boxes were known to melt NDS3 cards plastic a while ago.

    I'm talking old versions on NewCS and different hardware, but as they say, better safe than sorry.

  15. #15
    V.I.P gtg60's Avatar
    Join Date
    Feb 2009
    Posts
    305
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by zipperolo View Post
    whereas before you couldn't, so if Sky UK uses NDS I'd certainly give it a try.
    Has anyone tried this? I don't trust my own findings :banghead:

  16. #16
    V.I.P snakie's Avatar
    Join Date
    Dec 2004
    Location
    FAUSTO - MASARE Team
    Posts
    814
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Not all nds cards are the same regardless the version they have, some use different read/write functions , different data baud rate after atr and some tend to burn when the reader has dirty vcc and not stabilised .
    So be really carefull with them.

  17. #17
    V.I.P gtg60's Avatar
    Join Date
    Feb 2009
    Posts
    305
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by snakie View Post
    So be really carefull with them.
    Thanks for the heads up, I've a few FTV cards spare so can experiment with them.

    If I just have MultiCAS enabled and am on the 'Slot 1 Information' page and enter one of my cards after about 10~15 seconds the card will Initialize and it displays it as NDS but it will not decode any of the channels.

    Is there something more I should be doing?

    @zipperolo
    What is your exact setup to get your cards working? Any help would be great, thanks!

  18. #18
    V.I.P
    Join Date
    Feb 2009
    Posts
    495
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thread is NewCS, not Multicas.
    So the Name said it all, what you can do, need NewCS and a Client like Mgcamd or Mbox

  19. #19
    V.I.P gtg60's Avatar
    Join Date
    Feb 2009
    Posts
    305
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by hanswurscht View Post
    Thread is NewCS, not Multicas.
    So the Name said it all, what you can do, need NewCS and a Client like Mgcamd or Mbox
    Sorry, yes, I have tried those too but without any luck, a little help would be great.

  20. #20
    V.I.P
    Join Date
    Feb 2009
    Posts
    495
    Thanks
    0
    Thanked 0 Times in 0 Posts
    there are some Stickys out, take a look at it please.
    If you have running both, all can help for special things

Page 1 of 2 12 LastLast

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
  •