zipperolo
16-05-2009, 09:39 AM
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:
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:
<?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>9ED52515321F04BCF7772151149D68951 54B559A8D825A4E7D7
11A9FAFD5C66BF64689501B254DF1832F 754C21095379CF97B4E5BE6E0F1C9CEBF 0A0E91D5ACD</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.
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:
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:
<?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>9ED52515321F04BCF7772151149D68951 54B559A8D825A4E7D7
11A9FAFD5C66BF64689501B254DF1832F 754C21095379CF97B4E5BE6E0F1C9CEBF 0A0E91D5ACD</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.